LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs > neonsignal
User Name
Password

Notices

Rate this Entry

backups using rsync

Posted 05-09-2011 at 08:44 AM by neonsignal
Updated 05-09-2011 at 08: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:
Code:
rsync -a --del src dst
Or across a network using ssh:
Code:
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:
Code:
rsync -a --del --link-dest=../oldbackup src server:newbackup -e ssh
Posted in Uncategorized
Views 376 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:35 AM.

Main Menu

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