When using rsync for backups you could of course always backup /. But that's a bit crude and wasteful (of bandwidth and disk space).
For example, you wouldn't normally want to backup /dev or /tmp or /sbin or... But what directories, as a general rule, do you backup (without being wasteful)?
So far, I have the following dirs/files in my if you backup these, you're probably covered-list (for 99% of the FreeBSD installs):
Am I missing anything important? Could I do some things a little more fine-grained?
For example, you wouldn't normally want to backup /dev or /tmp or /sbin or... But what directories, as a general rule, do you backup (without being wasteful)?
So far, I have the following dirs/files in my if you backup these, you're probably covered-list (for 99% of the FreeBSD installs):
- /boot/loader.conf (I find myself putting a tunable in there in most installs)
- /etc (Duh)
- /root (root's homedir)
- /usr/home (Your people's homedirs)
- /usr/local (This is rather crude, but apart from /usr/local/etc and /usr/local/www a lot of chrooted programs go in here, like Postgres in /usr/local/pgsql or Resin in /usr/local/resin3, with all their data. And you never know which programs will be installed on average. On my installs I also have a backup dir in here containing *SQL server dumps.)
- /var (Also crude, but there IS a lot of stuff in here. Mails, passwd backups, logs, standard MySQL db/config-files location, ...)
Am I missing anything important? Could I do some things a little more fine-grained?