back on Sept 11, of 2010, several awesome Salix devs helped me to revise a back-up strategy using rsync which has been working ever since. The link to that extremely tedious thread is here: http://www.salixos.org/forum/viewtopic.php?f=16&t=1257
Using the solution from the above thread, I created for myself an instructional document, which I follow point-for-point when it is time to do a back-up. The document reads:
Code: Select all
----------------------------------------------------------------------------------
1) plug the destination drive in and MOUNT all partitions that appear on desktop
(should be two).
----------------------------------------------------------------------------------
2) identify which is the ROOT partition and which is the HOME partition. One will
be /media/disk and one will be /media/disk-1.
----------------------------------------------------------------------------------
3) Become root@darkstar with su -
----------------------------------------------------------------------------------
4) If ROOT partition is /media/disk-1, then run:
#rsync -avx / /media/disk-1
If ROOT partition is /media/disk, then run:
#rsync -avx / /media/disk
----------------------------------------------------------------------------------
5) If HOME partition is /media/disk-1, then run:
#rsync -avx --exclude=.gvfs --exclude=.gnupg /home/dennis/ /media/disk-1/dennis
If HOME partition is /media/disk, then run:
#rsync -avx --exclude=.gvfs --exclude=.gnupg /home/dennis/ /media/disk/dennis
----------------------------------------------------------------------------------
And now the point of all of this: The other day, after a few months worth of rsync back-ups, I decided to show a friend of mine how Meld Difference Viewer works. I plugged in sdb (the back-up) via enclosure, then compared each partition as corresponds to those on sda. They were not identical. What I found was that while any newly added or moved file on sda is getting copied to the corresponding location on sdb, the old file is not being removed. So, for instance, if I were to move /home/dennis/foo to /home/dennis/bar on sda, then run my rsync commands above, the result is that I now have both /home/dennis/foo AND /home/dennis/bar on sdb, where I should just have /home/dennis/bar.
This is problematic for obvious reasons. Please, how do I fix it?
Dennis in New Orleans