Skip to content

Commit

Permalink
Merge pull request #48 from virolea/remove-deprecated-command-from-re…
Browse files Browse the repository at this point in the history
…adme

Remove docs about deprecated`Litestream::Command.verify` command
  • Loading branch information
fractaledmind authored Oct 24, 2024
2 parents 9cf0e5b + e3813e4 commit f32a1bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,13 +435,6 @@ Litestream::Commands.restore('storage/production.sqlite3')
# => "storage/production-20240418090048.sqlite3"
```

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:

```ruby
Litestream::Commands.verify('storage/production.sqlite3')
# => {"size"=>{"original"=>21688320, "restored"=>21688320}, "tables"=>{"original"=>9, "restored"=>9}}
```

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.

### Running commands from CLI
Expand Down

0 comments on commit f32a1bf

Please sign in to comment.