Re: rsync backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luciano Rocha wrote:
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.


I am weak on bash script but will keep your script and try to understand how it works. I am interested in why you keep the last 15 incremental backups in files away from the main backup.

--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux