brad_langdon Posted September 28, 2009 Share Posted September 28, 2009 Does anyone know how to scheduale an automatic backup of a server? Dreamhost lets you backup once a month... I want to automatically back up every day and save the backup on my hard drive. I have heard of "cron jobs" would this be the way? I searched this forum but couldn't find a suitable answer. Quote Link to comment https://forums.phpfreaks.com/topic/175743-automated-backup/ Share on other sites More sharing options...
RussellReal Posted September 28, 2009 Share Posted September 28, 2009 you can make a cron job to add all the files you're intending to backup.. into a zip file, then if you installed some ftp server on your computer at home you can connect to that ftp server and send the zip file to your computer reference: ftp_connect ZipArchive-Open Note: ZipArchive::open is correct.. the above depiction is simply to make a valid link Quote Link to comment https://forums.phpfreaks.com/topic/175743-automated-backup/#findComment-926138 Share on other sites More sharing options...
brad_langdon Posted September 28, 2009 Author Share Posted September 28, 2009 Thanks I am new to cron though... does it accept normal php code or is it it's own language? Also those links look very messy... do you of any tutorials you could point me to? I have an FTP client on my computer of course but I am guessing that is obviously not the same thing as an FTP Server. Sorry this side of things is new to me. Quote Link to comment https://forums.phpfreaks.com/topic/175743-automated-backup/#findComment-926139 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.