Code Monkey home page Code Monkey logo

aws-restore's Introduction

aws-restore

awsRestore is a python script that runs on the command line for restoring entire folders and subfolders stored in AWS Glacier Deep Archive.

Description

All files that are in Deep Archive storage within the folder and all subfolders will be restored. If a file is already restored or is in progress of being restored, it will be noted in the output.

The user enters the bucket name, folder name (top level folder - all subfolders will be included in the restore), and days (how long it will be available for download).

Installation

Mac OS X: A version of Python is already installed.

Windows: You will need to install python3 which is available at python.org.

Prior to using this script you must log-in to the aws account through the terminal using "aws configure".

example:

aws configure
AWS Access Key ID [****************TDNW]: <<your aws access key>>
AWS Secret Access Key [****************qUQl]: <<your aws secret access key>>
Default region name [us-east-2]: <<your aws region>>
Default output format [json]: <<your default output>>

Usage

Run the program in the terminal with the following command line arguments:

--bucket         Name of the bucket with items to be restored
--prefix         S3 prefix of the path (folder) to be restored
--days           Number of days the restored items will be available for download

example:

python3 awsRestore.py --bucket <<bucket name>> --prefix  <<prefix>> --days <<number of days>>

aws-restore's People

Contributors

djunel avatar zackramjan avatar

Stargazers

Scott Givan avatar

Watchers

James Cloos avatar  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.