Jump to content



  • Please log in to reply
1 reply to this topic

#1 Twentyoneth

  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 08 March 2006 - 01:22 AM

What would be the best way to go about making a backup of an entire site, downloaded to c:\ with php?

#2 txmedic03

  • Members
  • PipPipPip
  • Advanced Member
  • 313 posts
  • LocationCall, TX, USA

Posted 08 March 2006 - 10:01 PM

Use FTP. If you download it via HTTP you don't get all the PHP that was processed before it hit your client. I am sure there is probably an automated program out there that downloads an entire site through FTP for the windows platform, but I don't know what it is. On linux I use crontab to setup a scheduled event and everyday at 1AM my system backs up my clients' sites with wget. You do not want to use PHP because it would have to be on the local system or you would have to have an FTP server on the local system for it to send the files to and you would have to load the PHP file in a browser or use a command line execution. Either way using PHP for this tak would more then likely be counter productive in your case.


I can't stop you from doing something silly, but at least I can help you do it right.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users