On Tue, Aug 07, 2007 at 04:43:56AM -0600, Karl Larsen wrote:
Here is the most basic use of rsync to perform backup of your
computer.
This is very easy to understand and that is why I did it. Below is a bash
file that calls rsync with the -avg filters and it sets up the things to be
backed up. I stopped backing up /sys because it has some things that do not
want to be copied.
# This is the rsync bash file for root
rsync -avg /home/ /media/disk/
-g is already included with -a.
# rsync -avg /sys /media/disk/
/sys is dynamically created by
the kernel, like /proc. Ignore it.
Attached I send the script that I use for backups. It uses the
--link-dest option of rsync to keep the last 15 backups.
--
lfr
0/0