1
jva1601
Proper Backup procedure for XOOPS website.
  • 2004/11/15 15:58

  • jva1601

  • Just popping in

  • Posts: 20

  • Since: 2004/8/29


Hello,

I'm about to let loose user's at the office to use Xoops.
To recover from user error's I have done the following to
backup my Xoop site.

1. Exported the whole XOOPS database using phpmyadmin
2. Create a cron job to weekly backup the root dir.
3. Downloaded the whole site using Dreamweaver to a
local file onto my laptop.

Have I missed anything? Preventing me from recovering
in the event my Xoop site suffers a disaster.

Thank you!

jva1601

2
Dave_L
Re: Proper Backup procedure for XOOPS website.
  • 2004/11/15 16:20

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


If you're backing up the XOOPS database tables and the XOOPS file directory, you should be safe.

As a test, I would try loading the backup to a temporary database and directory, to verify that it works.

I would also skim through the backups occasionally, or at least look at the file sizes, just to make sure there aren't any drastic changes.

3
carnuke
Re: Proper Backup procedure for XOOPS website.
  • 2004/11/15 16:30

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


You could try a test recovery?

1-Upload all your back-up files to a separate directory
2-Copy your database and rename the copy
3-Upload the new DB to your server as a new database.
4-Reconfigure your test sites mainfile.php to your new installation details.

You should now have working a copy of the production site.

This is actually more involved than a site restore, because you need to reconfigure your mainfile.php for the new directory address and DB. Its purly practice value.

Note: if you have any hard coded in-site URLs they may not be correct in the new installation. This is the benefit of using <{XOOPS_URL}> as it's always correct with your root.

Caveat: mainfile.php is your most important file as it connects to the database etc. ALWAYS have a backup.

4
carnuke
Re: Proper Backup procedure for XOOPS website.
  • 2004/11/15 16:31

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


HAHA hehe Dave, you got there first while I was posting

5
jva1601
Re: Proper Backup procedure for XOOPS website.
  • 2004/11/23 15:38

  • jva1601

  • Just popping in

  • Posts: 20

  • Since: 2004/8/29


To update this thread I'd thought I'd posed my experience following suggestions posted here.

Murhphy's law did strike last Sunday. My hard drive failed! Luckily I have all XOOPS files backup including the database so I was able to recover all of the site from the latest backup.

I was able to successfully used my exported MySQL database using phpmyadmin. Database exported using Webmin's MySQL module did not work. After uploading my backup XOOPS files I had to chmod 777 cache, template_c, uploads to work correctly.

jva1601

Login

Who's Online

247 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits