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
- Host: GitHub
- URL: https://github.com/gabrielrf/s3backup
- Owner: GabrielRF
- License: gpl-3.0
- Created: 2017-04-07T14:38:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:16:05.000Z (over 3 years ago)
- Last Synced: 2025-09-20T18:45:18.561Z (8 months ago)
- Topics: amazon-s3-storage, python3
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.