Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

This package supports back up files from local dir to S3 bucket

Project Description

Introduction

Install

  • $ ./bin/pip install c2.backup.s3

setting

  • create IAM

  • Create S3 bucket

  • Option: create folder in S3 bucket

  • setting by yaml

    c2backups3.yaml:

    aws:
      id: YOUR_ID
      key: ACCOUNT_KEY
    src:
      dir: PATH_FOR_YOUR_DIR
    dist:
      backet_name: BACKET_NAME
      path: PASH_OF_BACKET
    

run

  • Using custom path of yaml file

    backup:

    $ ./bin/backups3 buckup FAIL_PATH/YAML_FILE_NAME
    

    list:

    $ ./bin/backups3 list FAIL_PATH/YAML_FILE_NAME
    

    download:

    $ ./bin/backups3 download FAIL_PATH/YAML_FILE_NAME
    

Credits

The upload script was refered from “http://www.bogotobogo.com/DevOps/AWS/aws_S3_uploading_large_file.php

Changelog

1.0a4 (2015-09-28)

  • Modify command line for sub args
  • Support listing object on the bucket
  • Support downloading object on the bucket

1.0a3 (2015-09-22)

  • Modify logging level from DEBUG to WARNING

1.0a2 (2015-09-08)

  • First release

1.0a1 (unreleased)

  • Initial release
Release History

Release History

This version
History Node

1.0a4

History Node

1.0a3

History Node

1.0a2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
c2.backup.s3-1.0a4.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Sep 28, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting