NFS Share and Rsync

Status
Not open for further replies.
Joined
Feb 1, 2017
Messages
1
I am using the latest FreeNAS on one of their boxes. I am trying to set up rsync backup on another server to the NFS share I created in FreeNAS. I can get it to work although it randomly quits part way through the rsync backup, but the bigger issue is it is trying to save the permissions so I can restore from it but it can't set the UID and GID properly as the Users and Groups on the linux box don't exist on the FreeBSD FreeNAS box. What am I missing to get this implemented? Thanks
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
I am using the latest FreeNAS on one of their boxes. I am trying to set up rsync backup on another server to the NFS share I created in FreeNAS. I can get it to work although it randomly quits part way through the rsync backup, but the bigger issue is it is trying to save the permissions so I can restore from it but it can't set the UID and GID properly as the Users and Groups on the linux box don't exist on the FreeBSD FreeNAS box. What am I missing to get this implemented? Thanks
Rsync can be quirky beast... I posted a couple of write-ups on it here; hopefully they'll give you some ideas:

https://forums.freenas.org/index.ph...rmissions-support-for-windows-datasets.43973/
https://forums.freenas.org/index.php?threads/easy-rsync-task-creation.46373/
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
the bigger issue is it is trying to save the permissions so I can restore from it but it can't set the UID and GID properly as the Users and Groups on the linux box don't exist on the FreeBSD FreeNAS box
Tell rsync to use numeric IDs.
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Full details on rsync are available at samba.org.
 
Status
Not open for further replies.
Top