Konubinix' opinionated web of thoughts

Good Reasons to Make Backups


  • [2023-09-12 Tue] I unfortunately corrupted 10000 ipfs hashs on my drive on 08:01 I got back the backup at 08:00 and the one at 09:00 gunzip, then diff
    diff -u 20230912-0800-fr.sql 20230912-0901-fr.sql |gi '^-' |sed -r 's-.+(/ipfs/[^ \t]+).+-\1-' > /home/sam/to_recover.txt
    There are 10253 lines. So I’m quite confident that the loss are in there, with some extras. then, I got them back from the backup. Getting the 253 extra won’t harm.