Important data has to be backed up in professional environments and even at home where you have important photos, videos, documents, eMail etc which you don't want to loose. There exist a lot of tools on Linux (rsync, rsnapshot ...) to create backups. From time to time you should check whether the backup is identical with the original. It's uggly if you detect the backup is not complete when you actually need the backup.

Following tools exist to compare directories and to find missing directories and files:

diff

diff -rq original/ backup/

rsync

cd original
rsync -rvnc --delete . backup # Without -c ony timestamps and filesizes are compared - no filecontents (much faster). --modify-window=1 should be used with FAT or NTFS filesystems

hashdeep

cd original
hashdeep -rlc md5 * > ~/checksums.txt
cd backup hashdeep -ravvl -k ~/checksums.txt *

Links

How to compare the content of two or more directories automatically

File and directory comparison tool?

 

Add comment

Spam Kommentare sind sinnlos !
Vor der Publizierung wird jeder Beitrag auf Spam geprüft. Leider dauert es deswegen bis ein Kommentar sichtbar wird. Dafür erhält aber kein Subscriber Spam eMails.
Die eMail ist optional und nicht öffentlich sichtbar. Sie ist notwendig um eMail Benachrichtigungen zu Antworten auf Kommentare zu erhalten. Sie wird auch u.U. auch vom Seitenbetreiber genutzt um offline Kontakt aufzunehmen.

Spam comments are useless !
Any comment will be reviewed first and checked for spam. Unfortunately this delays the publishing of comments but will protect subscribers from spam.
eMail is optional and hidden and is required to get update notifications for any comments. In addition your eMail may be used by the website owner to get in contact with you offline.