Skip to content

Commit f32a1bf

Browse files
Merge pull request #48 from virolea/remove-deprecated-command-from-readme
Remove docs about deprecated`Litestream::Command.verify` command
2 parents 9cf0e5b + e3813e4 commit f32a1bf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,6 @@ Litestream::Commands.restore('storage/production.sqlite3')
435435
# => "storage/production-20240418090048.sqlite3"
436436
```
437437

438-
Finally, you can verify the integrity of a restored database using the `Litestream::Commands.verify` method, which returns a hash with the "size" and "tables" keys for the original and restored databases:
439-
440-
```ruby
441-
Litestream::Commands.verify('storage/production.sqlite3')
442-
# => {"size"=>{"original"=>21688320, "restored"=>21688320}, "tables"=>{"original"=>9, "restored"=>9}}
443-
```
444-
445438
You _can_ start the replication process using the `Litestream::Commands.replicate` method, but this is not recommended. The replication process should be managed by Litestream itself, and you should not need to manually start it.
446439

447440
### Running commands from CLI

0 commit comments

Comments
 (0)