Automated backup not backing up all files, so a restore fails
-
I have a couple of wordpress (developer) apps running on cloudron
On checking the contents of the automated backups they are missing key files like wp-config.php
Is there a reason why it only backs up the data folder and a mysqldump - is this a plugin that is installed that needs to be used to restore?
-
Not only related to WordPress, but also to Nextcloud. I had a similar situation where important files were missing from the backup, e.g., ".ncdata" or the file related to PHP was there. It was completely missing, and I had it set up without encryption. It looked as if the script in Cloudron was misinterpreted in relation to the unencrypted copy. If the provider storage had blocked such files, we would have had an error about the backup being incorrectly transferred to the destination.
-
@matix131997 were you also using rsync ? Which backup provider? "If the provider storage had blocked such files" is particularly interesting to me. Are there providers that block specific filenames from being uploaded?
In @jamie.mckenzie 's case, I found that many files are missing. Unfortunately, it's hard to know where exactly the problem is. There are many things at play - Wasabi (which often has errors), WP Developer (where plugins can delete and change files), Backups have been failing for a while (on that specific Cloudron), Cloudron Backup code having some bug .
As mentioned in another thread, we have added integrity check to the backup logic now for the coming release. With that, we can know for sure what files were actually uploaded to the storage. And if it's the mistake of the storage provider or cloudron code that files are missing.
-
@matix131997 were you also using rsync ? Which backup provider? "If the provider storage had blocked such files" is particularly interesting to me. Are there providers that block specific filenames from being uploaded?
In @jamie.mckenzie 's case, I found that many files are missing. Unfortunately, it's hard to know where exactly the problem is. There are many things at play - Wasabi (which often has errors), WP Developer (where plugins can delete and change files), Backups have been failing for a while (on that specific Cloudron), Cloudron Backup code having some bug .
As mentioned in another thread, we have added integrity check to the backup logic now for the coming release. With that, we can know for sure what files were actually uploaded to the storage. And if it's the mistake of the storage provider or cloudron code that files are missing.
@girish Yes, rsync. Provider is Hetzner Storage Box