An open API service indexing awesome lists of open source software.

https://github.com/gabrielrf/s3backup

Amazon S3 Backup
https://github.com/gabrielrf/s3backup

amazon-s3-storage python3

Last synced: 3 months ago
JSON representation

Amazon S3 Backup

Awesome Lists containing this project

README

          

# Amazon S3 Backup

This script is used to backup files to Amazon S3.

## Installation

After cloning this repository

```
apt-get install zip
pip3 install -r requirements.txt
```

## Usage

It is recommended to use it as a cron job. Type `crontab -e` and add a line as follows:

```
0 4 * * * cd /usr/local/bin/S3Backup; /root/.virtualenvs/VirtualEnv/bin/python3 s3.py '/path/to/folder/' 'source_files.*' 'dest.zip'
```

Files are compressed as a `zip` and then uploaded to Amazon S3.