Super User is a question and answer site for computer enthusiasts and power users. 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 am using sbackup(Simple Backup) tool on Ubuntu 10.04. It is set to take full backups per month and incremental backups everyday.

When I needed to rollback a software project of mine, I saw that its restore counterpart is quiet stupid, and can recover only the files that are only contained in a very specific archive. How can I recover a whole folder, without manually applying every incremental step after the full backup? I can try to write a script that uses the CLI but I want to learn if there is a better solution for that.

share|improve this question
up vote 0 down vote accepted

I resolved this situation by recovering the folder step-by-step, first the latest full backup, then all the incremental ones in order. The script was ad-hoc copy+paste. Looked like this

...
srestore.py /path/to/backup/2010-09-19* /path/to/data /path/to/restore
srestore.py /path/to/backup/2010-09-20* /path/to/data /path/to/restore
srestore.py /path/to/backup/2010-09-21* /path/to/data /path/to/restore
...
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .