Is rsync better candidate for backup compared to tar?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mondo Rescue backs up your file system to CD, tape, NFS (archives stored remotely) or ISO's (archives stored locally). Mondo uses afio as the backup engine; afio is a well-respected replacement for tar. In the event of catastrophic data loss, you may restore some or all of your system, even if your hard drives are now blank. Mondo Rescue can do a lot of other cool things:
- You can use Mondo to clone an installation of Linux. Just backup the crucial stuff and exclude /home, /var/log, etc.
- You can backup a non-RAID file system and restore it as RAID including the root partition (if your kernel supports that).
- You can backup a system running on one format and restore as another format.
- You can restructure your partitions, e.g. shrink/enlarge, reassign devices, add hard drives, etc, before you partition and format your drives. Mondo will restore your data and amend /etc/lilo.conf and /etc/fstab accordingly.
- You can backup Linux/Windows systems, including the boot sectors. Mondo will make everything right at restore-time. (However, do run "Scandisk" when you first boot into Windows, just in case.)
- You can use your Mondo backup CD to verify the integrity of your computer.
Dear all,
I would like to add one more point in this nice discussion.
I was looking at the hard disk costs and I have found that hard disk costs are quite low these days (in other words not too expensive if you think how crucial my data are)
So the question then is
How about if I have an external hard disk of 3TB and having rsync running once per week? (like Sundays) and rsyncing my system to the external hard disk. If I am not wrong this will create on external hard disk a cloned version of my system. Would not that be true?
B.R
Alex
have you considered an image backup with dd ?
Code:
dd bs=8192 if=/dev/sdd | bzip2 > xbmc-01.05.2011.iso.bz2 # to create the image
bunzip2 -c ./xbmc-01.05.2011.iso.bz2 | dd bs=8192 of=/dev/sdd # to restore the image
If you have a large harddisk making backups with dd to external devices (unless you use USB 3.0) will become quite unhandy, since the large amount of data will be transferred very slowly.
dd is a valid point too. If I have the backup running every Sunday that would be ok I think.
I was also thinking of rsnapshot tool (or anything else that is based on rsync-philosophy), which provides also the notion of "cycles". I am not sure though where cycles could be useful and if I really need those.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.