Disaster recovery redux
dazed_and_confused
Joined: 2010-08-19
Posts: 32 |
![]() |
I have a functional Gallery2 installation running on Ubuntu 10.04.2 LTS. I have looked at the FAQ and the subject is touched upon, but I have yet to find a full list of everything you need to do a restore, all in one place. I would like to re-install an Ubuntu LAMP server, then use specific backups from the original server to restore over the new server. This is what I think will do it, and I'm working my way through this to verify it. Any help in specifying the exact files and data needed that will help reduce the amount of data targeted for backup will help a lot, I think.
|
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
dazed_and_confused
Joined: 2010-08-19
Posts: 32 |
![]() |
Quote:
http://codex.gallery2.org/Gallery2:FAQ#How_can_I_move_my_Gallery_installation_from_one_server_to_another.3F Thanks -- not sure why that didn't come up in the search engine. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
G2 has a rather large FAQ as well as much greater documentation linked in the upper right corner of every page on this site. . -s |
|
dazed_and_confused
Joined: 2010-08-19
Posts: 32 |
![]() |
This seems to be working for me - I have successfully transferred from one server to two others in my environment (haven't renamed the target hosts yet, but that's next). This is based on periodic backups of my webserver. I use Ubuntu 10.04 LTS. I create a tar from the root account (which preserves permissions) and capture these directories: I exclude these directories from backup: I dump the mysql db all in one file: To recover from this to other/replacement hardware: Install from Ubuntu minimal install of 10.04 LTS, select openssh server and lamp server After initial boot up: apt-get update Stop apache and mySQL Extract web server backup from root. Restart mysql Restore mysql dump Restart apache Run through gallery2 install/reconfigure (reuse existing tables) EDIT: added another directory I missed. |
|