That sense of panic can be minimized by knowing you've got a very recent backup to rely on just in caseAm I the only one who feels a sense of panic when your forum goes down?
My host does an automatic back-up once a day. I just upgraded to every 12 hours.That sense of panic can be minimized by knowing you've got a very recent backup to rely on just in case
Never rely on your hosting provider for backups. Do your own and save them off the hosting platform.My host does an automatic back-up once a day. I just upgraded to every 12 hours.
What is the best (efficient / easy) way to do that? Thanks.Never rely on your hosting provider for backups. Do your own and save them off the hosting platform.
There have been plenty who did rely on their host to do backups, but those restores failed.
For me (since I am on a VPS) I simply have scripts (that run via VPS CRON jobs) that dumps the database and then backups it and the site files up and places them in a central repository on the VPS. I then have automation on my Mac desktop that connects to the VPS and synchronizes that directory with my local directory on the Mac. After that is done I have infrastructure in place that synchronizes those files to a local NFS share on a Dell server in my computer room and then also to a remote VPS (a separate provider than Hetzner that the site is ran on) that I use for VPN usage.What is the best (efficient / easy) way to do that? Thanks.
Sorry, but I don't know what most of that means.For me (since I am on a VPS) I simply have scripts (that run via VPS CRON jobs) that dumps the database and then backups it and the site files up and places them in a central repository on the VPS. I then have automation on my Mac desktop that connects to the VPS and synchronizes that directory with my local directory on the Mac. After that is done I have infrastructure in place that synchronizes those files to a local NFS share on a Dell server in my computer room and then also to a remote VPS (a separate provider than Hetzner that the site is ran on) that I use for VPN usage.
If you are on shared hosting and using a panel, there is typically a backup option you can use in it. You would then have to make sure you have FTP/SFTP (latter preferred) access to the location it dumps those backups and then you should be able to automate FTP/SFTP connections and downloads. I use Transmit on the Mac and it natively has the ability to synchronize the files.
You backing up the nuclear codes?For me (since I am on a VPS) I simply have scripts (that run via VPS CRON jobs) that dumps the database and then backups it and the site files up and places them in a central repository on the VPS. I then have automation on my Mac desktop that connects to the VPS and synchronizes that directory with my local directory on the Mac. After that is done I have infrastructure in place that synchronizes those files to a local NFS share on a Dell server in my computer room and then also to a remote VPS (a separate provider than Hetzner that the site is ran on) that I use for VPN usage
yeah, lot of it won't apply if on shared hosting. You should still do a manual backup at least once a week and download that. That way, you will never be more than 7 days behind if you do have an issue and the host backup is not valid.Sorry, but I don't know what most of that means.
I am on shared hosting.
very early in my web forum career I got bit by not having a valid backup... vowed to never let that happen again.Very thorough
We use essential cookies to make this site work, and optional cookies to enhance your experience.