Hi, I am currently testing FreeNas 0.686b1 RSYNC Client for some regular backup testing of large files.
I have setup a DeltaBackup server on my local machine to run as a Server and assigned relevant local share for storage, as well as running as a client for other tests.
I've also setup Freenas with CIFS/SMB and added relevant user details, etc to see access (but there is a problem with authentication in 0.686b1). Anyway, i've enabled RSYNCD on FreeNas as a Client and setup correct details for server (IP, Local share on Server, etc) to point to my DeltaBackup Server, along with pointing to correct local shared directory/partition on freenas for synchronising.
Upon synchronisation, only the files STORED on DeltaBackup server are copied to the FreeNas shared directory instead of the other way round. No files on freenas are copied to my deltaback server, so it seems that the RSync Client on freenas appears to work only one way (similar to a server).
I've ran another test by connecting via local shell on freenas to delete a file within the shared dir, but it gets re-copied from the DeltaBackup Server to freenas on the next schedule.
I've also performed the same test on earlier versions (from 0.68 to 0.685RC1) and the fault remains on these also.
Running Deltabackup on my local machine as a client to sync to another Deltabackup server uses the command below for the client.
rsync.exe -v -rlt -z --delete "/cygdrive/C/My Documents/Personal/" "TestServer::Backup/Personal/"
this basically performs a Backup to the server and removes any files which are on the server but no longer (or do not exist) on the client, which is exactly how I would like to run the client on Freenas.
Is this how FreeNas Client should work? or am I missing some other parameters for access? (enabling RSYNC server on freenas doesn't make any difference either).
Also, using the parameter "delete files that don't exist on sender" deletes ALL the files on the FREENAS SERVER if they don't exist on my deltabackup server, so what is the purpose of the command if the sender is Freenas?
Thanks
John
Logged In: YES
user_id=1512153
Originator: NO
Hi John
This is not a bug, this is the way RSYNC Client works on FreeNAS, the client will get data from the server only.
You can't use the RSYNC Client as a sender.
For any other questions about RASYNC on FreeNAS please use the forum.
Regards,
Dan
Logged In: YES
user_id=1938792
Originator: YES
Hi Dan,
Thank you for your comments. I've re-done some tests using your info and can confirm it works the way you mentioned. I just thought it a bit strange because the DeltaBackup client works the opposite way by uploading to a RSYNC server (such as my freenas testbox) while the DeltaBackup Server "accepts" data from an RSYNC client, which was what I was trying to achieve by transferring data from a FreeNas share to a Windows client for Disaster Recovery purposes (and because I cannot hot-swap USB on Freenas without crashing it).
I can't see any similar posts via the forum for my solution and wonder if you have any suggestions to perform something similar where I use FreeNas to "download" regular changes from a main server, then get a windows client to "download" from FreeNas also on a regular basis (preferably with RSYNC due to the file sizes involved).
Kind Regards
John
Logged In: YES
user_id=1512153
Originator: NO
Hi John
If you can't find answers to your question's, you can start a new tread for your questions.
Please keep your questions simple.
Regards,
Dan