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
{{ message }}
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
* bottomless-cli: fix too eager create_dir_all() call
The way create_dir_all() is called on a path to the database,
it also creates the final file name as a directory. As a result,
restoration later fails, because `data.tmp` cannot be moved to `data`,
with `data` being already mistakenly created as a directory.
* bottomless-cli: add `verify` command
The command works similarly to `restore`, except it restores
to a temporary directory and runs a `pragma integrity_check` query.
On success it should return:
```
bottomless-cli -e http://localhost:9000 -n ns-:default -d e4e57664-01ad-76cc-9f19-a96700d5b2e4 verify
Snapshot size: 13512704
Verification: ok
```
0 commit comments