Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

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.