mirror of
https://github.com/DoTheEvo/selfhosted-apps-docker.git
synced 2026-11-11 09:12:52 +01:00
update
This commit is contained in:
1 parent
adcb2e3d7a
commit
45ebd40b81
2 files changed
+4
-5
No files matched your search
+2
-2
@@ -180,7 +180,7 @@ but borg backup is daily making snapshot of the entire directory.
|
||||
docker container exec bookstack tar -czPf /config/BACKUP.bookstack.uploaded-files.tar.gz /config/www/
|
||||
```
|
||||
|
||||
the script must be executabe - `chmod +x bookstack-backup-script.sh`
|
||||
the script must be **executabe** - `chmod +x bookstack-backup-script.sh`
|
||||
|
||||
* **cronjob** on the host</br>
|
||||
`crontab -e` - add new cron job</br>
|
||||
@@ -192,7 +192,7 @@ but borg backup is daily making snapshot of the entire directory.
|
||||
Assuming clean start, first restore the database before running the app container.
|
||||
|
||||
* start only the database container: `docker-compose up -d bookstack_db`
|
||||
* have `BACKUP.bookstack.database.sql` mounted in
|
||||
* have `BACKUP.bookstack.database.sql` mounted in by placing it in `bookstack/bookstack-data`
|
||||
* exec in to the container and restore the database</br>
|
||||
`docker container exec -it bookstack_db /bin/bash`</br>
|
||||
`cd /config`</br>
|
||||
|
||||
Reference in new issue
Block a user