Author Topic: Customer Self-Backups and Richweb Backups  (Read 978 times)

Offline Doug Hazard

  • Richweb Staff (Admin)
  • Newbie
  • *
  • Posts: 28
  • CFB / MBB Junkie
Customer Self-Backups and Richweb Backups
« on: December 05, 2016, 11:09:35 am »
Believe it or not, this actually goes hand in hand with the "Richweb / Globalweb Hosting and MySQL Database Backups" post I've made.

We already backup the databases each nite, on the database cluster, using a full mysql dump.

root@db1 10:49:39 > /data/BACKUP/db # find ./ | grep vh

We already backup the filesystem too - nightly rsync off site on even days and nightly rysnc onsite on odd days.

And there are 2 historical files - full tarballs - of the site kept as well  back 45 days or so:
2016-10-20_data_gwebvs3.tar.gz  2016-11-20_data_gwebvs3.tar.gz

My problem with php web app driven backups is they:
  • Write the backups into the web files, making the backups ever larger;
  • They never get deleted;
  • Rely on wget of a url to run, which means they run from the web process, which is shoddy (error prone), timeouts, etc; and
  • They can easily be deleted or damaged accidentally or intentionally via an  ftp client mistake.
I prefer (well insist) the backups be kept on separate disks/locations etc.

Looks like you already have some backups getting cut on your own:

I think really you just backup the site before work is done (like client changes) and let our backups do the rest.

You're at 1.2G of storage now, which is not bad ... but over half of that is just backups:
du -sh /var/www/[CLIENTNAME]/backups/
755M   /var/www/[CLIENTNAME]/backups/

If [CLIENT NAME] wants an extra level of backups, you can setup a job to run once a month, and then have a script that logs in via ftp and pulls them back to your site if you want. We can create a script that pushes our backups to an ftp server of your choice too, just would take a little time to set it up.

Backups I see now:
root@vs3 10:52:18 > /var/www # find [CLIENTNAME]/backups/

root@vs3 10:52:21 > /var/www # ls -alt [CLIENTNAME]/backups/database/1477667989@@[CLIENTNAME]
-rw-r--r-- 1 www-data www-data 554256 Oct 28 11:20 [CLIENTNAME]/backups/database/1477667989@@[CLIENTNAME]

root@vs3 10:52:27 > /var/www # ls -alt [CLIENTNAME]/backups/database/1480345326@@[CLIENTNAME]
-rw-r--r-- 1 www-data www-data 556997 Nov 28 10:02 [CLIENTNAME]/backups/database/1480345326@@[CLIENTNAME]
« Last Edit: December 05, 2016, 03:42:17 pm by Doug Hazard »
Doug "Bear" Hazard
@BearlyDoug  |  @GridironHistory  |  @Hogville |

Co-Host of Two Cents Radio, powered by the Radio Network, Wednesday Nights from 8 PM to 10 PM Central, covering SEC and Sun Belt Sports.

Listen at and follow @TwoCentsRadio on Twitter!


With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name: Email:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What city is known as "The Emerald City" and is the home of the Space Needle and the 2014 NFL Champions, The Seahawks? (7 letters):