Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-29 20:19:11

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Strategies for a full backup of sites

Hi everyone,

I’ve been trying to find out about the best way to backup an entire TXP site including all media files.
I use rss_admin_db_manager to create a compressed backup of the db. Once that is done I have my ftp client (Fetch) mirror the entire contents of the web root to a folder on my computer.

In case of a disaster, I’m hoping to be able to restore everything 100% by performing the following steps:

  1. upload the local mirror of the web root to the live server and…
  2. decompress & restore from the db backup via either rss_admin_db_manager or phpMyAdmin

Will this work?

Thanks for any insights!

Cheers Martin

Last edited by masa (2006-07-29 21:14:39)

Offline

#2 2006-07-29 21:01:00

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Strategies for a full backup of sites

Will this work?

I have never tried this out with the plugin you mention, bu the general idea is correct. Backup database and files. And in case of emergency restore database and files.

Last edited by Sencer (2006-07-29 21:01:17)

Offline

#3 2006-07-29 21:14:04

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Strategies for a full backup of sites

This is what I do on my VPS:

I have a crondaily job that runs automysqlbackup, it does daily, weekly and monthly MySQL backups.

When I get up in the morning I do an rysnc of the web space and home directories which contain the database backups.

What I do is similar to what you’re doing and my sites could be easily recovered if need be, knock on wood.

Offline

#4 2006-07-30 07:09:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: Strategies for a full backup of sites

I too use a cron job but I also have rss_admin_db_manager for quick repairs to the db


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2006-07-30 12:20:38

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: Strategies for a full backup of sites

Thanks everyone for all your input and the links – I have now successfully created my first cron job! :-)

Cheers Martin

Offline

Board footer

Powered by FluxBB