Today I mistakenly deleted the file I was working with on the last few months. On Ext4 FS, so I got some new white hair while experimenting with the r-linux recovering tool.

Advice: on Ext4 most probably the name of the file is lost, but date of the inode might be intact, so sort by time and look for your data in those thousands of inode76569u468 files. Better than just straightforwardly losing the data though.

Now I have automatic backups.

  • varyingExpertise@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 days ago

    I create daily timestamped files on the datastores that are involved in the backups and have a script that restores specifically those files from the backup and compares the content. If that succeeds, the backup is considered working. Its not perfect, but it’s fast and automated.