Document how to backup data.
This commit is contained in:
parent
4514dc3309
commit
db0d25b86e
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
|
@ -76,8 +76,15 @@ different services:
|
|||
- mempool: upgrade web, api and db in docker-compose.yaml.
|
||||
- LNbits: upgrade in docker-compose.yaml.
|
||||
|
||||
### How to backup data
|
||||
## How to backup data
|
||||
|
||||
TODO: explain how to back all the data up with a rsync.
|
||||
The relevant assets you should backup are:
|
||||
- Your `.env` file.
|
||||
- Your `docker-compose-yaml` (if you changed any of its contents).
|
||||
- Your data folder.
|
||||
|
||||
An `rsync` to another server should do the trick. You probably don't want to
|
||||
copy the bitcoin blockchain and the electrs indexes due to their massive size.
|
||||
You can use the `--exclude` option when calling `rsync` to exclude them.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue