35 lines
1.0 KiB
Markdown
35 lines
1.0 KiB
Markdown
# git.limbosolutions.com
|
|
|
|
Welcome to public repository of my [Git Server](https://git.limbosolutions.com)
|
|
|
|
Using [gitea](https://git.limbosolutions.com/kb/gitea) and [duplicati](https://git.limbosolutions.com/kb/duplicati) for backups.
|
|
|
|
[Check](doc/administration/README.md) for more information about admistration.
|
|
|
|
## Requirements
|
|
|
|
- Docker
|
|
_Currently hosted on an ubuntu lxc container with docker and portainer [+ information](https://git.limbosolutions.com/kb/lxc)._
|
|
|
|
- [Duplicati Image with mySql client](https://git.limbosolutions.com/kb/duplicati/src/branch/main/docker/mysqlclient/README.md)
|
|
|
|
## Setup
|
|
|
|
[Docker Compose File](docker-compose.yaml)
|
|
|
|
## Backup & Restore
|
|
|
|
Using [duplicati](https://git.limbosolutions.com/kb/duplicati) to daily backups of files and databases.
|
|
|
|
### Restore Database
|
|
|
|
```bash
|
|
#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})
|
|
```
|
|
|