Hi, If I run the snapshots command, I get a few old snapshots (from when I ran the first time the backup command), and some recover snapshots that I created with the recover command. But it does not show the recent snapshots created using the backup command.
Just now I made a new snapshot using the backup command:
############################
user@ubuntu_nas:~$ restic -r b2:[Repository] backup [/Path]
repository f09d2171 opened successfully, password is correct
Files: 0 new, 0 changed, 1941 unmodified
Dirs: 0 new, 7 changed, 0 unmodified
Added to the repo: 2.574 KiB
processed 1941 files, 1016.828 MiB in 0:03
snapshot 7300d518 saved
user@ubuntu_nas:~$ restic -r b2:[Repository] snapshots
repository 9c8d785f opened successfully, password is correct
ID Time Host Tags Paths
Why is the latest snapshot (7300d518) not showing here? And all the other backup snapshots made once a night? I can see in Backblaze portal that the backup command runs every night, as I also just did manually.
Very interesting. At first one might think that it’s just B2 being eventually consistent, but if it’s been days since you took some snapshots where you know restic said “snapshot saved” and they still don’t appear, that’s fishy.
I don’t suppose there’s the concept of a filesystem with directories in your B2 bucket? If there was, I would suggest that you use some file browser for it to check in the snapshots directory if there are any files there for the snapshots you’re missing.
restic 0.9.6 compiled with go1.13.4 on linux/amd64
The B2 bucket does not show the restic snapshots, it is a restic thing… There are (encrypted) file blocks in B2, and I can see that files that were changed on the server resulted in a new uploaded file block to B2
I run restic cron jobs backing up different folders on the server to different folders in the B2 Bucket. And I looked for snapshots of the main bucket, not the bucket folders that I backup to every night.
Np, glad to hear snapshots were not lost.
I also spent some time panicking “oh shoot did I prune these production snapshots” then realizing my environment variables are set for a different repo
Sure thing. Meanwhile you can always just grab the restic 0.10.0 binary and run that, since it’s really just one single binary that doesn’t need to be installed or anything, just run it. We won’t tell Dustin, promise!