Sign inSign up

henkelmax/backup

By henkelmax

•Updated about 6 years ago

A simple Docker container that executes cronjobs to create backups.

Image
0

255

henkelmax/backup repository overview

⁠Backup GitHub Workflow Status GitHub issues GitHub release (latest by date)

A simple Docker container that executes cronjobs to create backups.

It adds the following packages:

  • openssh-client
  • sshpass
  • wget
  • curl
  • rsync

⁠Basic usage

backup.yml

version: "3.3"

services:
  backup:
    image: "henkelmax/backup:latest"
    volumes:
      - "/etc/timezone:/etc/timezone:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "/path/to/your/cron/folder:/cron"  # The path to the directory containing the a crontab named 'crontab'

crontab

@reboot /cron/backup.sh
0 5 * * * /cron/backup.sh

Tag summary

Content type

Image

Digest

Size

63.5 MB

Last updated

about 6 years ago

docker pull henkelmax/backup