Container to archive files based on cron schedule.
1.3K
This container can be used to periodically backup files or folders.
Example usage which will backup the source file or folder every day at 03:00. You can check the last run with the integrated HTTP server on port 18080:
docker run -d \
-v ./mount:/var/destination \
-v ./source:/var/source \
-p 127.0.0.1:18080:18080 \
-e SCHEDULE="0 0 3 * *" \
-e NAME="key" \
dylangmiles/docker-file-backup
docker run \
-v ./mount:/var/destination \
-v ./source:/var/source \
-p 127.0.0.1:18080:18080 \
-e SCHEDULE="0 0/2 0 * * ?" \
-e NAME="mydata" \
dylangmiles/docker-file-backup
Backups a file or folder.
Example standalone run:
docker run -i -t --rm \
-v ./mount:/var/destination \
-v ./source:/var/source \
dylangmiles/docker-file-backup \
backup-file
NB: The backup will ignore any directories with .file-backup-ignore in them.
Content type
Image
Digest
sha256:1bbcc012c…
Size
335.2 MB
Last updated
about 3 years ago
docker pull dylangmiles/docker-file-backup