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

How is backup done on ubuntu servers?

I have a server (Ubuntu 9.10) which has apache2 installed, php5, mysql etc...

The website is a classifieds website where all classifieds are stored in mysql and Solr.

I need to backup this server with all information to be able to fully restore it if something goes wrong.

How should I start? Is it an automated task, or will I do backups manually? (prefer manually)

Thanks

share|improve this question

1 Answer 1

up vote 0 down vote accepted

There is no default backup-mechanism in ubuntu server.

First you have to decide if you want push-backups or pull-backups.

I pull my backups from my server with rsnapshot. It works kind of like Apple's TimeMaschine. It transfers data using rsync and makes hardlinks for files that didn't change.

With rsnapshot you can run scripts on the remote server befor doing your backup. In one of those script i run mysqldump to backup my MySQL-Databases.

Backups should be an automated task, but be shure to do a test-restore once in a while to make shure everything works as expected.

share|improve this answer

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.