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

I got a Linux Ubuntu Server, where system has its own 5 gig partition. Ive recently made a backup of this system partition into an .img file using dd. Since it is a system partition I needed to boot using live CD, mount the drive and then call dd from the terminal.

Is there any solution how the system could possibly make a differential backup of itself at every startup? (against this .img file I have previously created)


share|improve this question
It is not completely clear what are you trying to do - what would be the result of this differential backup? A binary patch file for old .img file? Or differential backup of the files from the filesystem in .img file. If later, in what format and where should those be written? Also, making a system backup process that can only run at startup does not sound as particularly good plan. – Unreason Sep 24 '10 at 13:11
Well the process should find the differences between actual system partition and its image in the .img file and update the .img file, so its always the actual image of the system. Actually the reason why to run this while booting up is that you cant get exclusive access to the partition while the system already booted up (otherwise I would probably use CRON task) – NumberFour Sep 24 '10 at 15:04
up vote 1 down vote accepted

You might checkout using rsync for local backup

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.