Duplication & Rsync issues...

Status
Not open for further replies.

wtfR6a

Explorer
Joined
Jan 9, 2016
Messages
88
I want to migrate data from an old FreeNAS system to a new FreeNAS machine. Volume duplication as far as I can see produces only a read only backup of the data which isn't much use in respect to decommissioning the old system.
Rsync has the bug where windows shares copy the directories but not the files within.
Is there a tweak/best-practice/other way to allow me to undertake this migration quickly and safely?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
zfs replication is usually the tool people use for this.
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
I want to migrate data from an old FreeNAS system to a new FreeNAS machine. Volume duplication as far as I can see produces only a read only backup of the data which isn't much use in respect to decommissioning the old system.
Rsync has the bug where windows shares copy the directories but not the files within.
Is there a tweak/best-practice/other way to allow me to undertake this migration quickly and safely?
Rsync will work; you just have to avoid the problematic command-line options. See these two threads here on the forum:
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Replication doesn't make anything read-only if you use zfs send and receive.

Sent from my Nexus 5X using Tapatalk
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
Replication doesn't make anything read-only if you use zfs send and receive.

FreeNAS is setting ZFS property readonly=on on datasets at destination side [...] if one uses the GUI to accomplish the replication task.

See for example the bottom of this page.
https://bugs.freenas.org/issues/15011

This feature was introduced in Feb 2016, as far as I remember.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
FreeNAS is setting ZFS property readonly=on on datasets at destination side [...] if one uses the GUI to accomplish the replication task.

See for example the bottom of this page.
https://bugs.freenas.org/issues/15011

This feature was introduced in Feb 2016, as far as I remember.
Not if you just use zfs send and receive from the command line.

Sent from my Nexus 5X using Tapatalk
 

wtfR6a

Explorer
Joined
Jan 9, 2016
Messages
88
Thanks guys, some things to look into for sure. I have tried to avoid using the command line not because I'm not comfortable with it but for fear of disrupting some GUI / appliance thing.

My preference was to use rsync as it can send over the SSH session unencrypted/decompressed which maximizes throughput but happy to use ZFS replication if it works too. I'll work through the above links and info, thanks again.
 
Status
Not open for further replies.
Top