Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do_shutdown -> backup_files.csv #292

Open
dbccomm opened this issue Aug 13, 2023 · 0 comments
Open

do_shutdown -> backup_files.csv #292

dbccomm opened this issue Aug 13, 2023 · 0 comments

Comments

@dbccomm
Copy link

dbccomm commented Aug 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant