https://github.com/nekmo/duplicacy-cron
https://github.com/nekmo/duplicacy-cron
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nekmo/duplicacy-cron
- Owner: Nekmo
- Created: 2020-09-10T01:00:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T15:34:26.000Z (almost 6 years ago)
- Last Synced: 2025-09-09T13:00:26.446Z (11 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
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: '***************'