Cloudron 9.0.5 doesn't show backups from version 8?
-
Not critical for me, but after upgrading to Cloudron 9.0.5, no previous backups are being shown - only the one I made after upgrading (and potentially any new ones coming up).
Is that intentional? After all, there might be a case where I'd want to restore a previous setup.
This only applies to system backups, the individual apps do show their previous backups.
-
Hm this should not really be the case. Can you check if the backups are still in the db table or not via SSH and:
mysql -uroot -ppassword box -e 'select id,creationTime from backups where type="box"'Also just to be sure, were they gone immediately after update or maybe purged by the cleanup job? The task logs there should hopefully give some indication.
-
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.