KaOtiC MiNd
12-03-2002, 09:26 PM
Can someone quickly write a script that i can setup with crontab..
i need it to `tar -cf /home/admin/backup.tar /home/sites/` then FTP /home/admin/backup.tar to ftp.server.com , user, pass, dir/backup-$TODAYS_DATE.tar............ill specify the ftp info once i get it, but please help people,i could do this in PHP but i dont know of any way to run it , as to crontab can just `perl /dir/to/this/script.pl`
---thx everyone, if you need i can hook you up with hosting, 100mb, 2gb tansfer (no free domain, sorry) unlim ftp, subdomains, cgi/php, etc.
===============MODS===============
I wasnt sure what forum to put this in, so please move it if its not in the right one :):-D
i need it to `tar -cf /home/admin/backup.tar /home/sites/` then FTP /home/admin/backup.tar to ftp.server.com , user, pass, dir/backup-$TODAYS_DATE.tar............ill specify the ftp info once i get it, but please help people,i could do this in PHP but i dont know of any way to run it , as to crontab can just `perl /dir/to/this/script.pl`
---thx everyone, if you need i can hook you up with hosting, 100mb, 2gb tansfer (no free domain, sorry) unlim ftp, subdomains, cgi/php, etc.
===============MODS===============
I wasnt sure what forum to put this in, so please move it if its not in the right one :):-D
