You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pablo@pablo-MII-V:/dev/shm$ sudo influx restore /dev/shm/influxdb_backup --token ""$INFLUX_ROOT_TOKEN""
2025/01/21 21:10:23 INFO: Restoring bucket "196e269b74ba658d" as "cpe_periodic_reports"
Error: failed to restore bucket "cpe_periodic_reports": 422 Unprocessable Entity: bucket with name cpe_periodic_reports already exists
If I delete the bucket:
pablo@pablo-MII-V:/dev/shm$ sudo influx restore /dev/shm/influxdb_backup --token ""$INFLUX_ROOT_TOKEN""
2025/01/21 21:24:08 INFO: Restoring bucket "196e269b74ba658d" as "cpe_periodic_reports"
Error: failed to restore bucket "cpe_periodic_reports": 401 Unauthorized: read:authorizations is unauthorized
Finally with the --new-bucket flag:
pablo@pablo-MII-V:/dev/shm$ sudo influx restore /dev/shm/influxdb_backup --new-bucket --token "uLdH_rC1K5EpO6eFmGHRhBzRTdI4t8oBWHqFDxyIOsrN9-RG_lfHYJR_vTb4oR6o1u9KbK57-iR4siVq_jBleA=="
Error: --bucket-id or --bucket must be set to use --new-bucket
Its obvious but anyway I will clarify that there are more than just 1 bucket in the backup, so I don't understand why always a bucket is referred when the backup was performed generally.
It will be great to understand which kind of madness is this.
Thanks in advance.
Pablo.
The text was updated successfully, but these errors were encountered:
phpaiva
changed the title
Perform a restore is impossible
Perform a restore from recent backup
Jan 22, 2025
I am doing a backup with:
influx backup "$INFLUX_BACKUP_PATH" -t="$INFLUX_ROOT_TOKEN"
The backup is performed. When I try to backup:
If I delete the bucket:
Finally with the --new-bucket flag:
Its obvious but anyway I will clarify that there are more than just 1 bucket in the backup, so I don't understand why always a bucket is referred when the backup was performed generally.
It will be great to understand which kind of madness is this.
Thanks in advance.
Pablo.
The text was updated successfully, but these errors were encountered: