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

Backup mode with recursive subvolumes #159

Open
maximilianpohle opened this issue May 19, 2020 · 2 comments
Open

Backup mode with recursive subvolumes #159

maximilianpohle opened this issue May 19, 2020 · 2 comments

Comments

@maximilianpohle
Copy link

Hi,

I'm trying to backup my dataset from my backup server.
No problem with zrep -S -f server01_pool2/kvm.

When I use zrep refresh no subvolumes are transferred.
Is it already possible to backup recursive with zrep refresh?

Thanks.

@ppbrown
Copy link
Member

ppbrown commented May 19, 2020 via email

janvrany added a commit to janvrany/zrep that referenced this issue Feb 25, 2022
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
@ppbrown
Copy link
Member

ppbrown commented Feb 26, 2022

please check latest to see if this fixes things for you

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