Container for daily backups based on rsync
50K+
Backup script using incremental rsync and hardlinks.
--> Github repo <--
disk-backup.shThis script creates a backup using rsync of a local or a remote directory.
Environment variables are used to configure the script.
TARGET_DIR= # path where the backups are stored
SOURCE_DIR= # local or remote path to backup eg. /home/foobar OR [email protected]:/home/foobar
SSH_OPTIONS= # ssh options to pass into rsync eg. -o UserKnownHostsFile=/dev/null
RSYNC_OPTIONS= # additional rsync options
disk-cleanup.shThis script cleans up old backups older than MAX_AGE
Environment variables are used to configure the script.
TARGET_DIR= # path where the backups are stored
MAX_AGE= # oldest backup to keep in days, anything older will be deleted
Content type
Image
Digest
sha256:154c42688…
Size
32.2 MB
Last updated
over 2 years ago
docker pull weikinhuang/rsync-backup