Error while recovering backup
-
Trying to decrypt the backup locally throws this error:
/usr/local/lib/node_modules/cloudron/src/backup-tools.js:261 const { error, decryptedFilePath } = decryptFilePath(encryptedFilePath, encryption); ^ TypeError: Cannot destructure property 'error' of 'decryptFilePath(...)' as it is null. at /usr/local/lib/node_modules/cloudron/src/backup-tools.js:261:21 at /usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:2590:44 at replenish (/usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:448:21) at /usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:453:13 at eachLimit (/usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:2720:36) at awaitable (/usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:212:32) at Object.eachSeries (/usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:2748:16) at Object.awaitable (/usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:212:32) at iteratee (/usr/local/lib/node_modules/cloudron/src/backup-tools.js:252:15) at check (/usr/local/lib/node_modules/cloudron/node_modules/async/dist/async.js:5675:13)
-
@andreasdueren the database dump should be in
/home/yellowtent/appsdata/<appid>/postgresqldump
. It will already be unencrypted.The CLI tool decryption hasn't been tested in a while, I can look into it.
-
@girish said in Error while recovering backup:
@andreasdueren the database dump should be in
/home/yellowtent/appsdata/<appid>/postgresqldump
. It will already be unencrypted.The CLI tool decryption hasn't been tested in a while, I can look into it.
Can you think of any other way to decrypt it? Manually adding the information into the backup recovery in the ui also won't work.
-
@girish said in Error while recovering backup:
@andreasdueren the database dump should be in /home/yellowtent/appsdata/<appid>/postgresqldump . It will already be unencrypted.
If there was one, it is now lost since I tried to roll back to the old version.
-
Update: I think I was able to get the backup back by using the CLI to roll back. Have to check everything still though.
-
@andreasdueren said in Error while recovering backup:
Update: I think I was able to get the backup back by using the CLI to roll back. Have to check everything still though.
Never mind turned out it didn’t select the backup I wanted and failed the same way.
-
@girish said in Error while recovering backup:
@andreasdueren Can you check if this file is inside wasabi -
extensions/axios/lib/adapters/http.js
?Unfortunately, the backup is encrypted. There is a file, but I do not know if it's corrupt or intact.
-
This post is deleted!
-
This post is deleted!
-
-
Different issues but also related to the decrypting backup: I assume "
Error: Invalid initialization vector
" is referring to the wrong passphrase? -
@andreasdueren yes, usually that means the passphrase is wrong.