rustic
rustic copied to clipboard
`error: data decryption failed` - Can't List Snapshots
Hi,
I have a repository that suddenly won't allow me to list snapshots. It was working fine before today. This is what I see when I run a snapshots command:
$ rustic -P aws snapshots
[INFO] using config /home/o/.config/rustic/aws.toml
[INFO] repository local:/mnt/hard/O/Backups/Rustic/AWS: password is correct.
[INFO] using no cache
error: data decryption failed
Other commands such as find also don't work (I'm using the nightly builds):
$ rustic -P aws find --iglob "*.pdf"
[INFO] using config /home/o/.config/rustic/aws.toml
[INFO] repository local:/mnt/hard/O/Backups/Rustic/AWS: password is correct.
[INFO] using no cache
[00:00:00] reading index... ████████████████████████████████████████ 22/22 [00:00:00] getting snapshots... ████████████████████████████████████████ 0
error: data decryption failed
At the same time, some commands such as backup do work:
$ rustic -P aws backup
[INFO] using config /home/o/.config/rustic/aws.toml
[INFO] repository local:/mnt/hard/O/Backups/Rustic/AWS: password is correct.
[INFO] using no cache
[00:00:00] reading index... ████████████████████████████████████████ 22/22 [INFO] using all backup sources from config file.
[INFO] merging source="/home/o/Downloads/AWS" section from config file
[INFO] using no parent
[INFO] starting to backup "/home/o/Downloads/AWS"...
[00:00:01] backing up... ████████████████████████████████████████ 187.70 MiB/187.70 MiB 159.86 MiB/s (ETA -)Files: 9 new, 0 changed, 0 unchanged
Dirs: 5 new, 0 changed, 0 unchanged
Added to the repo: 0 B (raw: 0 B)
processed 9 files, 187.7 MiB
snapshot 38151dc1 successfully saved.
[INFO] backup of "/home/o/Downloads/AWS" done.
and:
$ rustic -P aws repoinfo
[INFO] using config /home/o/.config/rustic/aws.toml
[00:00:02] scanning files... [INFO] repository local:/mnt/hard/O/Backups/Rustic/AWS: password is correct.
[INFO] using no cache
[00:00:00] scanning index... ████████████████████████████████████████ 22/22 repository files
| File type | Count | Total Size |
|-----------|-------|------------|
| Key | 1 | 363 B |
| Snapshot | 47 | 24.2 kiB |
| Index | 22 | 18.1 kiB |
| Pack | 47 | 121.0 MiB |
| Total | 117 | 121.0 MiB |
| Blob type | Count | Total Size | Total Size in Packs |
|-----------|-------|------------|---------------------|
| Tree | 110 | 358.4 kiB | 134.3 kiB |
| Data | 155 | 152.0 MiB | 120.8 MiB |
| Total | 265 | 152.3 MiB | 121.0 MiB |
| Blob type | Pack Count | Minimum Size | Maximum Size |
|------------|------------|--------------|--------------|
| Tree packs | 22 | 6.3 kiB | 6.4 kiB |
| Data packs | 25 | 69.8 kiB | 34.3 MiB |
I'm currently using the following (as I want the find command):
$ rustic --version
rustic v0.7.0-45-gfc8e3c5-nightly
I also downloaded and tried it on the stable version and have the same problem:
$ ./rustic --version
rustic v0.7.0
My configuration is very simple (I have another repo with the exact same configuration options which is still working fine):
[repository]
repository = "/mnt/hard/O/Backups/Rustic/AWS"
password = "password"
no-cache = true # no cache needed for local repository
[forget]
keep-hourly = 24
keep-daily = 14
keep-weekly = 8
keep-monthly = 24
keep-yearly = 10
[backup]
#exclude-if-present = [".nobackup", "CACHEDIR.TAG"]
#glob-file = ["/root/rustic-local.glob"]
one-file-system = true
[[backup.sources]]
source = "/home/o/Downloads/AWS"
git-ignore = true
Any ideas? Thanks