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?