Recover important data after reinstallation

Good evening,

I've been to quick to jump the re-install path of my server, and with doing so lost important data to be able to reach my borgbackup repository as the key is lost due to my trigger finger.

I'm aware at creation I've been told to secure it and I'm learning to hard way to read carefully.

I'm therefor asking for some guidance on how to recover a specific path, which is:

/root/.config/borg/
├── keys
│   └── uNNNNNN_your_backup_de__backups_server
└── security
└── a6e7fafb6a9558572108a77c2ef83095b80410c467e2e41fbb63c87b61b68338
├── key-type
├── location
├── manifest-timestamp
├── nonce
└── tam_required

I specifically need the data in /root/.config/borg/ to be recovered if possible.
Most essential is /root/.config/borg/keys/uNNNNNN_your_backup_de__backups_server

I've launched Hetzner Rescue System but as I'm not familiar what to do, I'd like to do the best I could, with help of others that have probably been in the same ( sinking ) ship before.

A lot of the tools specifically search for known file extensions, but my file /root/.config/borg/keys/uNNNNNN_your_backup_de__backups_server doesn't have a extension, so far I haven't had any luck with recovering it.

So what's the best and/or most effective way of trying to restore this? I'm looking for the right tools, and the rights commands to do this.

Posted Dec 2, 2023, 7:21 PM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.