I'm looking for a backup tool for ext4, which can take a copy from a running FS like /var with no collisions in system after recover such FS. I know BSD dump has an '-L' option, which tells him to work on a snapshot. But nor dump nor dumpe2fs from repositories have such option. I've read about a patchset for ext4 providing snapshot support, but replies about it are very different, so i'm here to ask about your experience with this patches.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
I have a nightly cron job that does just that, using a 5 level tower of hannoi backup pattern. This means I only have to do a full backup every several months when I feel like the level 1 dumps dumps are getting too large. Level 1 dumps are made on the 1st and 17th of the month.
|
|||||||||||||
|
|
Have you considered RSync for this purpose? There is a really great article here on how to setup snapshot-style backups with rsync in linux from scratch. Another alternative, also based on rsync, but a little more baked, is rsnapshot. |
|||||||
|