Tagged: Restorations, Total Upkeep
-
AuthorPosts
-
May 31, 2023 at 3:03 pm #90298JoshGuest
I transferred my backup to my new site, and when I click restore it waits a few seconds and then refreshes the page. This is the error message I am seeing in the logs”
[2023-05-31 15:38:06 UTC] PHP Version: 7.4.33
[2023-05-31 15:38:06 UTC] WordPress Version: 6.2.2
[2023-05-31 15:38:06 UTC] Total Upkeep version: 1.15.6
[2023-05-31 15:38:06 UTC] getpgid support: Available
[2023-05-31 15:38:06 UTC] Restore process initialized.
[2023-05-31 15:38:06 UTC] Memory usage – limit / current / peak memory usage: 128M / 37311904 (35.58 MB) / 38061160 (36 MB)
[2023-05-31 15:38:06 UTC] Restoration process initialized.
[2023-05-31 15:38:06 UTC] Memory usage – limit / current / peak memory usage: 128M / 37325040 (35.60 MB) / 38061160 (36 MB)
[2023-05-31 15:38:06 UTC] Restore info: Array
(
[mode] => restore
[dryrun] =>
[filename] => boldgrid-backup-lb7.480.myftpupload.com-9b35005e-8b169291-20230530-184051.zip
[filepath] => /home/impakpackagin/boldgrid_backup/boldgrid-backup-lb7.480.myftpupload.com-9b35005e-8b169291-20230530-184051.zip
[filesize] => 1052929891
[archive_key] => 0
[restore_ok] => 1
)[2023-05-31 15:38:06 UTC] ZipArchive not available. Unable to set_writable_permissions. Trying restore anyways…
[2023-05-31 15:38:06 UTC] Unzipping archive… filepath / ABSPATH: /home/impakpackagin/boldgrid_backup/boldgrid-backup-lb7.480.myftpupload.com-9b35005e-8b169291-20230530-184051.zip / /home/impakpackagin/public_html/new.impakpackaging.com/
[2023-05-31 15:38:06 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 37329808 (35.60 MB) / 38061160 (36 MB)
[2023-05-31 15:38:10 UTC] Last error: Array
(
[type] => 1
[message] => Allowed memory size of 1073741824 bytes exhausted (tried to allocate 86871256 bytes)
[file] => /home/impakpackagin/public_html/new.impakpackaging.com/wp-admin/includes/class-pclzip.php
[line] => 4250
)May 31, 2023 at 3:30 pm #90322Brandon CKeymasterHi Josh,
Thanks for reaching out with your Total Upkeep questions and we really appreciate you sending over your error logs.
At first glance I do notice that you’re likely hitting some memory limit
[message] => Allowed memory size of 1073741824 bytes exhausted (tried to allocate 86871256 bytes)
and this could be causing your issue. Typically, this is due to exceeding some limitation of your hosting account, such as Memory, CPU, Disk Input/Output resulting in a timeout.You can try contacting your hosting provider to see if they can change the 2-minute limit. It’s possible that it might be your PHP max_execution_time setting, but I think it’s more likely that your server has some other system enforcing that limit, because exceeding the PHP max_execution_time wouldn’t normally send a kill signal.
Can you tell us exactly how you’re performing your Total Upkeep restoration? Are you using the Magic Link option to restore? Another possibility is using the command line restoration tool, because it will run much faster than restoring through your WordPress Dashboard.
I’d also try taking a new backup at the original site and excluding the
/wp-content/uploads/
directory from your backups, which is usually the source of a large backup file. That will give you backups that you’ll be able to easily restore. Then you can take a separate backup of your uploads folder once per month or so to protect your images.I hope this helps Josh! We definitely look forward to assisting you further with this if you need us!
May 31, 2023 at 3:45 pm #90323JoshGuestHi Brandon,
Thank you for your response. I’ve uploaded the backup through FTP into the bold grid folder on my new website, as well as used the Transfer link method. They both give the same error. How do I execute the command line restore tool?
May 31, 2023 at 3:50 pm #90325Brandon CKeymasterThanks Josh,
You would need shell access to your web server in order to run the command. I’m really thinking the issue sure is more tied to the server resources allotted to site instance. Definitely try the option of running restoring a smaller backup by excluding the
/wp-content/uploads/
directory from your backups as well as stated above. -
AuthorPosts
- The topic ‘Total Upkeep restoration option is failing’ is closed to new replies.