1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-12-22 03:34:17 +00:00
This commit is contained in:
Steffo 2024-10-25 06:45:07 +02:00
parent 8a59981d71
commit 28ff2d87ee
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -10,12 +10,25 @@ Backup solution for Docker volumes based on Duplicity
## Usage ## Usage
### Backup with Google Drive
> [!NOTE] > [!NOTE]
> >
> Other backends are available, but haven't been tested. Please let me know if you want to try using them so I can help you out with setting them up! > Other backends are available, but haven't been tested. Please let me know if you want to try using them so I can help you out with setting them up!
### Backup with Google Drive
> [!CAUTION]
>
> For authentication to work correctly after [Google's removal of the OOB Flow](https://developers.google.com/identity/protocols/oauth2/resources/oob-migration), your `http://localhost:80` address needs to match the `http://localhost:80` of the Gestalt Amadeus container.
>
> This is not an issue if you can launch a browser on the same machine you're configuring Gestalt Amadeus, but it might be troublesome for non-graphical servers, where this is not possible.
>
> As a quick band-aid to the issue, you can temporarily set up an SSH tunnel towards the server for the duration of the setup process:
>
> ```bash
> # This unfortunately requires root access, since the port we have to tunnel, 80, has a number lower than 1024.
> sudo ssh -L 80:80 yourserver
> ```
1. Create a new Docker volume with the name `ga_cache`, which Duplicity will use to temporarily store previous backups: 1. Create a new Docker volume with the name `ga_cache`, which Duplicity will use to temporarily store previous backups:
```bash ```bash
@ -134,17 +147,4 @@ Backup solution for Docker volumes based on Duplicity
Complete the authentication to proceed. Complete the authentication to proceed.
> [!CAUTION]
>
> For authentication to work correctly after [Google's removal of the OOB Flow](https://developers.google.com/identity/protocols/oauth2/resources/oob-migration), your `http://localhost:80` address needs to match the `http://localhost:80` of the Gestalt Amadeus container.
>
> This is not an issue if you can launch a browser on the same machine you're configuring Gestalt Amadeus, but it might be troublesome for non-graphical servers, where this is not possible.
>
> As a quick band-aid to the issue, you can temporarily set up an SSH tunnel towards the server for the duration of the authentication process:
>
> ```
> # This unfortunately requires root access, since the port we have to tunnel, 80, has a number lower than 1024.
> sudo ssh -L 80:80 yourserver
> ```
1. You should be done! Make sure backups are appearing in the Google Drive directory you've configured. 1. You should be done! Make sure backups are appearing in the Google Drive directory you've configured.