I would like to copy all paritions from computer1 to a directory on a backup partition on computer2 except for /proc /tmp /usr/home (but still copy the rest of /usr).
I have been dealing with this problem all day and have a few backups but would like to rsync the ENTIRE system over to a remote directory, just to play it safe.
my paritions are this;
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 252M 93M 138M 40% /
/dev/da0s1e 1008M 140K 927M 0% /tmp
/dev/da0s1g 301M 179M 99M 64% /oldusr
/dev/vinum/usr 90G 4.8G 78G 6% /usr
/dev/da0s1f 5.9G 630M 4.8G 11% /var
procfs 4.0K 4.0K 0B 100% /proc
second:/usr/home 56G 49G 2.1G 96% /usr/home
Again, I'd like to copy all but(!) /tmp /proc /usr/home
and within / I have no need to copy /dev
So far, this is what im considering using at the cmd line;
rsync -arzlpxP --exclude=/dev/* / email@example.com:/backup
what are your thoughts?