Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I want to keep a relatively fresh backup of my dual-boot laptop onto a 2tb NAS box that I connect to through NFS. I've done all my backups with dd so far and that works great if it's a one time backup only but an incremental, updated one won't work with that. Rsync seems to be the best tool for this but it's a bit complicated. So far, by reading the manual I've got this:
Does this look right? I'm not entirely sure about the -HAX and the link preservation. What I want to be able to do eventually is to be able to copy both the XP partition and the linux one onto the box, do incremental updates on them and if something breaks, be able to reverse the backup into the original partitions.
At the very least be able to fully copy the XP partition and it's data (binaries and configuration), the linux partition's binaries and configuration and if need be, somehow reinstall the particular distro and copy the binaries and confs into it.
I understand what you mean about figuring out rsync. The command is so versatile and has so many possible arguments that finding the right combination can be overwhelming.
For backing up my own laptop, I use something much simpler:
Code:
rsync -a /[source] /[target]
I've found that adequate for my needs as a home user.
Rsync is definitely complicated. Do your backups work in reverse? Meaning, in case of file corruption or disk failure, would you be able to do rsync /[destination] /[source] and have a working system? Or would you have to transfer all your data by hand? Also, without --delete doesn't your incremental backup get larger with files that don't exist in the source anymore?
Also, without --delete doesn't your incremental backup get larger with files that don't exist in the source anymore?
That's precisely why I don't use delete mode. Files I may no longer need on my laptop can stiff be found on my file server. There's ample HDD space over there.
Every six months or so, I go through the backups and clean out the dustbunnies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.