1
0
Fork 0

Tweak restore docs

master
Philip O'Toole 8 years ago
parent 1f6358e413
commit 853c8381b7

@ -1,9 +1,9 @@
# Restoring from a SQLite dump file # Restoring from a SQLite dump file
rqlite supports loading a cluster directly from a SQLite dump file. This is a fast and efficient manner to bootstrap a system from an existing SQLite database, or to restore from an existing [node backup](https://github.com/rqlite/rqlite/blob/master/doc/BACKUPS.md). An example restore is shown below. rqlite supports loading a node directly from a SQLite dump file. This is a fast and efficient manner to bootstrap a system from an existing SQLite database, or to restore from an existing [node backup](https://github.com/rqlite/rqlite/blob/master/doc/BACKUPS.md). An example restore is shown below.
## Example ## Example
The following example shows a trivial database being generated by sqlite3, dumped to a file, and then loaded into an rqlite node listening on localhost. The following example shows a trivial database being generated by `sqlite3`, dumped to a file, and then loaded into a rqlite node listening on localhost.
```bash ```bash
~ $ sqlite3 restore.sqlite ~ $ sqlite3 restore.sqlite
SQLite version 3.14.1 2016-08-11 18:53:32 SQLite version 3.14.1 2016-08-11 18:53:32

Loading…
Cancel
Save