Skip to content

influxdb backup überschreibt eigene Sicherung? #1399

@randomname32

Description

@randomname32

Ich habe 3 influxdb buckets, die ich über backitup sichern möchte. Es handelt sich um einen einigermaßen großen bucket der alle möglichen Datenpunkte teilweise im Sekundentakt loggt und eine retention policy von 14d hat. Die anderen beiden sind dann hourly und daily aggregation buckets mit längerer retention time, aber entsprechend deutlich weniger Datenpunkten.
Das backup läuft ohne Fehler durch und auch das log sieht so aus als ob 3 backups erstellt werden. Allerdings werden auf dropbox (wo die backups hochgeladen werden) nur 2 backup Dateien für influxdb erstellt.

Wenn man sich das Logfile anschaut sieht man, dass zwei backup-Dateien den selben Zeitstempel haben. Meine Vermutung ist, dass die erste Datei einfach überschrieben wird.

Kann das sein?

[DEBUG] [influxDB] InfluxDB-Backup for is started ...
[DEBUG] [influxDB] Start InfluxDB Backup ...
[DEBUG] [influxDB] InfluxDB Backup tmp directory created
[DEBUG] [influxDB] Backup created: /opt/iobroker/backups/influxDB_2026_03_10-02_40_13_backupiobroker.tar.gz
[DEBUG] [influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2026_03_10-02_40_13_backupiobroker"
[DEBUG] [influxDB] InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2026_03_10-02_40_13_backupiobroker" successfully deleted
[DEBUG] [influxDB] InfluxDB-Backup for is finish
[DEBUG] [influxDB] InfluxDB-Backup for is started ...
[DEBUG] [influxDB] Start InfluxDB Backup ...
[DEBUG] [influxDB] InfluxDB Backup tmp directory created
[DEBUG] [influxDB] Backup created: /opt/iobroker/backups/influxDB_2026_03_10-02_40_22_backupiobroker.tar.gz
[DEBUG] [influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2026_03_10-02_40_22_backupiobroker"
[DEBUG] [influxDB] InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2026_03_10-02_40_22_backupiobroker" successfully deleted
[DEBUG] [influxDB] InfluxDB-Backup for is finish
[DEBUG] [influxDB] InfluxDB-Backup for is started ...
[DEBUG] [influxDB] Start InfluxDB Backup ...
[DEBUG] [influxDB] InfluxDB Backup tmp directory created
[DEBUG] [influxDB] Backup created: /opt/iobroker/backups/influxDB_2026_03_10-02_40_22_backupiobroker.tar.gz
[DEBUG] [influxDB] Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2026_03_10-02_40_22_backupiobroker"
[DEBUG] [influxDB] InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2026_03_10-02_40_22_backupiobroker" successfully deleted
[DEBUG] [influxDB] InfluxDB-Backup for is finish
[DEBUG] [influxDB] done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions