[zfs-discuss] using syncoid with sanoid

Xiaoyu Hu samuel.xhu at gmail.com
Tue Feb 6 08:18:26 EST 2018


Hi, Todd,

Just curious, what is the main reason that you want to change from Zrep. I
am using Zrep now, just wonder whether i am under some unknown risks or not.

thanks,
Samuel

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Feb 6, 2018 at 2:14 PM, Todd Pfaff via zfs-discuss <
zfs-discuss at list.zfsonlinux.org> wrote:

> I had looked at znapzend a couple of years ago before I began using zrep
> but hadn't revisited it recently when I started looking at switching to
> sanoid.
>
> I have two pairs of zfs storage systems that I want to migrate from zrep
> to something else.  I'm running sanoid-syncoid on one of those pairs now. I
> may try znapzend on the other and see which I prefer.
>
> Thanks,
> Todd
>
>
>
> On Tue, 6 Feb 2018, Felix Nielsen wrote:
>
> Hi
>> You should also look at : http://www.znapzend.org/
>>
>> It is very nice
>>
>> Felix
>>
>> Sent from my iPhone
>>
>> On 6 Feb 2018, at 02.35, Todd Pfaff via zfs-discuss
>> <zfs-discuss at list.zfsonlinux.org> wrote:
>>
>>       I'm in the process of migrating from zrep to sanoid/syncoid for
>>       managing zfs snapshots, for backups and replication.
>>
>>       Until now I have been using zrep to replicate from a primary to
>>       secondary zfs storage system, with backups being done via rsync
>>       to another backup storage system.
>>
>>       My goal now is to use sanoid to maintain snapshots for backups
>>       on the primary storage system, and syncoid to replicate all this
>>       to the secondary storage system.
>>
>>       At this point I've configured sanoid on the primary and it's
>>       producing snapshots according to the template I've configured.
>>
>>       Now I want to bring syncoid into the mix and begin syncing to
>>       the secondary. My question to other experienced sanoid users
>>       here is if and how they doing what I'm trying to achieve here.
>>
>>       Do you simply run syncoid regularly from cron? How often? How
>>       does syncoid behave if a new run starts before the previous has
>>       ended?
>>
>>       Is this an appropriate syncoid command line to use to push-sync
>>       from primary host h1 to secondary host h2?
>>
>>        [root at h1 ~]# syncoid --no-stream --no-sync-snap -r pool h2:pool
>>
>>       My assumptions here are that I can recursively sync all zfs
>>       datasets in zfs pool "pool", I should use --no-sync-snap since I
>>       already have sanoid snapshots, and I should use --no-stream
>>       since replication can be done from the most recent sanoid
>>       snapshot.
>>
>>       Does this all make sense or am I misinterpreting anything?
>>
>>       Thanks,
>>       Todd
>>       _______________________________________________
>>       zfs-discuss mailing list
>>       zfs-discuss at list.zfsonlinux.org
>>       http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>>
>>
>>
>> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20180206/071d6869/attachment.html>


More information about the zfs-discuss mailing list