Jump to content

Site/folder Backup Php Script


llama_thumper

Recommended Posts

hi all,

 

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.

 

aaaaaaaaaaany volunteers? :tchrocks:

Link to comment
Share on other sites

right, i get these errors, eventhough the file is created fine, and i am able to unzip it once downloaded.

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?:

 

tar: WysiwygPro: Cannot savedir: Permission denied

tar: Error exit delayed from previous errors

 

bunzip2: Control-C or similar caught, quitting.

bunzip2: Deleting output file BU_20060722.tar.bz2, if it exists.

mv: cannot stat `BU_20060722.tar.bz2': No such file or directory

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...