I want ability to specify multiple named groups of files/folders to archive & encrypt at local hard drive. Absolutely necessary is a built in ability to restore backup at specified location & verify completeness and correctness (by comparing it to original files).

Maintained open-source project is strongly preferable.

Ability to create automatically running incremental backup would be great.

I am currently using backup ruby gem - it allows to easily specify what and how should be backuped. Unfortunately it missing ability to automate restoring backup and verify whatever files are backuped correctly.

Restoration is fairly easy to do manually (especially with low number of separate generated archives) but lack of built-in ability to verify backup is not OK - for example recently large part of backup failed silently and I almost missed it.

"it is not duplicate" explanation - Back-up tool to restore Ubuntu system similar to Time Machine and Backup to external hard drive using linux (recoverable without installation of additional software) and other are not requiring "restore files at specified location" & "verify backup".

  • Can you clarify what you mean by verifying? Checksums to verify correct upload or deeper? Like "Is there anything in my mysql backup, etc". I also use the backup gem and it mails me if something goes wrong (in terms of packing and transmission). – 2called-chaos Feb 22 '16 at 12:56
  • I guess that checksum verification would be a good start. Maybe also checking whatever filesize is in an expected range (entire photo archive fitting in 10MB means that something went horribly wrong) and checking whatever files present in previous backup are still present. At this moment I am backuping solely to local drives so upload verification is not so important. – Mateusz Konieczny Feb 22 '16 at 13:36
  • What about RSync? – Thomas Weller Mar 29 '16 at 22:04
  • RSync is diverse and complicated enough that it is usable in the same way as good library may be used to develop a program - there is no obvious and quick solution. Solution involving RSync would be OK, but "use RSync" is not much better than "use cp, tar and diff commands" and only slightly better than "you may write it in C++". – Mateusz Konieczny Apr 3 '16 at 8:26

The software http://www.freefilesync.org/ might come close to what you are searching. You could combine it with https://veracrypt.codeplex.com/ or an encrypted File System like https://www.cryfs.org/


Apparently nobody else needed tool with such specification. In that situation I made my own.

Given that unpacking backup produced by backup gem is straightforward and main problem are boredom and typing mistakes I made my own script that is issuing necessary commands. I published it at https://github.com/matkoniecz/backup-gem-extractor-crutch

It is not great tool that is usable by everybody interested but given that finding anything doing this task (except abandoned & undocumented https://github.com/substantial/restore) is apparently impossible I think that this script may be useful for somebody.

Once unpacking is done backup verification may be performed by one of methods described at https://stackoverflow.com/questions/4997693/given-two-directory-trees-how-can-i-find-out-which-files-differ (In my script I am using diff --brief -r).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.