AmesCornish / buttersink

Buttersink is like rsync for btrfs snapshots
GNU General Public License v3.0
195 stars 18 forks source link

setting automatically ro property to source, and keep source property to destination #37

Open gaetanquentin opened 7 years ago

gaetanquentin commented 7 years ago

instead of creating new ro snapshots, and to keep rw property to destination, could it be possible to :

so that: we can recursively transfer snapshots. for the moment, as destination snapshots are ro, we can't recursively transfer snapshots into other snapshots.

this:

btrfs sub list -qu --sort ogen /source_dir /| awk '{ print $13}' | while read X; do echo $X; buttersink $X ssh://root@server${X%/*}; done

won't work if there are nested snapshots.