.
This commit is contained in:
@@ -11,12 +11,38 @@ _Currently hosted on an ubuntu lxc container with docker and portainer [+ inform
|
||||
### Services (Stacks)
|
||||
|
||||
If portainer installed use portainer (http://githost:9000) to setup/manage services
|
||||
Stacks:
|
||||
|
||||
- Stack Name: gitea
|
||||
_[Docker Compose](../docker/docker-compose.yaml)_
|
||||
Required environment variables (.env):
|
||||
|
||||
Access duplicati (http://ipaddress:8200) and set a password
|
||||
```bash
|
||||
GITEA_APP_VOLUMES_DATA_NAME=gitea_app_data
|
||||
GITEA_DB_VOLUMES_DATA_NAME=gitea_db_data
|
||||
GITEA_DB_VOLUMES_DB-DUMPS_NAME=gitea_db-dumps
|
||||
GITEA_NETWORK_DEFAULT_NAME=gitea_default
|
||||
DB_NAME=??
|
||||
DB_USER=??
|
||||
DB_PASSWORD=??
|
||||
DB_ROOT_PASSWORD=??
|
||||
HTTP_PORT=???
|
||||
```
|
||||
|
||||
#### Gitea
|
||||
|
||||
_[Docker Compose File](../docker/gitea-docker-compose.yaml)_
|
||||
|
||||
#### Duplicati
|
||||
|
||||
_[Docker Compose File](../docker/dupliticati-docker-compose.yaml)_
|
||||
|
||||
After starting stack:
|
||||
|
||||
- Access duplicati (http://ipaddress:8200) and set a password
|
||||
|
||||
##### Requirements
|
||||
|
||||
- Duplicati Container with mySql client
|
||||
- [Dockerfile](htpp://missinggiturl)
|
||||
- [Git](https://git.limbosolutions.com/kb/duplicati)
|
||||
|
||||
## Restore
|
||||
|
||||
@@ -34,7 +60,7 @@ Access duplicati (http://ipaddress:8200) and set a password
|
||||
1) Import Backup job (if not possible next steps must be adapted)
|
||||
- Restore with permissions checked
|
||||
- All Imported jobs schedules must be disabled (or disable write permissions on backup host)
|
||||
- Remove references to scripts (example:run-script-before-required, /data/myScripts/backupdb.sh)
|
||||
- (step not required after this migration) Remove references to scripts (example:run-script-before-required, /data/myScripts/backupdb.sh)
|
||||
1) Recreate duplicati local database (home-> backup-> advanced-> database-> Recreate (delete and repair))
|
||||
1) Restore all files to original location
|
||||
- If database engine is diferent do not restore db_data and check restore database **before next steps**
|
||||
|
||||
Reference in New Issue
Block a user