From 0a0a94c64d2fc0fdcc9bf4ae941858eb1395906e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 11 Mar 2023 13:40:15 +0000 Subject: [PATCH] doc: backup documentation --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee458eb..89ac071 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,14 @@ _Currently hosted on an ubuntu lxc container with docker and portainer [+ inform ## Backup & Restore -Using [duplicati](https://git.limbosolutions.com/kb/duplicati) to daily backups of files and databases. +Using [duplicati](https://git.limbosolutions.com/kb/duplicati) to daily backups of files and databases. + +- Backup Name: git +- Destination Server: backupsrv01.dev.lan +- Destination Path: /git.limbosolutions.com/duplicati/git +- Source Data : /git (check [Docker Compose File](docker-compose.yaml) for folder structure on /git) +- Schedule: every day at 1 am +- run-script-before-required:/duplicati-mysqlclient/scripts/backupdb.sh ### Restore Database @@ -31,4 +38,3 @@ DB_FILE= "file name to import" mysql --host db -uroot -p ${MYSQL_DATABASE} < /db-dumps/$DB_FILE #root password (root password is the enviromnent variable ${MYSQL_ROOT_PASSWORD}) ``` -