You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using xcloner for a while with WP_CLI to start my backups, and I transfer them to Google Drive. In the beginning, everything was fine, the backup took 30 seconds, but sometimes the backup would randomly fail, and more and more often as my sites grew and backups took longer, all the backups failed. The problem was that "backup_files.csv" was being deleted for an unknown reason during the backup process. Without success, I could not determine the cause. With the command "chattr +a backup_files.csv," the backups were fine. I added several traces in the code to see where "backup_files.csv" was being deleted, but there seemed to be no place likely to delete it. So, in the "do_shutdown" -> "remove_tmp_filesystem()" function, which deletes files if a cronjob is launched before the end of the backup via wp-cli, I have temporarily commented "// remove_tmp_filesystem()" and the backups are functional.
The text was updated successfully, but these errors were encountered:
I have been using xcloner for a while with WP_CLI to start my backups, and I transfer them to Google Drive. In the beginning, everything was fine, the backup took 30 seconds, but sometimes the backup would randomly fail, and more and more often as my sites grew and backups took longer, all the backups failed. The problem was that "backup_files.csv" was being deleted for an unknown reason during the backup process. Without success, I could not determine the cause. With the command "chattr +a backup_files.csv," the backups were fine. I added several traces in the code to see where "backup_files.csv" was being deleted, but there seemed to be no place likely to delete it. So, in the "do_shutdown" -> "remove_tmp_filesystem()" function, which deletes files if a cronjob is launched before the end of the backup via wp-cli, I have temporarily commented "// remove_tmp_filesystem()" and the backups are functional.
The text was updated successfully, but these errors were encountered: