I'm looking for a backup tool for ext4, which can take a copy from a running fs like /var with no collisions 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 repository 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.
Asked
Active
Viewed 1,288 times
1 Answers
0
It's not a dump tool but I use rsync
which allows incremental backups between 2 filesystems on a running system.
for example rsync -aSXvH /srcdir /target_dir

JJ.
- 5,425
- 3
- 26
- 31
-
Thanks, i'll try it a bit later. Does it support deltas? – tijagi Aug 23 '11 at 16:21
-
Yes - it will only sync what has changed since the last sync. – JJ. Aug 23 '11 at 16:22
-
But it doesn't suit in that case. If a directory always updates, a snapshot will have collisions while rsync. – tijagi Aug 25 '11 at 15:18
-
Explain what you want more clearly and you may get more help. – JJ. Aug 25 '11 at 16:33