hi all,<br /><br />have trawled the net for a simple backup php script that I can run using CRON but cannot find anything that suits my needs - i am no PHP expert but would like something fairly simple to modify - a script that can, via CRON, backup my public_html directory and save the result as a zip file. <br /><br />aaaaaaaaaaany volunteers? <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Apparenty you did not <a href="http://www.google.com/search?q=php+backup+script&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-USfficial" target="_blank">google </a>for a script.<br /><br />Here is one <a href="http://www.webdesignforums.net/archive/index.php/t-12957.html" target="_blank">PHP backup script</a><!--content-->
i did, i did, but couldnt find a simple one - will try this one and see if i can get it to work, thanks!<br /><br />one more question: when setting the time in cpanel for the cron job - what time zone is the server in/set to?<!--content-->
Eastern time. Right now EDT.<!--content-->
thanks!<!--content-->
right, i get these errors, eventhough the file is created fine, and i am able to unzip it once downloaded.<br />still, it would be nice to get a 'clean' cron execution message and not this messy one. can anyone hint me toward what might be causing this?:<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->tar: WysiwygPro: Cannot savedir: Permission denied<br />tar: Error exit delayed from previous errors<br /><br />bunzip2: Control-C or similar caught, quitting.<br />bunzip2: Deleting output file BU_20060722.tar.bz2, if it exists.<br />mv: cannot stat `BU_20060722.tar.bz2': No such file or directory<!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
Apparenty you did not <a href="http://www.google.com/search?q=php+backup+script&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-USfficial" target="_blank">google </a>for a script.<br /><br />Here is one <a href="http://www.webdesignforums.net/archive/index.php/t-12957.html" target="_blank">PHP backup script</a><!--content-->
i did, i did, but couldnt find a simple one - will try this one and see if i can get it to work, thanks!<br /><br />one more question: when setting the time in cpanel for the cron job - what time zone is the server in/set to?<!--content-->
Eastern time. Right now EDT.<!--content-->
thanks!<!--content-->
right, i get these errors, eventhough the file is created fine, and i am able to unzip it once downloaded.<br />still, it would be nice to get a 'clean' cron execution message and not this messy one. can anyone hint me toward what might be causing this?:<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->tar: WysiwygPro: Cannot savedir: Permission denied<br />tar: Error exit delayed from previous errors<br /><br />bunzip2: Control-C or similar caught, quitting.<br />bunzip2: Deleting output file BU_20060722.tar.bz2, if it exists.<br />mv: cannot stat `BU_20060722.tar.bz2': No such file or directory<!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->