Jump to content

Automated Backup


brad_langdon

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/175743-automated-backup/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/175743-automated-backup/#findComment-926138
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/175743-automated-backup/#findComment-926139
Share on other sites

Archived

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

×
×
  • Create New...

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.