• Hello, I’m testing this module, but I’m unable to restore a backup.

    The steps to reproduce the problem are:
    1 install a new wordpress site
    2 install Xcloner-
    3 make a local backup
    4 make some changes, like disintalling askiment, installing and activating a new theme
    5 try to restore the previuos backup

    When I try to restore the backup after selecting restore “only wp-content” I click on the restore button, and everything looks good, after that I click on next and i select the database and after clicking on restore I see the message “Restore Process Finished.”

    The problem is that that site is not restored, it should be restored the default WordPress installation, but it is not, I still see tha changes made after the backup.

    Here is the error log

    [Mon Dec 19 11:53:18.951117 2022] [proxy_fcgi:error] [pid 7466:tid 140589848975104] [client 178.249.200.162:47459] AH01071: Got error 'PHP message: PHP Warning:  is_dir(): open_basedir restriction in effect. File(/backups-dhL6Q/) is not within the allowed path(s): (/home/pointeu/:/tmp/:/var/tmp/:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/php74/lib/:/usr/local/php74/lib/:/usr/local/lib/php/) in /home/pointeu/domains/subdomains/wptest/wp-content/plugins/xcloner-backup-and-restore/lib/Xcloner.php on line 304', referer: https://wptest.pointnet.eu/wp-admin/options-general.php?page=updraftplus
    [Mon Dec 19 11:53:18.953038 2022] [proxy_fcgi:error] [pid 7466:tid 140589848975104] [client 178.249.200.162:47459] AH01071: Got error 'PHP message: PHP Warning:  is_dir(): open_basedir restriction in effect. File(/backups-VrVJl/) is not within the allowed path(s): (/home/pointeu/:/tmp/:/var/tmp/:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/php74/lib/:/usr/local/php74/lib/:/usr/local/lib/php/) in /home/pointeu/domains/subdomains/wptest/wp-content/plugins/xcloner-backup-and-restore/lib/Xcloner.php on line 304', referer: https://wptest.pointnet.eu/wp-admin/options-general.php?page=updraftplus
    [Mon Dec 19 12:23:02.557940 2022] [proxy_fcgi:error] [pid 7464:tid 140589723084544] [client 178.249.200.162:47460] AH01071: Got error 'PHP message: WordPress database error Table 'pointeu_wpf7e5.gaksx_usermeta2' doesn't exist for query SELECT count(*) FROM gaksx_usermeta2 made by do_action('wp_ajax_restore_backup'), WP_Hook->do_action, WP_Hook->apply_filters, Watchfulli\\XClonerCore\\Xcloner->restore_backup, Watchfulli\\XClonerCore\\Xcloner_Restore->execute_action, call_user_func, Watchfulli\\XClonerCore\\Xcloner_Restore->restore_finish_action', referer: https://wptest.pointnet.eu/wp-admin/admin.php?page=xcloner_restore_site
    [Mon Dec 19 12:52:27.230336 2022] [proxy_fcgi:error] [pid 24131:tid 140589387376384] [client 5.77.69.136:33117] AH01071: Got error 'PHP message: WordPress database error Table 'pointeu_wp6234.wp_usermeta2' doesn't exist for query SELECT count(*) FROM wp_usermeta2 made by do_action('wp_ajax_restore_backup'), WP_Hook->do_action, WP_Hook->apply_filters, Watchfulli\\XClonerCore\\Xcloner->restore_backup, Watchfulli\\XClonerCore\\Xcloner_Restore->execute_action, call_user_func, Watchfulli\\XClonerCore\\Xcloner_Restore->restore_finish_action', referer: https://wptest.pointnet.eu/wp-admin/admin.php?page=xcloner_restore_site
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support jimiero

    (@jimiero)

    Hello,

    Looking on that error I see you have an open_basedir restriction, can you try fixing that and then try again creating a backup and restore it and see how it goes?

    Thread Starter Alessio Pellegrini

    (@pointnet)

    Hello, thanks for your reply,

    I am not sure if disabling open_basedir is the optimal solution, isn’t it possible to make this plugin work without disabling open_basedir? For example with other plugins I am able to make and restore and backups without the slightest problem, but I would like to use xCloner.

    It also seems strange to me that the script cannot reach the folder, which is located inside /wp-content anyway

    P.S. anyway, I did a test and temporarily disabled open_basedir: the backup restore function worked.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cant restore’ is closed to new replies.