Hello,
Here's my question:
I have HD that I share on smb and another HD that I share on ftp. I would like to make a copy of one to the other once a day.
I had thus set up a command to be repeated which allowed me to make a copy by changing the rights and the owner which was this one:
Code
cp -a /srv/dev-disk-by-label-LOCAL/SHARE_LOCAL/* /srv/dev-disk-by-label-EXT/SHARE_EXT; chown -R :adm /srv/dev-disk-by-label-EXT/SHARE_EXT/*; chmod -R 775 /srv/dev-disk-by-label-EXT/SHARE_EXT/*
and vice versa to make the copy the other way around.
But I feel like when there's too much data to transfer it doesn't transfer everything.
I had thought of using rsync associated with crontab to make the backup but my 2 HD are on the same NAS so I think it's not very useful.
I'm coming to you to see if there is another method to make a recursive copy from one HD to another on the same NAS.
Thanks you for your help