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

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: 5 months 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
```