Skip to main content

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 defalt path of yaml file, defalt: c2backups3.yaml on current directory

    run:

    $ ./bin/backups3
  • Using custom path of yaml file

    run:

    $ ./bin/backups3 FAIL_PATH/FILE_NAME

Credits

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

Changelog

1.0a2 (2015-09-08)

  • First release

1.0a1 (unreleased)

  • Initial release

Project details


Download files

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

Source Distribution

c2.backup.s3-1.0a2.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page