Skip to contentSkip to conversation

how to backup

DISCUSSION Lubos Kolouch 1 participant 1 message Mar 18, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello,

Say I have a btrfs-formatted disk with many subvolumes/snapshots.

How do I do backup (over network) ?

If I use just rsync, I will get many copies of the files (one for each snapshot).

So I would need to write a tool that would
- get listing of the subvolumes/snapshots
- somehow figure out which is which (snapshot of what is this one)
- somehow recursively create the subvolume, copy data, snapshot it, copy data etc.?

Thank you for your suggestions

Lubos