Jump to content

Full backup primary + storage server


Recommended Posts

Let's say tomorrow the datacenter gets hit by an asteroid and I lose the contents of all the servers.
If I made a full backup of the site folder in the primary server and the storage server on a disk of mine, could I if needed simply paste them into two new servers and have them up and running without difficulty?
Surely the answer is no, and I would like to figure out how to make a no-frills backup that is ready to deploy if needed.

 

Link to comment
Share on other sites

Yes, normally you extract files from backup on a new server and then follow this guide:

 

Please note you also need database backup, which may be included into you main site directory under /admin/data/backups as a part of KVS backup archive. Then you also need to import SQL from backup archive into a new database.

Link to comment
Share on other sites

Posted (edited)

Just to avoid misunderstandings:

 

I rsync on my local disk /var/www (excluding /admin/smarty/cache ,/admin/data/engine, /tmp) both primary and storage.

In case of server failure I setup both servers with requirements you provide on your docs (nginx, php, mysql, and all other environment software needed), upload to /var/www, restore mysql db with same user/pw and backup, and ultimately follow this.

 

Is this correct? 

Edited by gsvideo023
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...