[OmniOS-discuss] Backup script (one local, multiple remote snapshots)

Richard Elling richard.elling at richardelling.com
Sat Jan 21 18:00:31 UTC 2017



> On Jan 21, 2017, at 8:07 AM, Dale Ghent <daleg at omniti.com> wrote:
> 
> We developed Zetaback for this.

+1 for zetaback. There are perhaps hundreds of implementations of this over the years. I think you'll find that zetaback is one of the best designs.

  -- richard

> As for how you exactly want your snapshots to be in number and how long they should stay around, you might be able to configure a backup policy which covers that.
> 
> https://github.com/omniti-labs/zetaback
> 
> The documentation is perdoc within the zetaback script.
> 
> /dale
> 
>> On Jan 21, 2017, at 8:33 AM, Matej Žerovnik <matej at zunaj.si> wrote:
>> 
>> Hello,
>> 
>> I would like to implement backup for one of my servers with zfs send/recv. My scenario would be the following:
>> 
>> For each dataset:
>> - keep one daily snapshot on src server
>> - copy daily snapshot from src server to backup server
>> - on backup server, I would like to have one daily, one weekly and one monthly snapshots
>> 
>> I checked out some ZFS backup scripts I found on GitHub, but non of them did that I wanted (znapzend came close, but it keeps too many snapshots for my case)
>> 
>> Does anyone has anything like that implementented? If yes, would be willing to share?
>> 
>> Thanks, Matej
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list