Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)


share|improve this question
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


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.