I've also a "copy" made by Duplicacy on a cloud drive. On my side i use Minio on a personnal storage server, and several S3 on different providers. It's almost like BorgBackup, the way it works, but you can use any storage you want. But when you understand that, it's really amazing. Honestly, setting it up is a pain, it doesn't work the same way other tools does.
So, i've gave a try to Duplicacy on my servers. I've checked restic for sure but it was missing some nice features of BorgBackup. If i've moved from BorgBackup to Duplicacy, it's because i wanted to keep the way BorgBackup works but without the dependency to a server bin.
#DUPLICACY DOCKER FOR FREE#
Should combine it with lifecycle and expiration rules at your will.I've started on BackupPC for years! Then i've moved to BorgBackup for like 2 years (using BorgBase ) and now i'm on Duplicacy since 6 months on servers and 2 years on personal desktop computer.įorget the UI for your servers, it's CLI only if you want to use it for free (personnal licence).
#DUPLICACY DOCKER FULL#
Rules and filters, assuming you want to have weekly full backups. Opinionated defaults to make good use of S3 different storage types and its lifecycle # Generate Gitlab backup before uploading it JOB_200_WHAT: docker exec projectname_gitlab_1 gitlab-rake gitlab:backup:create JOB_200_WHEN: daily weekly # Additional configurations for Duplicity AWS_ACCESS_KEY_ID: example amazon s3 access key AWS_SECRET_ACCESS_KEY: example amazon s3 secret key DST: boto3+s3://mybucket/myfolder EMAIL_FROM: EMAIL_TO: OPTIONS: -s3-european-buckets -s3-use-new-style PASSPHRASE: example backup encryption secret Amazon S3 ( *-s3)Īny of the other flavors has a special variant suffixed with -s3. var/run/docker.sock:/var/run/docker.sock:ro environment: Image: ghcr.io/tecnativa/docker-duplicity-docker hostname: backup domainname: privileged: true # To speak with host's docker socket volumes:
GITLAB_OMNIBUS_CONFIG: | # Your Gitlab configuration here ports: Image: gitlab/gitlab-ce hostname: gitlab domainname: environment: If you wish to include multipleĭirectories, mount them as subdirectories of /mnt/backup/src/, like. Simply mount anyĮxternal directory as a volume to /mnt/backup/src/. SRCīy default, SRC is set to /mnt/backup/src/ inside the container. Utilize STARTTLS, regardless of this variable, if the server offers STARTTLS. SMTP_TLSįorce the email client to connect to the server using SLL/TLS.
#DUPLICACY DOCKER PASSWORD#
If your mail server requires authentication, specify the password for the SMTP_USER.
If your mail server requires authentication, specify the user account to log in. You should never need to use this variable. String that some prebuilt flavors use to add custom options required for thatįlavor. String to let you define options for duplicity. You can disable those jobs by settingĬorresponding JOB_*_WHEN to value never. Several values, you can separate them with spaces (example: daily monthly). JOB_*_WHENĭefine when to execute the command you defined in the previous section. Multiple recipients can be defined as a comma-separated list ofĭefine a command that needs to be executed.Ĭheck the Dockerfile to see built-in jobs.