Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gaetanquentin opened this issue Feb 4, 2017 · 0 comments

Comments

@gaetanquentin
Copy link

gaetanquentin commented Feb 4, 2017

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

  • set automatically ro property to source before transfert
  • set automatically ro/rw property back to source after transfer
  • set destination property the same as source after transfer

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants