Skip to main content
backup2s3
=========

Backup files and mysql databases to Amazon S3

Requirements
------------

- mysql-client

Installation
------------
Using PIP via PyPI::

pip install backup2s3

Using PIP via Github::

pip install git+https://github.com/wavedocs/backup2s3#egg=backup2s3

Usage
-----

Create new IAM User

- In the IAM Management Console on Amazon, click Create New User and follow on-screen instructions.
- Click Create User Policy on the user page, then select Custom Policy, then paste the following text in the text area. Replace INSERT_YOUR_BUCKET_NAME with the bucket name you have previously created, and submit the form:


```
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::INSERT_YOUR_BUCKET_NAME",
"arn:aws:s3:::INSERT_YOUR_BUCKET_NAME/*"
]
}
]
}
```

Сopy and edit the config

```
$ cp /etc/backup2s3-sample.yml /etc/backup2s3.yml
```

Run backup files and mysql databases

```
/usr/bin/backup2s3

Usage: backup2s3 [options]
Options:
-a, --all Backup files and mysql db
-f, --files Backup files
-d, --databases Backup mysql databases
-h, --help Print man

Metadata

Release files for backup2s3 0.2

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

Source distribution (sdist)

Source distribution for backup2s3 0.2
File Size Uploaded Provenance
backup2s3-0.2.tar.gz 4.4 kB Without provenance Details

Release files / backup2s3-0.2.tar.gz

Download URL backup2s3-0.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ce7e4f015703c1181c820492aa9e67285eaa25ee8fa656f0eecfbca2837d5846
BLAKE2b-256 checksum
How to use checksums
d41722a95c7dca60f40db1c3cbf49e499503d45e31cc67e744d3112d23ced3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for backup2s3 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

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