Cloudron 9.0.5 doesn't show backups from version 8?
-
Alright and have checked the eventlog, yet? If you filter by backup.cleanup events you should see which one triggered the cleanup, it will show in the eventlog entry details. If that is the case at least we know it came from there and not some migration issue.
Ideally then the logs for that run are still available to further get down to the issue.
-
so there is the system -> eventlog view which has those
backup.cleanupevents which would also show if and what it cleaned up. There is also a log button in that view for the event, which should then have more info on why it cleaned up those backups. Once we have that we can check if there is a bug or not. -
There is no entry when I search for that event. However, I have just ran the backup cleaner manually, and then went to the logs and tried to find the event. It appears as the first line, but I can't find it with any of these terms:
"Backup cleaner"
"backup.cleaner"
"backupcleaner" (although this one appears in the logs inside)
So, I wonder if the search works properly.By manually going through the event logs, I can find the backup cleaner running regularly, but it never removed anything (except for one app I uninstalled, but that's unrelated).
Also, the backups seem to exist still in storage, but they aren't recognised by Cloudron. New backups are being created and recognised on schedule.
I also downloaded the task-specific logs for that upgrade.
-
If one is to actually look into one's S3 storage one will find a LOT of orphaned backup files that Cloudron allegedly doesn't have anymore. The backup system is DEFUNCT on ALL my installations. So much so, I've simply disabled it.
-
@ekevu123 there was a bug in 9.0.4 that if you had multiple backup sites, it was cleaning up old backups incorrectly. I have fixed this in 9.0.5 . But if your server probably ever had 9.0.4 and multiple backup sites, it would have hit this bug (i.e removing valid backups from the database.. they are not removed from the storage itself though). Is this is the case with yours?
-
If one is to actually look into one's S3 storage one will find a LOT of orphaned backup files that Cloudron allegedly doesn't have anymore. The backup system is DEFUNCT on ALL my installations. So much so, I've simply disabled it.
@svtx said in Cloudron 9.0.5 doesn't show backups from version 8?:
The backup system is DEFUNCT on ALL my installations.
TBH this sounds like a problem with your systems, not Cloudron. I've been using Cloudron for years, in part because the backups Just Work. I've used them to migrate my whole server and all the apps a number of times with zero issues. I have also restored backups of apps lots of times too. Again, it's always just worked seamlessly. The backup system is definitely not defunct in general.
-
@ekevu123 there was a bug in 9.0.4 that if you had multiple backup sites, it was cleaning up old backups incorrectly. I have fixed this in 9.0.5 . But if your server probably ever had 9.0.4 and multiple backup sites, it would have hit this bug (i.e removing valid backups from the database.. they are not removed from the storage itself though). Is this is the case with yours?