Tagged: Restorations, Total Upkeep
-
AuthorPosts
-
May 29, 2024 at 12:21 pm #132146FloGuest
I keep getting this error message when I try to restore the website from a downloaded file on my cpanel;The database in this backup archive was encrypted with a token that does not match the one saved in your settings. In order to access the encrypted database, the matching encryption token is required
What could be the issue?
May 29, 2024 at 12:29 pm #132162Brandon CKeymasterHi Flo,
Thanks for reaching out with your Total Upkeep questions. If you’re receiving this message that means the backup was taken using Database Encryption and the only way to access it would be to have the decryption key that was created in the initial backup process. This is an optional security measure. My suggestion if possible would be to take another backup without database encryption enabled and try restoring that one if you cannot find the key.
I hope this answers your question. Please let us know if we can help with anything else.
May 29, 2024 at 4:01 pm #132165FloGuestI don’t have access to the key as my site crushed and I was able to restore a version from 2019. I was now trying to restore to a 2024 backup I found and even with backing up, I still get the error message
May 29, 2024 at 4:02 pm #132166FloGuestEncryption is off as well
May 29, 2024 at 4:08 pm #132174Brandon CKeymasterHi Flo,
Are you able to take a brand new backup with Database Encryption disabled just as a test? If the backup is successful try restoring that backup to your site to see if you still receive the error message.
It would also help to view the restoration logs to see if there are any specific error messages or anything that stands out that might be relevant to your failed restoration.
To view restoration logs, follow these steps:
- Go to your WordPress Dashboard and navigate to Total Upkeep -> Tools -> Logs.
- Look for the log file related to the restoration process. The filename should look similar to restore-1601663963.log.
- Open the log file
- Paste the log here in the forum for us to view
For more details, please visit:
https://www.boldgrid.com/support/total-upkeep/restoring-wordpress-backup/May 30, 2024 at 10:44 am #132175FloGuestAre you able to take a brand new backup with Database Encryption disabled just as a test? If the backup is successful try restoring that backup to your site to see if you still receive the error message…I can back up but when I try to restore, I get the error message
Paste the log here in the forum for us to view..I saw 2 of them and wasn’t sure which is which so I’ll share both
[2024-05-27 16:49:06 UTC] PHP Version: 7.4.33
[2024-05-27 16:49:06 UTC] WordPress Version: 6.5.3
[2024-05-27 16:49:06 UTC] Total Upkeep version: 1.16.2
[2024-05-27 16:49:06 UTC] getpgid support: Available
[2024-05-27 16:49:06 UTC] Restore process initialized.
[2024-05-27 16:49:06 UTC] Memory usage – limit / current / peak memory usage: 2G / 122863160 (117.17 MB) / 122958304 (117 MB)
[2024-05-27 16:49:06 UTC] Restoration process initialized.
[2024-05-27 16:49:06 UTC] Memory usage – limit / current / peak memory usage: 2G / 122848976 (117.16 MB) / 122958304 (117 MB)
[2024-05-27 16:49:06 UTC] Restore info: Array
(
[mode] => restore
[dryrun] =>
[filename] => boldgrid-backup-kigalifaam.com-01abb1fd.zip
[filepath] => /home/kigali5/boldgrid_backup/boldgrid-backup-kigalifaam.com-01abb1fd.zip
[filesize] => 6693419204
[archive_key] => 0
[restore_ok] => 1
)[2024-05-27 16:49:07 UTC] Unzipping archive… filepath / ABSPATH: /home/kigali5/boldgrid_backup/boldgrid-backup-kigalifaam.com-01abb1fd.zip / /home/kigali5/backup.kigalifaam.com/
[2024-05-27 16:49:07 UTC] Memory usage – limit / current / peak memory usage: 2G / 122862512 (117.17 MB) / 122958304 (117 MB)[2024-05-27 16:56:52 UTC] PHP Version: 7.4.33
[2024-05-27 16:56:52 UTC] WordPress Version: 6.5.3
[2024-05-27 16:56:52 UTC] Total Upkeep version: 1.16.2
[2024-05-27 16:56:52 UTC] getpgid support: Available
[2024-05-27 16:56:52 UTC] Restore process initialized.
[2024-05-27 16:56:52 UTC] Memory usage – limit / current / peak memory usage: 2G / 123210016 (117.50 MB) / 123305160 (118 MB)
[2024-05-27 16:56:52 UTC] Restoration process initialized.
[2024-05-27 16:56:52 UTC] Memory usage – limit / current / peak memory usage: 2G / 123205240 (117.50 MB) / 123308720 (118 MB)
[2024-05-27 16:56:52 UTC] Restore info: Array
(
[mode] => restore
[dryrun] =>
[filename] => boldgrid-backup-kigalifaam.com-01abb1fd.zip
[filepath] => /home/kigali5/boldgrid_backup/boldgrid-backup-kigalifaam.com-01abb1fd.zip
[filesize] => 6693419204
[archive_key] => 0
[restore_ok] => 1
)[2024-05-27 16:56:53 UTC] Unzipping archive… filepath / ABSPATH: /home/kigali5/boldgrid_backup/boldgrid-backup-kigalifaam.com-01abb1fd.zip / /home/kigali5/backup.kigalifaam.com/
[2024-05-27 16:56:53 UTC] Memory usage – limit / current / peak memory usage: 2G / 123210584 (117.50 MB) / 123308720 (118 MB)May 30, 2024 at 11:08 am #132247Brandon CKeymasterHey Flo,
That’s really odd the restoration is still asking for a Database Encryption Key if you disabled it on the backup you’re attempting to restore. Let’s try running and restoring a Sanity Check backup to confirm you can restore any type of backup file.
“Sanity Check Backup” – which is only backing up .txt files, to make sure the backup process can complete successfully. If it does complete, this helps to further indicate a possible server intervention.
Here are the steps to run a Sanity Check Backup:
- From the inside of your Total Upkeep dashboard click the Backup Site Now button.
- Under Files and Folders type
*.txt
into the Includes input. This ensures that only .txt files will be included in the backup. - Under Database exclude all database tables.
- Click Backup Site Now.
After running your “Sanity Check Backup” visit the “Tools” section of your Total Upkeep dashboard, click Logs and view your last log to confirm that it completed.
Please see if the sanity check backup allows you to restore and let us know the results. Thanks Flo!
-
AuthorPosts
- The topic ‘Failed Total Upkeep Restoration do to Database Encryption’ is closed to new replies.