Skip to content

Container that uses crond to run commands; also includes rsync and rclone.

License

Notifications You must be signed in to change notification settings

pngmbh/docker-backup-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-backup-cron

Copies stuff somewhere else, regularly.

docker pull ghcr.io/pngmbh/docker-backup-cron

Basic Usage

docker run \
    -e CRON_SCHEDULE="* * * * *" \
    -v /tmp/backup-test-source:/data:ro \
    -v /tmp/backup-test-destination:/destination \
    quay.io/pngmbh/docker-backup-cron:latest \
    rsync -vah /data/ /destination

Config

  • CRON_SCHEDULE - https://crontab.guru/ - something like 0 * * * *
  • the docker command needs to be something that copies your data to wherever you want it
    • rsync and rclone are available

About

Container that uses crond to run commands; also includes rsync and rclone.

Topics

Resources

License

Stars

Watchers

Forks

Packages