All Projects → futurevision → docker-aws-s3-sync

futurevision / docker-aws-s3-sync

Licence: MIT License
Docker container to sync a folder to Amazon S3

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-aws-s3-sync

docker base images
Vlad's Base Images for Docker
Stars: ✭ 61 (+190.48%)
Mutual labels:  sync, backup, s3
radio
Redundant Array of Distributed Independent Objectstores in short RADIO performs synchronous mirroring, erasure coding across multiple object stores
Stars: ✭ 25 (+19.05%)
Mutual labels:  backup, s3, s3-bucket
Git S3 Push
Deploy your git repo to an S3 bucket
Stars: ✭ 182 (+766.67%)
Mutual labels:  backup, s3, s3-bucket
Docker S3 Volume
Docker container with a data volume from s3.
Stars: ✭ 166 (+690.48%)
Mutual labels:  sync, backup, s3
Cloudexplorer
Cloud Explorer
Stars: ✭ 170 (+709.52%)
Mutual labels:  sync, s3, s3-bucket
alpine-qbittorrent-openvpn
qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
Stars: ✭ 230 (+995.24%)
Mutual labels:  docker-container, alpine, alpine-linux
mindav
A self-hosted file backup server which bridges WebDAV protocol with @minio written in @totoval. Webdav ❤️ Minio
Stars: ✭ 64 (+204.76%)
Mutual labels:  sync, backup, s3
awesome-storage
A curated list of storage open source tools. Backups, redundancy, sharing, distribution, encryption, etc.
Stars: ✭ 324 (+1442.86%)
Mutual labels:  backup, s3, s3-bucket
Bucket-Flaws
Bucket Flaws ( S3 Bucket Mass Scanner ): A Simple Lightweight Script to Check for Common S3 Bucket Misconfigurations
Stars: ✭ 43 (+104.76%)
Mutual labels:  s3, s3-bucket
serverless-s3bucket-sync
Serverless Plugin to sync local folders with an S3 bucket
Stars: ✭ 24 (+14.29%)
Mutual labels:  sync, s3
docker flutter
Alpine Linux image for Flutter & Dart with helpful utils and web build support.
Stars: ✭ 33 (+57.14%)
Mutual labels:  alpine, alpine-linux
evernote-backup
Backup & export all Evernote notes and notebooks
Stars: ✭ 104 (+395.24%)
Mutual labels:  sync, backup
minback-postgres
A container which provides the ability to backup a PostgreSQL database to Minio on demand
Stars: ✭ 18 (-14.29%)
Mutual labels:  backup, s3
alpine-prestashop
Prestashop running on Alpine Linux [Docker]
Stars: ✭ 13 (-38.1%)
Mutual labels:  alpine, alpine-linux
alpine-php-fpm
Lightweight and optimised PHP-FPM (PHP 7.4, 8.0, 8.1) Docker images with essential extensions on top of latest Alpine Linux.
Stars: ✭ 53 (+152.38%)
Mutual labels:  alpine, alpine-linux
s3-proxy
S3 Reverse Proxy with GET, PUT and DELETE methods and authentication (OpenID Connect and Basic Auth)
Stars: ✭ 106 (+404.76%)
Mutual labels:  s3, s3-bucket
docker-geoserver
A basic docker geoserver image with JAI and marlin renderer running on tomcat
Stars: ✭ 17 (-19.05%)
Mutual labels:  alpine, alpine-linux
flask-drive
A simple Flask app to upload and download files off Amazon's S3
Stars: ✭ 23 (+9.52%)
Mutual labels:  s3, s3-bucket
aws-utils
This repository provides utilities which are used at MiQ.
Stars: ✭ 20 (-4.76%)
Mutual labels:  backup, s3
docker-nagios
Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.
Stars: ✭ 33 (+57.14%)
Mutual labels:  alpine, alpine-linux

futurevision/aws-s3-sync

Docker container that periodically syncs a folder to Amazon S3 using the AWS Command Line Interface tool and cron.

Usage

docker run -d [OPTIONS] futurevision/aws-s3-sync

Required Parameters:

  • -e KEY=<KEY>: User Access Key
  • -e SECRET=<SECRET>: User Access Secret
  • -e REGION=<REGION>: Region of your bucket
  • -e BUCKET=<BUCKET>: The name of your bucket
  • -v /path/to/backup:/data:ro: mount target local folder to container's data folder. Content of this folder will be synced with S3 bucket.

Optional parameters:

  • -e PARAMS=: parameters to pass to the sync command (full list here).
  • -e BUCKET_PATH=<BUCKET_PATH>: The path of your s3 bucket where the files should be synced to (must start with a slash), defaults to "/" to sync to bucket root
  • -e CRON_SCHEDULE="0 1 * * *": specifies when cron job starts (details), defaults to 0 1 * * * (runs every night at 1:00).
  • now: run container once and exit (no cron scheduling).

Examples:

Sync every hour with cron schedule (container keeps running):

docker run -d \
    -e KEY=mykey \
    -e SECRET=mysecret \
	-e REGION=region \
    -e BUCKET=mybucket \
    -e CRON_SCHEDULE="0 * * * *" \
	-e BUCKET_PATH=/path \
    -v /home/user/data:/data:ro \
    futurevision/aws-s3-sync

Sync just once (container is deleted afterwards):

docker run --rm \
    -e KEY=mykey \
    -e SECRET=mysecret \
	-e REGION=region \
    -e BUCKET=mybucket \
    -v /home/user/data:/data:ro \
    futurevision/aws-s3-sync now

Credits

This container is heavily inspired by istepanov/backup-to-s3.

The main difference is that this container is using Alpine Linux instead of Debian to be more light weight. It also uses a different method of using the AWS CLI tool.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].