I try
(.*).(-\0-9+x\0-9.+)$(?<=(gif|png|jpg|webp))
(.*).(0-9+x+0-9.+)$(?<=(gif|png|jpg|webp))
(.*).(/-\d+x\d+\.+)$(?<=(gif|png|jpg|webp))
can anyone help me? please,
anyone found a pattern for exclude thumbnails en the backups?
]]>That is you can choose a specific date (eg. 25 june 2023), which may be interesting for a “one shot” backup, but for automatic daily backups (for instance), you’d need to specify ‘yesterday’.
How can this be achieved?
]]>I have a question about the Backup size of the databses.
Im doing an hourly backup of the same database.
Some of the files it outputs are
– 4mb
– 1mb
– 1000kb
How could that possibly be accurate.
And also how can the database be 4mb when I have tables in my db that are over 100mb?
Any guidance appreciated.
]]>I setup Xcloner to do an hourly Database backup on Backblaze.
It worked ONCE – and successfully uploaded the file to backblaze. Every Other time the scheduled back has failed. And it has been running for days.
Backblaze connection verifies correctly in the Storage settings page.
It succeeds in dropping the zipped up DB on Local each time, but its not uploading.
I Will paste the logs from Xcloner Below. Any thoughts on what might be causing this would be helpful.
This is a fairly big slice of the backup logs but hopefully it will help in finding what the issue is.
[2022-10-02 02:11:04] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:11:04] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:11:04] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:11:04] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:10:35] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:10:35] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:10:13] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:10:13] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:10:07] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:10:06] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:10:00] php_system.DEBUG: E_USER_DEPRECATED: array ( 'type' => 16384, 'message' => 'Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.', 'file' => '/var/www/htdocs/wp-includes/functions.php', 'line' => 5754, ) [] []
[2022-10-02 02:09:59] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:09:59] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:09:58] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:09:29] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:09:29] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:09:29] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:08:56] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:08:56] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:08:27] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:08:16] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:08:16] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:08:15] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:06:46] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:06:46] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:06:45] php_system.DEBUG: E_USER_DEPRECATED: array ( 'type' => 16384, 'message' => 'Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.', 'file' => '/var/www/htdocs/wp-includes/functions.php', 'line' => 5754, ) [] []
[2022-10-02 02:06:27] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:06:27] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:06:26] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:06:06] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:06:03] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:06:03] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:06:03] php_system.DEBUG: E_USER_DEPRECATED: array ( 'type' => 16384, 'message' => 'Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.', 'file' => '/var/www/htdocs/wp-includes/functions.php', 'line' => 5754, ) [] []
[2022-10-02 02:06:03] xcloner_file_system.DEBUG: Estimating file system reading time [] []
[2022-10-02 02:06:03] xcloner_file_system.INFO: Cleaning the backup storage LOCAL on matching rules [] []
[2022-10-02 02:05:55] php_system.DEBUG: E_USER_DEPRECATED: array ( 'type' => 16384, 'message' => 'Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.', 'file' => '/var/www/htdocs/wp-includes/functions.php', 'line' => 5754, ) [] []
[2022-10-02 02:05:53] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:05:34] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:05:34] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:05:26] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:05:26] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:05:26] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:04:54] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:04:54] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:04:53] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:04:25] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:04:25] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:04:24] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:04:05] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:03:53] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
[2022-10-02 02:03:53] xcloner_file_system.DEBUG: Deleting the temporary storage folder /var/www/htdocs/wp-content/backups-XqANW//.xcloner [] []
[2022-10-02 02:03:52] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Declaration of GW_GoPricing_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($feedback, ...$args)', 'file' => '/var/www/htdocs/wp-content/plugins/go_pricing/includes/core/class_plugin_installer_skin.php', 'line' => 20, ) [] []
[2022-10-02 02:03:11] php_system.DEBUG: E_WARNING: array ( 'type' => 2, 'message' => 'Cannot modify header information - headers already sent', 'file' => '/var/www/htdocs/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php', 'line' => 1442, ) [] []
]]>What is the solution to this?
Where do a find a step by step setup guide for ANY of the remote storage options? I note the Xcloner documentation appears to gloss over or simply omit this critical info, as if it were somehow trivial or obvious.
]]>I had the following issue using XCloner.
I wanted to restore a local backup. Already in the 1st step, when the files are restored, I got the message: “500 Internal Server Error”.
After that the website was no longer accessible, the only thing I received was a “critical error” message. It was already quite late and it was a bigger customer’s website – so it was no fun!
Finally I manged to upload the tar-file, the xcloner_restore.php and vendor.phar via ftp and run the restore successfully from a remote site.
I understand that it is quite hard for you to give the reasons for the failing local backup with this information. But maybe you can give some advice where to investigate further. Finally – a non reliable backup-tool is maybe worse than no backup tool. Hence, I would like to understand what’s going on.
Here are my questions:
– What is the difference between a local restore and a remote restore, where all files are already on the target site?
If I understand it correctly, in my case, where I uploaded everything manually to the target site, the remote or source site only acts as kind of a remote control. Still everything happens on the target site (unpacking, copy to the related folders). So if there is a limitation, e.g. in max execution time on the target site server, it should have an impact independent if I do a local or a remote restore.
So what could be a reason that a local restore fails while a remote restore succeeds?
– What can I ask the hoster (currently I try to get access to the hoster)? What limitations can make XCloner to fail in the described way?
Here is what XCloner itself has detected:
– PHP 7.4.22
– PHP max_execution_time : 3600
– PHP memory_limit : 512M
– Reading Time 1MB Block : 0.0016670227050781
– Writing Time 1MB Block : 0.014794826507568
The backup-tar-file is about 930 MB in size.
Thank you for your support.
BR Christian
]]>The backup process itself works perfect. The backup size is 92MB.
Log (*** = hidden Data):
[2021-06-30 05:15:44] php_system.ERROR: E_ERROR: array ( 'type' => 1, 'message' => 'Out of memory (allocated 191565824) (tried to allocate 785912584 bytes)', 'file' => '***/wp-content/plugins/xcloner-google-drive/vendor/league/flysystem/src/Util/MimeType.php', 'line' => 209, ) [] []
[2021-06-30 05:15:44] xcloner_remote_storage.INFO: Transferring backup ***-d3221.tgz to remote storage GDRIVE [""] []
[2021-06-30 05:15:44] xcloner_file_system.INFO: Cleaning the backup storage GDRIVE on matching rules [] []
[2021-06-30 05:15:44] xcloner_remote_storage.INFO: Using target folder with ID *** on the remote storage [] []
[2021-06-30 05:15:43] xcloner_remote_storage.INFO: Doing a Google Drive emptyTrash call [""] []
[2021-06-30 05:15:43] xcloner_remote_storage.INFO: Creating the Google Drive remote storage connection [""] []
I have some other websites (partly on same server with same php settings) where it works perfectly. The backups there are already larger.
In addition I tried to increase the php memory_limit=1024M
, but didn’t help.
Thank you for helping!
]]>I think that i have found a bug in xcloner.
When i try to make a backup to remote storage and use webdav i get the message “error”. I have tested the connection and it shows that it is setup correctly. I tried to temporarily downgrade to xcloner 4.1.0, then the backup was transferred to the remote storage without the error message.
This setup has worked before, but now with version 4.2.9 the backup to remote host with webdav is not working.
]]>