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

How do you control when snapshots are taken #49

Closed
gnordli opened this issue Dec 31, 2019 · 2 comments
Closed

How do you control when snapshots are taken #49

gnordli opened this issue Dec 31, 2019 · 2 comments

Comments

@gnordli
Copy link

gnordli commented Dec 31, 2019

Hi
Right now with my home brew scripts I schedule snapshots at night for VMs and the file system datasets are taken hourly during business hours.

I replicate file system datasets during the day, but the VMs are all synced at night. Can I configure that with pyznap?

Also, can I configure the snapshot name?

Thanks,
Geoff

@yboetz
Copy link
Owner

yboetz commented Jan 1, 2020

You can simply create a second config file for the VMs and specify the nightly snapshots + send/recv in that file. Then create another cronjob with pyznap --config=/etc/pyznap/other-config.conf snap or pyznap --config=/etc/pyznap/other-config.conf send to specify when you want to take snapshots and sync them.

The snapshot names are not configurable.

@gnordli
Copy link
Author

gnordli commented Jan 1, 2020

That makes sense.
Also, I see that the windows previous versions are working with the current snap names. That was my reason to change the names. #41
thanks!!
Geoff

@yboetz yboetz closed this as completed Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants