On Fri, Apr 24, 2015 at 6:52 PM, <[email protected]> wrote:

> Hi Micky,
>

Hi there


> Thanks for making bzman available.
>  'bzman -r $recipient --db=$bzmanpath/$fs  >/dev/null 2>&1'
> it sends the whole database records, however, I am interested only in the
> last backup case. Is there an option to send the latest backup info, or
> should I trim the database?
>

You can do so by replacing -145 in line# 782
<https://github.com/bassu/bzman/blob/master/bzman#L782> with -2 and it'll
only show the last two replications.


> Second, when running  zfs_snap_cleanup.sh through cron, specifically
>   in other words, delete the snapshots
> on the smartos server only? I can take care of the old snapshots on
> ubuntu separately.
>

The snapshot rotation algorithm uses an option called "snapkeep" at line# 61
<https://github.com/bassu/bzman/blob/master/bzman#L61> that indicates the
number of latest snapshots to keep at both sending and receiving sides at
any given time.
If you don't want to have it remove older snapshots at the receiving side,
comment out the line# 673 and 672
<https://github.com/bassu/bzman/blob/master/bzman#L673>.



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to