This commit is contained in:
@@ -1,30 +1,8 @@
|
||||
# Duplicati / mySql Client
|
||||
|
||||
```bash
|
||||
|
||||
#Executed on repository root folder
|
||||
docker build -t duplicati-mysqlclient:latest -f docker/mysqlclient/Dockerfile .
|
||||
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
#Executed on repository root folder
|
||||
sudo docker build -t duplicati-mysqlclient:latest -f docker/mysqlclient/Dockerfile --output type=tar,dest=build/duplicati-mysqlclient.tar .
|
||||
|
||||
```
|
||||
|
||||
## Portainer
|
||||
|
||||
Images -> Build a new Image -> URL
|
||||
|
||||
**Name:** duplicati-mysqlclient:latest
|
||||
|
||||
**URL:** https://git.limbosolutions.com/kb/duplicati.git
|
||||
|
||||
**Dockerfile path:** docker/mysqlclient/Dockerfile
|
||||
|
||||
|
||||
- [Docker Compose](#docker-compose)
|
||||
- [Development](#development)
|
||||
- [Docker Build](#docker-build)
|
||||
|
||||
## Docker Compose
|
||||
|
||||
@@ -32,7 +10,7 @@ Images -> Build a new Image -> URL
|
||||
version: "3"
|
||||
services:
|
||||
duplicati:
|
||||
image: duplicati-mysqlclient
|
||||
image: git.limbosolutions.com/kb/duplicati:mysql-latest
|
||||
environment:
|
||||
- MYSQL_HOST=${MYSQL_HOST}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
@@ -54,19 +32,12 @@ volumes:
|
||||
db-dumps:
|
||||
```
|
||||
|
||||
### Transfer To another system
|
||||
1. Copy docker compose and execute on another system
|
||||
2. Check volumes and service started succesfully
|
||||
3. Stop all compose services
|
||||
4. Change volume on duplicati service to user a temporary volume example (duclicati_tmpdata)
|
||||
5. Check if all volumes are writable on duplication service
|
||||
6. Start only the duplicati service (with temporary volume) on target system
|
||||
7. On source system Stop app services on docker compose except duplicati
|
||||
8. Execute a full backup ou source system
|
||||
9. On target system execute a manual restore to original destination
|
||||
10. Stop duplicati
|
||||
11. Change duplicati to use original volume
|
||||
12. And change volumes on duplicati to RO
|
||||
13. Start all services
|
||||
14. Check everything ok
|
||||
## Development
|
||||
|
||||
### Docker Build
|
||||
|
||||
```bash
|
||||
|
||||
#Executed on repository root folder
|
||||
docker build -t duplicati-mysqlclient:latest -f docker/mysqlclient/Dockerfile .
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user