First doc version

This commit is contained in:
Einar Forselv
2019-12-09 03:57:16 +01:00
parent 151f3cfeeb
commit fb3c564d7a
5 changed files with 311 additions and 2 deletions

26
docs/guide/advanced.rst Normal file
View File

@@ -0,0 +1,26 @@
Advanced
========
Temp Notes
----------
* Quick setup guide from start to end
* we group snapshots by path when forgetting
* explain rcb commands
* examples of using restic directly
* Explain what happens during backup process
* Explain the backup process container
Inner workings
--------------
* Each service in the compose setup is configured with a label
to enable backup of volumes or databases
* When backup starts a new instance of the container is created
mapping in all the needed volumes. It will copy networks etc
to ensure databases can be reached
* Volumes are mounted to `/volumes/<service_name>/<path>`
in the backup process container. `/volumes` is pushed into restic
* Databases are backed up from stdin / dumps into restic using path
`/databases/<service_name>/dump.sql`
* Cron triggers backup at 2AM every day