Hi all,
After creating the backup files both from my MySQL database and my online app, I'd like to backup them into my Windows office server.
For that purpose I came up with a script that does all of this but I can't get no copy at all of those files on the server.
Here is that bit of the script that I thought should have done that:
Code:
find -name 'bck*.tgz' -type f -mmin -10 -exec smbclient \\\sbs\\officeserv\\app_backups -u myuser@officeserv.local -p welcome123 -c "; prompt; put "{}"; exit" \;
If I run only the command
Code:
find -name 'bck*.tgz' -type f -mmin -10
it will actually return those two files, however I haven't been able to copy them to the server.
Can you help me?
Thanks