Giter Site home page Giter Site logo

jazlopez / zip-my-buckets Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 22 KB

Backup S3 into zip files

Home Page: https://jlopez.mx/zip-my-buckets

License: GNU General Public License v3.0

Python 96.34% Makefile 3.66%
s3-backup tooling aws-s3 jlopezmx

zip-my-buckets's Introduction

zip-my-buckets | S3 backup tool


S3 Backup and restore utility

Requires Python >= 3.0 and AWS CLI.

1.1 GENERAL USAGE
usage: s3.backup.restore.py [-h] --run {backup,restore} --table-name
                                  TABLE_NAME [--archive ARCHIVE] --profile
                                  PROFILE [--timeout TIMEOUT]
                                  [--region-name REGION_NAME]
                                  [--with-endpoint WITH_ENDPOINT]

s3 Backup Restore Tool

optional arguments:
  -h, --help            show this help message and exit
  --run {backup,restore}
                        Specify the operation to perform
  --table-name TABLE_NAME
                        Provide table name to backup/restore
  --archive ARCHIVE     When operating in restore mode: absolute path to zip
                        file to restore
  --profile PROFILE     AWS profile authorization
  --timeout TIMEOUT     Timeout
  --region-name REGION_NAME
                        AWS region name
  --with-endpoint WITH_ENDPOINT
                        Optional: Dynamodb URL endpoint

1.1.1 Create a zip file from given bucket name
python s3.backup.restore.py --run backup --bucket-name 001 --profile default 

1.1.2 Create a zip file from given bucket name (s3 localhost instance)
python s3.backup.restore.py --run backup --bucket-name 001 --with-endpoint http://localhost:4572 --profile default
1.1.3 Restore a zip file into given bucket name
python s3.backup.restore.py --run restore --archive foo.zip --bucket-name 001 --profile default 

zip-my-buckets's People

Contributors

jaziel-lopez avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.