Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.