Well, there’s some prehistory to better explain what I need to do. Something (let’s call it this way ) went wrong when I tried to convert my LVM volume to a mirrored raid… Not sure what exactly and why, but looks like some sync error occurred and the original volume was partly rewritten Oh my god…
The thing is now I’m trying to recover everything which can be saved from this volume.
I have some success with this.
I was able to find with the recovery software some fragments of the backup files, and some mysql dumps can be extracted from it. Unfortunately, other files tar-gzipped in these backup files cannot be extracted as the tars are fragmented, but mysql dumps are good.
As well, I can recover the /etc/ and /var folders on my root volume, and it looks like they are in good condition. For example, asterisk.sqlite file is good, as well as a lot of config files.
The problem is, it looks like some of the /etc/ files are encrypted, because they contain a formatted base64 data or something similar. This data doesn’t look like some random broken data because of the base64-similar format of different files, which are supposed to be plain text. So, can you advise me how do I decrypt these files to put them in place?
Or, maybe this is not encryption but simply a bad data?
Your help is much appreciated. Thanks a lot!
Really hope to recover some of the settings as I’m too lazy to do a new and clean installation to build everything from very clean start Stupid me, trust no one, for future make backups before you are going to make backups dealing with LVM So sad story