An open API service indexing awesome lists of open source software.

https://github.com/nekmo/duplicacy-cron


https://github.com/nekmo/duplicacy-cron

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

Duplicacy cron
##############
Docker image based on `duplicacy-autobackup `_ but with several
improvements:

* ``duplicacy-cron`` uses `standard duplicacy environment variables `_.
* Crons use `Ofelia `_, a modern cron service built for docker.
* Multiple cron can be configured for multiple backups.
* Backup volumes (``/host``) and duplicacy configuration (``/duplicacy``) are different. Host volume can be mounted
read-only.
* Duplicacy commands can be executed easily. For example ``docker-compose duplicacy exec duplicacy check``.
* Duplicacy commands can be executed easily. For example ``docker-compose duplicacy exec duplicacy check``.

docker-compose example
======================

.. code-block:: yaml

version: '3.6'
services:

duplicacy:
build:
context: .
dockerfile: Dockerfile
volumes:
- /:/host
- ./conf/duplicacy:/duplicacy/.duplicacy
- ./conf/ofelia:/etc/ofelia
environment:
DUPLICACY_SNAPSHOT_ID: mymachine
DUPLICACY_STORAGE_URL: s3://amazon/mymachine
DUPLICACY_REPOSITORY: /host
DUPLICACY_PASSWORD: '***************'
DUPLICACY_S3_ID: '***************'
DUPLICACY_S3_SECRET: '***************'