• Resolved ptrotter

    (@ptrotter)


    I backed up a site on one provider (EasyWP – NameCheap) and tried to restore that on a new site with Bluehost. Following is the error.

    [STEP] [2021-05-30 23:10:17] Initializing restore process
    [STEP] [2021-05-30 23:10:23] Looking for PHP CLI executable file.
    [WARN] [2021-05-30 23:10:31] Could not find proper PHP CLI executable, this process may be unstable.
    [SUCCESS] [2021-05-30 23:10:31] Restore process responded
    [SUCCESS] [2021-05-30 23:10:31] Locking migration process
    [STEP] [2021-05-30 23:10:31] Initializing restore process
    [INFO] [2021-05-30 23:10:31] Backup & Migration version: 1.1.0
    [INFO] [2021-05-30 23:10:31] Initializing custom error handler
    [INFO] [2021-05-30 23:10:31] Site which will be restored: https://bht.tgl.mybluehost.me
    [INFO] [2021-05-30 23:10:31] PHP Version: 7.4.19
    [INFO] [2021-05-30 23:10:31] Web server: Apache
    [INFO] [2021-05-30 23:10:31] Max execution time (in seconds): 259200
    [STEP] [2021-05-30 23:10:31] Free space checking...
    [INFO] [2021-05-30 23:10:31] Checking if there is enough amount of free space
    [INFO] [2021-05-30 23:10:31] Requires at least 350250334 bytes. [334.02 MB]
    [INFO] [2021-05-30 23:10:31] Disk free space function is not disabled - using...
    [INFO] [2021-05-30 23:10:31] Checking this path/partition: /home4/bhttglmy/public_html/wp-content/backup-migration/backups
    [SUCCESS] [2021-05-30 23:10:31] There is 956,176.66 MB free. [933.77 GB]
    [SUCCESS] [2021-05-30 23:10:31] Great! We have enough space.
    [SUCCESS] [2021-05-30 23:10:31] Confirmed, there is enough space on the device, checked: 350250334 bytes.
    [INFO] [2021-05-30 23:10:31] Making temporary directory
    [STEP] [2021-05-30 23:10:31] Scanning archive...
    [STEP] [2021-05-30 23:10:31] Smart memory calculation...
    [INFO] [2021-05-30 23:10:31] There is 512 MBs of memory to use
    [SUCCESS] [2021-05-30 23:10:31] Setting the safe limit to 62 MB
    [STEP] [2021-05-30 23:10:31] Extracting files (this process can take some time)...
    [SUCCESS] [2021-05-30 23:10:34] Files extracted...
    [STEP] [2021-05-30 23:10:34] Saving wp-config file...
    [SUCCESS] [2021-05-30 23:10:34] File wp-config saved
    [STEP] [2021-05-30 23:10:34] Getting backup manifest...
    [SUCCESS] [2021-05-30 23:10:34] Manifest loaded
    [STEP] [2021-05-30 23:10:34] Restoring files...
    [SUCCESS] [2021-05-30 23:10:36] Files restored
    [STEP] [2021-05-30 23:10:36] Restoring database...
    [INFO] [2021-05-30 23:10:36] Successfully detected backup created with V2 engine, importing...
    [INFO] [2021-05-30 23:10:36] Memory usage after initialization: 69.861679077148 MB
    [INFO] [2021-05-30 23:10:36] Loading file list...
    [INFO] [2021-05-30 23:10:36] Memory usage after loading file list: 69.911041259766 MB
    [INFO] [2021-05-30 23:10:36] Restoring tables using temporary name...
    [INFO] [2021-05-30 23:10:36] Finished 5/344 (1.45%) queries, time from last milestone 0.0031 s, from start 0.0031 s (current file: wpactionscheduleractions.sql) (Usage: 69.9297 MB)
    [INFO] [2021-05-30 23:10:36] Finished 10/344 (2.91%) queries, time from last milestone 0.0085 s, from start 0.0116 s (current file: wpactionschedulerclaims.sql) (Usage: 69.9284 MB)
    [INFO] [2021-05-30 23:10:36] Finished 15/344 (4.36%) queries, time from last milestone 0.0011 s, from start 0.0127 s (current file: wpactionschedulergroups.sql) (Usage: 69.9285 MB)
    [INFO] [2021-05-30 23:10:36] Finished 20/344 (5.81%) queries, time from last milestone 0.0010 s, from start 0.0137 s (current file: wpactionschedulerlogs.sql) (Usage: 69.9286 MB)
    [INFO] [2021-05-30 23:10:36] Finished 25/344 (7.27%) queries, time from last milestone 0.0120 s, from start 0.0257 s (current file: wpcommentmeta.sql) (Usage: 69.9287 MB)
    [INFO] [2021-05-30 23:10:36] Finished 30/344 (8.72%) queries, time from last milestone 0.0111 s, from start 0.0368 s (current file: wpcomments.sql) (Usage: 69.9288 MB)
    [INFO] [2021-05-30 23:10:36] Finished 35/344 (10.17%) queries, time from last milestone 0.1682 s, from start 0.2050 s (current file: wpcomments.sql) (Usage: 69.9680 MB)
    [INFO] [2021-05-30 23:10:36] Finished 40/344 (11.63%) queries, time from last milestone 0.0016 s, from start 0.2066 s (current file: wpirecommendthisvotes.sql) (Usage: 69.9295 MB)
    [INFO] [2021-05-30 23:10:36] Finished 45/344 (13.08%) queries, time from last milestone 0.0013 s, from start 0.2079 s (current file: wplinks.sql) (Usage: 69.9302 MB)
    [INFO] [2021-05-30 23:10:36] Finished 50/344 (14.53%) queries, time from last milestone 0.0022 s, from start 0.2101 s (current file: wpoptions.sql) (Usage: 69.9300 MB)
    [INFO] [2021-05-30 23:10:37] Finished 55/344 (15.99%) queries, time from last milestone 0.6658 s, from start 0.8759 s (current file: wppostmeta.sql) (Usage: 69.9449 MB)
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-05-30 23:12:05
    [DOWNLOAD GENERATED] Last update (seconds): 88 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-05-30 23:10:37
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author iClyde

    (@iclyde)

    Hi @ptrotter

    Could you please try to make another backup only with the database?
    And restore this on Bluehost?

    Looks like it timed out the process, I am curious if it can solve the restore once you omit the files chapter.

    You can exclude files in the first section.

    Let me know how it went. ??
    Thank you!

    It seems I got the same problem.
    The site is fairly large, about 1GB in disk space

    [STEP] [2021-05-31 12:47:58] Initializing restore process
    [STEP] [2021-05-31 12:47:59] Looking for PHP CLI executable file.
    [WARN] [2021-05-31 12:47:59] Could not find proper PHP CLI executable, this process may be unstable.
    [SUCCESS] [2021-05-31 12:47:59] Restore process responded
    [SUCCESS] [2021-05-31 12:47:59] Locking migration process
    [STEP] [2021-05-31 12:47:59] Initializing restore process
    [INFO] [2021-05-31 12:47:59] Backup & Migration version: 1.1.0
    [INFO] [2021-05-31 12:47:59] Initializing custom error handler
    [INFO] [2021-05-31 12:47:59] Site which will be restored: https://w05c7188h.homepage.t-online.de/sios.de
    [INFO] [2021-05-31 12:47:59] PHP Version: 7.4.16
    [INFO] [2021-05-31 12:47:59] Web server: Apache
    [INFO] [2021-05-31 12:47:59] Max execution time (in seconds): 259200
    [STEP] [2021-05-31 12:47:59] Free space checking...
    [INFO] [2021-05-31 12:47:59] Checking if there is enough amount of free space
    [INFO] [2021-05-31 12:47:59] Requires at least 1794291396 bytes. [1.67 GB]
    [INFO] [2021-05-31 12:47:59] Disk free space function is not disabled - using...
    [INFO] [2021-05-31 12:47:59] Checking this path/partition: /home/www/public_html/sios.de/wp-content/backup-migration/backups
    [SUCCESS] [2021-05-31 12:47:59] There is 699,222.06 MB free. [682.83 GB]
    [SUCCESS] [2021-05-31 12:47:59] Great! We have enough space.
    [SUCCESS] [2021-05-31 12:47:59] Confirmed, there is enough space on the device, checked: 1794291396 bytes.
    [INFO] [2021-05-31 12:47:59] Making temporary directory
    [STEP] [2021-05-31 12:48:00] Scanning archive...
    [STEP] [2021-05-31 12:48:00] Smart memory calculation...
    [INFO] [2021-05-31 12:48:00] There is 384 MBs of memory to use
    [SUCCESS] [2021-05-31 12:48:00] Setting the safe limit to 6 MB
    [STEP] [2021-05-31 12:48:00] Extracting files (this process can take some time)...
    [SUCCESS] [2021-05-31 12:49:14] Files extracted...
    [STEP] [2021-05-31 12:49:14] Saving wp-config file...
    [SUCCESS] [2021-05-31 12:49:14] File wp-config saved
    [STEP] [2021-05-31 12:49:14] Getting backup manifest...
    [SUCCESS] [2021-05-31 12:49:14] Manifest loaded
    [STEP] [2021-05-31 12:49:14] Restoring files...
    [SUCCESS] [2021-05-31 12:49:24] Files restored
    [STEP] [2021-05-31 12:49:24] Restoring database...
    [INFO] [2021-05-31 12:49:24] Successfully detected backup created with V2 engine, importing...
    [INFO] [2021-05-31 12:49:24] Memory usage after initialization: 7.3871002197266 MB
    [INFO] [2021-05-31 12:49:24] Loading file list...
    [INFO] [2021-05-31 12:49:24] Memory usage after loading file list: 7.4313430786133 MB
    [INFO] [2021-05-31 12:49:24] Restoring tables using temporary name...
    [INFO] [2021-05-31 12:49:24] Finished 5/125 (4.00%) queries, time from last milestone 0.0113 s, from start 0.0113 s (current file: wpcommentmeta.sql) (Usage: 7.4490 MB)
    [INFO] [2021-05-31 12:49:24] Finished 10/125 (8.00%) queries, time from last milestone 0.0074 s, from start 0.0187 s (current file: wpcomments.sql) (Usage: 7.4498 MB)
    [INFO] [2021-05-31 12:49:24] Finished 15/125 (12.00%) queries, time from last milestone 0.0083 s, from start 0.0270 s (current file: wplinks.sql) (Usage: 7.4495 MB)
    [INFO] [2021-05-31 12:49:24] Finished 20/125 (16.00%) queries, time from last milestone 0.0104 s, from start 0.0374 s (current file: wpoptions.sql) (Usage: 7.4492 MB)
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-05-31 12:50:01
    [DOWNLOAD GENERATED] Last update (seconds): 37 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-05-31 12:49:24

    The same after only backing up themes and plugins without the other large files stuff.

    [STEP] [2021-05-31 13:07:01] Initializing restore process
    [STEP] [2021-05-31 13:07:02] Looking for PHP CLI executable file.
    [WARN] [2021-05-31 13:07:02] Could not find proper PHP CLI executable, this process may be unstable.
    [SUCCESS] [2021-05-31 13:07:02] Restore process responded
    [SUCCESS] [2021-05-31 13:07:02] Locking migration process
    [STEP] [2021-05-31 13:07:02] Initializing restore process
    [INFO] [2021-05-31 13:07:02] Backup & Migration version: 1.1.0
    [INFO] [2021-05-31 13:07:02] Initializing custom error handler
    [INFO] [2021-05-31 13:07:02] Site which will be restored: https://w05c7188h.homepage.t-online.de/sios.de
    [INFO] [2021-05-31 13:07:02] PHP Version: 7.4.16
    [INFO] [2021-05-31 13:07:02] Web server: Apache
    [INFO] [2021-05-31 13:07:02] Max execution time (in seconds): 259200
    [STEP] [2021-05-31 13:07:02] Free space checking...
    [INFO] [2021-05-31 13:07:02] Checking if there is enough amount of free space
    [INFO] [2021-05-31 13:07:02] Requires at least 103058187 bytes. [98.28 MB]
    [INFO] [2021-05-31 13:07:02] Disk free space function is not disabled - using...
    [INFO] [2021-05-31 13:07:02] Checking this path/partition: /home/www/public_html/sios.de/wp-content/backup-migration/backups
    [SUCCESS] [2021-05-31 13:07:02] There is 696,295.00 MB free. [679.98 GB]
    [SUCCESS] [2021-05-31 13:07:02] Great! We have enough space.
    [SUCCESS] [2021-05-31 13:07:02] Confirmed, there is enough space on the device, checked: 103058187 bytes.
    [INFO] [2021-05-31 13:07:02] Making temporary directory
    [STEP] [2021-05-31 13:07:02] Scanning archive...
    [STEP] [2021-05-31 13:07:02] Smart memory calculation...
    [INFO] [2021-05-31 13:07:02] There is 384 MBs of memory to use
    [SUCCESS] [2021-05-31 13:07:02] Setting the safe limit to 6 MB
    [STEP] [2021-05-31 13:07:02] Extracting files (this process can take some time)...
    [SUCCESS] [2021-05-31 13:07:22] Files extracted...
    [STEP] [2021-05-31 13:07:22] Saving wp-config file...
    [SUCCESS] [2021-05-31 13:07:22] File wp-config saved
    [STEP] [2021-05-31 13:07:22] Getting backup manifest...
    [SUCCESS] [2021-05-31 13:07:22] Manifest loaded
    [STEP] [2021-05-31 13:07:22] Restoring files...
    [SUCCESS] [2021-05-31 13:07:34] Files restored
    [STEP] [2021-05-31 13:07:34] Restoring database...
    [INFO] [2021-05-31 13:07:34] Successfully detected backup created with V2 engine, importing...
    [INFO] [2021-05-31 13:07:34] Memory usage after initialization: 7.3892288208008 MB
    [INFO] [2021-05-31 13:07:34] Loading file list...
    [INFO] [2021-05-31 13:07:34] Memory usage after loading file list: 7.4334716796875 MB
    [INFO] [2021-05-31 13:07:34] Restoring tables using temporary name...
    [INFO] [2021-05-31 13:07:34] Finished 5/125 (4.00%) queries, time from last milestone 0.0095 s, from start 0.0095 s (current file: wpcommentmeta.sql) (Usage: 7.4511 MB)
    [INFO] [2021-05-31 13:07:34] Finished 10/125 (8.00%) queries, time from last milestone 0.0072 s, from start 0.0167 s (current file: wpcomments.sql) (Usage: 7.4520 MB)
    [INFO] [2021-05-31 13:07:34] Finished 15/125 (12.00%) queries, time from last milestone 0.0097 s, from start 0.0263 s (current file: wplinks.sql) (Usage: 7.4517 MB)
    [INFO] [2021-05-31 13:07:34] Finished 20/125 (16.00%) queries, time from last milestone 0.0093 s, from start 0.0356 s (current file: wpoptions.sql) (Usage: 7.4513 MB)
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-05-31 13:09:03
    [DOWNLOAD GENERATED] Last update (seconds): 89 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-05-31 13:07:34

    Only the database gives the same result.

    The only thing to mention: PHP CLI seems not available.

    Next I will try to enlarge the timeout for PHP routines.

    [STEP] [2021-05-31 13:12:34] Initializing restore process
    [STEP] [2021-05-31 13:12:35] Looking for PHP CLI executable file.
    [WARN] [2021-05-31 13:12:35] Could not find proper PHP CLI executable, this process may be unstable.
    [SUCCESS] [2021-05-31 13:12:35] Restore process responded
    [SUCCESS] [2021-05-31 13:12:35] Locking migration process
    [STEP] [2021-05-31 13:12:35] Initializing restore process
    [INFO] [2021-05-31 13:12:35] Backup & Migration version: 1.1.0
    [INFO] [2021-05-31 13:12:35] Initializing custom error handler
    [INFO] [2021-05-31 13:12:35] Site which will be restored: https://w05c7188h.homepage.t-online.de/sios.de
    [INFO] [2021-05-31 13:12:35] PHP Version: 7.4.16
    [INFO] [2021-05-31 13:12:35] Web server: Apache
    [INFO] [2021-05-31 13:12:35] Max execution time (in seconds): 259200
    [STEP] [2021-05-31 13:12:35] Free space checking...
    [INFO] [2021-05-31 13:12:35] Checking if there is enough amount of free space
    [INFO] [2021-05-31 13:12:35] Requires at least 103058187 bytes. [98.28 MB]
    [INFO] [2021-05-31 13:12:35] Disk free space function is not disabled - using...
    [INFO] [2021-05-31 13:12:35] Checking this path/partition: /home/www/public_html/sios.de/wp-content/backup-migration/backups
    [SUCCESS] [2021-05-31 13:12:35] There is 696,033.19 MB free. [679.72 GB]
    [SUCCESS] [2021-05-31 13:12:35] Great! We have enough space.
    [SUCCESS] [2021-05-31 13:12:35] Confirmed, there is enough space on the device, checked: 103058187 bytes.
    [INFO] [2021-05-31 13:12:35] Making temporary directory
    [STEP] [2021-05-31 13:12:35] Scanning archive...
    [STEP] [2021-05-31 13:12:35] Smart memory calculation...
    [INFO] [2021-05-31 13:12:35] There is 384 MBs of memory to use
    [SUCCESS] [2021-05-31 13:12:35] Setting the safe limit to 6 MB
    [STEP] [2021-05-31 13:12:35] Extracting files (this process can take some time)...
    [SUCCESS] [2021-05-31 13:12:54] Files extracted...
    [STEP] [2021-05-31 13:12:54] Saving wp-config file...
    [SUCCESS] [2021-05-31 13:12:54] File wp-config saved
    [STEP] [2021-05-31 13:12:54] Getting backup manifest...
    [SUCCESS] [2021-05-31 13:12:54] Manifest loaded
    [STEP] [2021-05-31 13:12:54] Restoring files...
    [SUCCESS] [2021-05-31 13:13:01] Files restored
    [STEP] [2021-05-31 13:13:01] Restoring database...
    [INFO] [2021-05-31 13:13:01] Successfully detected backup created with V2 engine, importing...
    [INFO] [2021-05-31 13:13:01] Memory usage after initialization: 7.3905944824219 MB
    [INFO] [2021-05-31 13:13:01] Loading file list...
    [INFO] [2021-05-31 13:13:01] Memory usage after loading file list: 7.4348373413086 MB
    [INFO] [2021-05-31 13:13:01] Restoring tables using temporary name...
    [INFO] [2021-05-31 13:13:01] Finished 5/125 (4.00%) queries, time from last milestone 0.0104 s, from start 0.0104 s (current file: wpcommentmeta.sql) (Usage: 7.4524 MB)
    [INFO] [2021-05-31 13:13:01] Finished 10/125 (8.00%) queries, time from last milestone 0.0062 s, from start 0.0166 s (current file: wpcomments.sql) (Usage: 7.4533 MB)
    [INFO] [2021-05-31 13:13:01] Finished 15/125 (12.00%) queries, time from last milestone 0.0060 s, from start 0.0226 s (current file: wplinks.sql) (Usage: 7.4530 MB)
    [INFO] [2021-05-31 13:13:01] Finished 20/125 (16.00%) queries, time from last milestone 0.0069 s, from start 0.0295 s (current file: wpoptions.sql) (Usage: 7.4527 MB)
    [DOWNLOAD GENERATED] File downloaded on (server time): 2021-05-31 13:14:37
    [DOWNLOAD GENERATED] Last update (seconds): 96 seconds ago
    [DOWNLOAD GENERATED] Last update (date): 2021-05-31 13:13:01

    Enlarging php execution time to 600s doesn’t help.

    It always stops on the same point in database restore.

    ??

    Ralf

    Plugin Author iClyde

    (@iclyde)

    Hi @dl4mw

    In your case you should increase Apache timeout as you can see “Max execution time” was successfully increased by the plugin:
    [INFO] [2021-05-31 13:12:35] Max execution time (in seconds): 259200

    Just apache killed the process or the database backup caused problem.
    Could you please send us the backup via email?

    Email: [ support (at) backupbliss dot com ]

    Plugin Author iClyde

    (@iclyde)

    As we didn’t hear any reply in last days.
    I can assume that you resolved the issue.

    Feel free to open new topic if I am wrong!
    Thank you ??

    Thank you for your help (through the personal message).

    But the import hangs on the same place as before. I canceled it and it has created some table on the database but all were empty.

    I decided to go the ugly long lasting way and try the moving of the websites (3 different sites) manually by exporting SQL, editing the SQL-files and importing them.

    The hoster of the old and new sites have different approaches. The old sites are each in an own database and in the new site all WP sites share a common database with different table prefixes. A little nightmare that all, but not an unsolvable problem ??

    Thank you, seldom seen a plugin wich such a vivid support.

    Ralf

    Plugin Author iClyde

    (@iclyde)

    Thank you Ralf

    My message above was pointed to the author of this topic tho ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Restore in new site failed’ is closed to new replies.