Sign inSign up

gregory90/file-backup-s3

By gregory90

•Updated about 11 years ago

Image
1

3.1K

gregory90/file-backup-s3 repository overview

⁠How to backup?

Backup continuously to S3.

docker run -v DIRECTORY_TO_BACKUP:/data gregory90/file-backup-s3 /app/run
⁠Environment variables

TIMEOUT - how often perform backup, in seconds,
ACCESS_KEY - AWS S3 access key,
SECRET_KEY - AWS S3 secret key,
BUCKET - AWS S3 bucket for backup.

⁠Restore backup

Restore file from S3.

docker run -v DIRECTORY_TO_RESTORE_TO:/data gregory90/file-backup-s3 /app/restore
⁠Environment variables

ACCESS_KEY - AWS S3 access key,
SECRET_KEY - AWS S3 secret key,
FILE - file to restore (without extension),
BUCKET - AWS S3 bucket for backup.

Tag summary

Content type

Image

Digest

sha256:4dfe1a1f9…

Size

105.7 MB

Last updated

about 11 years ago

docker pull gregory90/file-backup-s3