Welcome to the most active Linux Forum on the web.
Go Back > Blogs > neonsignal
User Name


Rate this Entry

backups using rsync

Posted 05-09-2011 at 09:44 AM by neonsignal
Updated 05-09-2011 at 09:46 AM by neonsignal

The beauty of using rsync as a backup tool is that the backup is in a plain old directory structure, so there is a lot less to go wrong in a recovery process (and many ways to do the recovery).

The simplest rsync just makes a mirror of a directory structure:
rsync -a --del src dst
Or across a network using ssh:
rsync -a --del src server:dst -e ssh
The link-dest flag can be used to set up a simple snapshot backup system, where file versions common to multiple snapshots are hard linked to the same file to save space:
rsync -a --del --link-dest=../oldbackup src server:newbackup -e ssh
Posted in Uncategorized
Views 394 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 09:55 AM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration