Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/scrubmx/db-backups

Python script to create database backups and save them to AmazonS3
https://github.com/scrubmx/db-backups

Last synced: 3 days ago
JSON representation

Python script to create database backups and save them to AmazonS3

Awesome Lists containing this project

README

        

# DBBackup

Python script to create backups and save them to AmazonS3.

## Installation
Install dependencies
```bash
pip install -r requirements.txt
```

Create a config.ini file and fill in your S3 key and passwords.
```bash
cp config.example.ini config.ini
```

## Run as cron job
* Every 24 hours
```bash
sudo chmod a+x dbbackup.py

crontab -e

0 0 * * * /usr/bin/python /path/to/dbbackup.py >/dev/null 2>&1
```