Migrating data from a backup server back to my primary server after rebuilding a pool. I'm using Rsync and when I set up an Rsync module on MainServer/MainPool/Dataset1 and execute a Push task on my backup server to copy from BackupServer/BackupPool/Dataset1 to that module the items end up copied to:
MainServer/MainPool/Dataset1/Dataset1
I did some research and found the / modifier can prevent Rsync from creating this extra folder. Sounds good, except when I enter / in the Additional Parameters section in the GUI it ends up copying the intended folders as well as invisible folders I did not create, like "bin" "boot" "compat" "data" "dev" etc... I recognize most of these as Unix system folders so I'm not shocked to see them, but why are they getting copied? More importantly, what can I do to copy all my data direct to /MainServer/MainPool/Dataset1 without the sub-folder and without these extra folders?
I can manually move the files out of the sub-folder of course but I want to reverse this task once my main system is rebuilt so my backup server can keep updated copies of new files on the main server and if Rsync is always going to create folders of folders, this is going to get complicated...
MainServer/MainPool/Dataset1/Dataset1
I did some research and found the / modifier can prevent Rsync from creating this extra folder. Sounds good, except when I enter / in the Additional Parameters section in the GUI it ends up copying the intended folders as well as invisible folders I did not create, like "bin" "boot" "compat" "data" "dev" etc... I recognize most of these as Unix system folders so I'm not shocked to see them, but why are they getting copied? More importantly, what can I do to copy all my data direct to /MainServer/MainPool/Dataset1 without the sub-folder and without these extra folders?
I can manually move the files out of the sub-folder of course but I want to reverse this task once my main system is rebuilt so my backup server can keep updated copies of new files on the main server and if Rsync is always going to create folders of folders, this is going to get complicated...