-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Removal of old backups in combination with NAS copy only deletes in NAS directory. #1074
Comments
Can you please set the instance of Backitup to debug and post the log of the backup process. Please post the debug log output here |
Thank you for the hint. I just enabled debug checkbox within the adapter config settings and noticed the following after a fresh scheduled backup run:
Noticing now the message Nevertheless, even thought that this issue point at some issues in my own installation here, allow me to suggest the following changes to prevent others from running into the same issues:
|
I understand your problem... However, the "bad request" for telegram is incomprehensible to me. I tried to reproduce the error and all I get is this short message.
|
I have a similar issue, I use "local" backup only (because a scp script grabs all the files) and the files from /opt/iobroker/backups are not getting deleted. I've set days to 1 but nothing is deleted. My error is:
|
As your log already says, you have errors in the backup process. That's why nothing is deleted... |
You are right ... it was an issue with the "lokal" backup of the influxdb. |
Hello, here the log from the sheduled backup at 00:16
|
Please post your Config in a JSON File |
here my config (i have just edit the google drive token) yesterday i have deleted the backitup instace and adapter too and rebootet. After that install backitup again, but no success, the old backups on google drive are not deleted. |
Backups are never deleted during manual backups |
Darf man hier auf Deutsch schreiben? Ich versuchs... Jetzt ist mir aufgefallen in meinem obigem .log, dass dort nur 33 backup files detectet werden, obwohl im Google Drive ca 68 ioBroker-backup-Files waren. Vielleicht ist dort das problem: 2024-02-27 00:15:29.452 - debug: backitup.0 (2470) detect backup file 33 from googledrive: iobroker_2024_01_27-02_36_10_backupiobroker.tar.gz |
Lösche mal die Backups, die nicht erkannt werden händisch und beobachte es im Anschluss mal |
sooo ... ich habe das jetzt ausgiebig getestet und festgestellt, dass es entweder so gewollt ist oder ist es ein BUG. Fazit für mich: PS: ich werde jetzt noch schauen, wie das mit den lokalen backups aussieht. Weil ich den Eindruck habe, dass auch die lokalen backups nicht gelöscht wurden. |
Ich kann das so leider nicht reproduzieren... Habe mal zum testen alle 5 Minuten ein Backup gemacht, um auf deine hohe Anzahl zu kommen.
|
ok, danke für die Überprüfung ... dann ist das Problem bei mir. |
Hi, `2024-03-19 22:25:48.495 - debug: backitup.0 (10840) detect backup file 30 from googledrive: iobroker_2024_02_26-23_58_10_backupiobroker.tar.gz 2024-03-19 22:25:48.495 - debug: backitup.0 (10840) detect backup file 31 from googledrive: iobroker_2024_02_26-23_54_18_backupiobroker.tar.gz 2024-03-19 22:25:48.496 - debug: backitup.0 (10840) detect backup file 32 from googledrive: iobroker_2024_02_26-02_36_22_backupiobroker.tar.gz 2024-03-19 22:25:48.496 - debug: backitup.0 (10840) detect backup file 33 from googledrive: iobroker_2024_02_25-02_36_22_backupiobroker.tar.gz 2024-03-19 22:25:48.499 - debug: backitup.0 (10840) detect last backup file: iobroker_2024_03_19-02_37_10_backupiobroker.tar.gz installierte Backitup version: 2.10.11 |
Describe the bug
When backitup is configured to perform a standard ioBroker backup in combination with a "NAS (Copy)" to copy the final backup files to a NAS directory and also the automatic removal of old backup files is configured in the ioBroker backup settings section, backitup only removes old backups in the NAS directory and not in the temporary
/opt/iobroker/backups
path. This in fact already resulted in a full filesystem because over time the local directory is filled up constantly until the local disk space is exhausted.To Reproduce
Steps to reproduce the behavior:
/opt/iobroker/backups
path./opt/iobroker/backups
path will contain more than 10 backups.Expected behavior
Backitup should either also delete all old backups in the
/opt/iobroker/backups
path or should not keep backups at all in the local path in case a NAS(Copy) action is configured as well.Versions:
The text was updated successfully, but these errors were encountered: