40 lines
1.2 KiB
Markdown
40 lines
1.2 KiB
Markdown
# Setup
|
|
|
|
## Requirements
|
|
|
|
- Docker
|
|
|
|
_Currently hosted on an ubuntu lxc container with docker and portainer [+ information](setup-lxc.md)._
|
|
|
|
## /Services (Stacks)
|
|
|
|
### Gitea
|
|
|
|
[Docker Compose](../docker/docker-compose.yaml)
|
|
|
|
### Duplicati
|
|
|
|
- [Docker File](https://git.limbosolutions.com/kb/duplicati/docker/sqlclient.dockerfile)
|
|
- [Docker Compose](../docker/docker-compose.yaml)
|
|
|
|
### Restore
|
|
|
|
1) Execute Setup process
|
|
1) Check Every Container is ok and running
|
|
1) Stop Every Container (including portainer, if restoring portainer is a requirement) except duplicati
|
|
1) Enter Duplicati
|
|
1) Import Backjob (if possible, if not possible next steps must be adapted)
|
|
- All Imported jobs schedules must be disabled (or disable write permissions on backup host)
|
|
1) Restore all files to original location
|
|
- If database engine is diferent do not restore db_data and check restore database before next steps
|
|
1) Start Container and check if everything is ok
|
|
|
|
#### Database
|
|
|
|
Only required of database data files not recovarable (example: diferent database engine from backup)
|
|
|
|
1) Start Portainer container (if stopped in restore process)
|
|
2) Start Database container (if stopped in restore process)
|
|
3) Enter duplicati bash (by using portainer)
|
|
4) Execute Command
|