mirror of
https://github.com/Gurkengewuerz/nitro-docker.git
synced 2024-11-27 02:00:51 +01:00
doc: create more detailed archive/backup description
This commit is contained in:
parent
ff4be289fc
commit
72b3a692b7
13
README.md
13
README.md
@ -178,6 +178,17 @@ docker compose restart arcturus
|
|||||||
|
|
||||||
## Create an archive/backup
|
## Create an archive/backup
|
||||||
|
|
||||||
|
### Export running containers
|
||||||
```bash
|
```bash
|
||||||
7z a -mx=9 nitro-$(date -d "today" +"%Y%m%d_%H%M").7z ./
|
bash ./export_containers.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Create manual database backup
|
||||||
|
```bash
|
||||||
|
docker compose exec backup backup-now
|
||||||
|
```
|
||||||
|
|
||||||
|
### Save all data
|
||||||
|
```bash
|
||||||
|
7z a -mx=9 nitro-$(date -d "today" +"%Y%m%d_%H%M").7z ./ -x!db/data
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user