2023-03-05 21:16:42 +00:00
2023-03-05 21:40:40 +00:00
2023-03-11 13:40:15 +00:00

git.limbosolutions.com

Welcome to public repository of my Git Server

Using gitea and duplicati for backups.

Check for more information about admistration.

Requirements

Setup

Docker Compose File

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
No description provided
Readme 278 KiB
Languages
Shell 100%