llama_thumper Posted August 7, 2003 Posted August 7, 2003 i have this command: /usr/bin/php -q /home/redonet/public_html/ but get this error: No input file specified. what do i do? btw, the script is supposed to run a cron job to backup my entire site... anyone? many thanks, piotr Quote
surefire Posted August 7, 2003 Posted August 7, 2003 Currently, you are pointing the server to your public html folder... but no specific file or script. So, if the name of the script is "thingy.php" and is in the folder called "backup" then your cron might look like /usr/bin/php -q /home/redonet/public_html/backup/thingy.php Quote
llama_thumper Posted August 15, 2003 Author Posted August 15, 2003 ah... i see.... any idea where i can get myself a simple backup script? Quote
TCH-Rick Posted August 15, 2003 Posted August 15, 2003 You might try looking at hotscripts.com and see what is there. We also discussed a simple script for emailing a copy of a backup of a MySQL db some time back called dbsender. It's a nice script if you just want the backup of a forum db or Movable Type db. I provided instructions on how to set it up and create a cron job to run it each night. Check out this thread on backing up your database for more on this script. Quote
llama_thumper Posted October 5, 2003 Author Posted October 5, 2003 no luck... or at least i cant get them to run... can anyone advise me of a simple php backup script they are using, to backup directories and not just the databases? thanks, piotr Quote
DarqFlare Posted October 6, 2003 Posted October 6, 2003 Hm. Not sure how to backup the site. I'd be interested in that myself. I actually run a mysqldump command every night on my websites that creates an SQL file in a folder on the site for an extra backup. I know that does nothing if all of the data on the server is lost, but maybe I'll also add in a PHP script that grabs the file and emails it to me, or something... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.