production
This commit is contained in:
16
README.md
16
README.md
@@ -30,9 +30,23 @@ duplicati-cli send-mail --send-mail-password="pass" --send-mail-to="target@mail.
|
||||
--send-mail-username=user@mail.lan
|
||||
|
||||
```
|
||||
|
||||
## Scripts
|
||||
|
||||
### 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
|
||||
|
||||
### Environment Variables
|
||||
|
||||
|
||||
@@ -5,9 +5,21 @@ And job will create a database dump configured using docker environment variable
|
||||
|
||||
## Build Image
|
||||
|
||||
### docker
|
||||
|
||||
```bash
|
||||
|
||||
#Executed on repository root folder
|
||||
docker build -t duplicati-mysqlclient:latest -f docker/mysqlclient/Dockerfile .
|
||||
|
||||
```
|
||||
### tar
|
||||
|
||||
```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
|
||||
@@ -20,6 +32,7 @@ Images -> Build a new Image -> URL
|
||||
|
||||
**Dockerfile path:** docker/mysqlclient/Dockerfile
|
||||
|
||||
|
||||
## Run Container
|
||||
|
||||
### Docker Compose
|
||||
|
||||
Reference in New Issue
Block a user