Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i have my website hosted on rackspace cloud server . i need to make backup of code + database of my cloud site. Please give me link of any documentation which suggests steps to perform this or link to alternative method so i can achieve this

share|improve this question
1  
What DBMS are you using? In most cases there is some kind of "replication" functionality built in. As for back-ups of code, start with rsync. It is very easy to have incremental back-ups to a remote NFS volume. –  dsljanus Sep 4 '13 at 14:29
    
Where do you want your code backed up to? Where is your code located on the server? –  Kyle Kelley Sep 4 '13 at 17:40
    
i am using php+mysql in website. and i want to backup code+files+db on server only(download also if possible in zip) so that i can restore it later if needed. –  Dashrath Sep 4 '13 at 21:31
add comment

1 Answer 1

You have 2 options here:

  1. Leverage the Rackspace Cloud Backup solution
  2. Write a multi part custom backup script (mysqldump to disk, zip up files plus backup files, rsync/ftp/sftp the file to another location).

For the Rackspace Cloud Backup option, I'd suggest checking out the following documentation:

http://www.rackspace.com/knowledge_center/article/rackspace-cloud-backup-overview

There are links for installing the agent, which will then allow you to specify a backup configuration within your MyCloud portal.

Option 2 is a bit more involved and will require custom shell scripting. One starting point may be:

http://www.noupe.com/how-tos/10-ways-to-automatically-manually-backup-mysql-database.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.