Jump to content

Archived

This topic is now archived and is closed to further replies.

Twentyoneth

Backup

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.