You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
367 B
Markdown
10 lines
367 B
Markdown
# Backups
|
|
|
|
rqlite supports hot-backing up a node. You can retrieve and write a consistent snapshot of the underlying SQLite database to a file like so:
|
|
|
|
```bash
|
|
curl localhost:4001/db/backup -o bak.sqlite3
|
|
```
|
|
|
|
This file can then be used to restore a node (or cluster) using the [restore API](https://github.com/rqlite/rqlite/blob/master/doc/RESTORE_FROM_SQLITE.md).
|