Skip to main content

CLI for backing up to S3

Usage

  • Install AWS CLI and add your credentials

  • Run “pip install -e .” in the programs parent directory

  • Run script from a directory to backup OR point to directory.

  • First variable is the target object and second variable is the destination bucket.

  • If the json config default bucket is set then you can skip the second variable to use the default.

  • To use a wildcard you must place it in quotations ‘*’.

  • To use recursive wildcards you must use ‘**’ see glob module.

Examples

Example to upload current working directory:

s3simplebackup . testbucket

Example to upload a home Directory:

s3simplebackup ~ testbucket

Example to upload a folder:

s3simplebackup folder testbucket

Example to upload all python scripts in Directory with default bucket:

s3simplebackup '*.py'

Example to upload all python scripts recursively in directory with default bucket:

s3simplebackup '**.py'

Release files for s3simplebackup 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s3simplebackup 1.2.0
File Size Uploaded
s3simplebackup-1.2.0.tar.gz 2.2 kB Details

Release files / s3simplebackup-1.2.0.tar.gz

Download URL s3simplebackup-1.2.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8a858a3b8ff5f9eca049589d8f0164ea4dd949c41a67b803e7f611a6d38fe56c
BLAKE2b-256 checksum
How to use checksums
54282cb056162ab6e6ddc285c89b6536f6795ba7ba72b2e8b0735e867f2a1180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page