Twentyoneth Posted March 8, 2006 Share Posted March 8, 2006 What would be the best way to go about making a backup of an entire site, downloaded to c:\ with php? Quote Link to comment https://forums.phpfreaks.com/topic/4393-backup/ Share on other sites More sharing options...
txmedic03 Posted March 8, 2006 Share Posted March 8, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/4393-backup/#findComment-15572 Share on other sites More sharing options...
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.