On 10/26/2016 04:57 PM, MrRakeshsank . wrote:
> for eg: hourly snapshot at 15 mins after the hour.
> daily snapshot at 1:15am
> weekly on sundays at 1:15am
> 
> how can I do it with zfs-auto-snapshot or any other similar tools?

I'm not super-familiar with zfs-auto-snapshot, especially on Illumos
(which I'm assuming you're using), but I think you just need to call it
several times, with different --label values.

Something like this in crontab:
15 * * * * root zfs-auto-snapshot --label=hourly ...
15 1 * * * root zfs-auto-snapshot --label=daily ...
15 1 * * 7 root zfs-auto-snapshot --label=weekly ...

-- 
Richard


-------------------------------------------
openzfs-developer
Archives: https://www.listbox.com/member/archive/274414/=now
RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c
Powered by Listbox: http://www.listbox.com

Reply via email to