forked from bolthole/zrep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for recursive (
ZREP_R=-R
) refresh
This commit add support for recursive `zrep refesh`. If `ZREP_R` is set to `-R`, `zrep refresh` will pull all nested filesystems just like `zrep sync` would do. This is implemented by * adding new (secret) top-level command - `_refreshsnap` that takes `-R` option to indicate that `-r` should be used when taking snapshot on source machine. * fixing (existing, secret) `_refreshpull` to recognize `-R` option to indicate full replication stream should be generated * fixing `zrep_refresh()` to pass `-R` to `_refreshsnap` and `_refreshpull` when `ZREP_R` is set. IIUC, this fixes issue bolthole#159
- Loading branch information
Showing
3 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters