0a0a94c64d2fc0fdcc9bf4ae941858eb1395906e
git.limbosolutions.com
Welcome to public repository of my Git Server
Using gitea and duplicati for backups.
Check for more information about admistration.
Requirements
-
Docker Currently hosted on an ubuntu lxc container with docker and portainer + information.
Setup
Backup & Restore
Using 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 for folder structure on /git)
- Schedule: every day at 1 am
- run-script-before-required:/duplicati-mysqlclient/scripts/backupdb.sh
Restore Database
#select a file to import
ls /db-dumps
#select a file to import
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})
Description
Languages
Shell
100%