mhaney at ercbroadband.org
Tue Dec 2 15:56:49 UTC 2008
OOzy Pal wrote:
> I need to move big files from one remote server to other remote
> server. I think I can do this by cron jobs. The urls for the backup
> data is for example
> I do
> wget -c -t 999 www.xyz.com/file1.tar
> wget -c -t 999 www.xyz.com/file2.tar
> How can I make a cron job to automatically move these files between
> the two servers.
You've got lots of options here. Some have suggested rsync, which I
endorse, (using SSH of course), others have said just throw this in a
cron job. That works too.
However, for me, when I need something like this done, I prefer to throw
these lines in a script and have cron execute the script at the set
time. That way, you don't have to edit the cron job for minor changes,
and you can add additional file copies to the script and have those
executed when cron runs the script.
Frustra laborant quotquot se calculationibus fatigant pro inventione
Sr. Systems Administrator
Call (866) ERC-7110 for after hours support
More information about the ubuntu-users