https://github.com/arpith/redis-s3-backup
Python script to back up your Redis RDB file to S3
https://github.com/arpith/redis-s3-backup
Last synced: 27 days ago
JSON representation
Python script to back up your Redis RDB file to S3
- Host: GitHub
- URL: https://github.com/arpith/redis-s3-backup
- Owner: arpith
- License: mit
- Created: 2016-06-29T19:25:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-04T21:33:55.000Z (almost 10 years ago)
- Last Synced: 2025-02-08T20:04:31.626Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis-S3-Backup
Python script to back up your Redis RDB file to S3
## Installation
`$ pip install redis_s3_backup`
## Usage
```
redis_s3_backup
--directory DIRECTORY_CONTAINING_RDB_FILE
--bucket S3_BUCKET_NAME
--profile AWS_PROFILE_NAME
```
### Redis Directory
This is the directory in which the `dump.rdb` file is located. If you installed Redis by compiling it, this would look like `~/redis-3.2.1` (if you extracted the tar file in your home directory).
### S3 Bucket Name
This is the AWS S3 bucket which will contain your backups.
### AWS Profile Name
This is the profile to be used, for instance if your shared credentials file looks like this:
```
$ cat ~/.aws/credentials
[AWS_PROFILE_NAME]
aws_access_key_id=YOUR_ACCESS_KEY_ID
aws_secret_access_key=YOUR_SECRET_ACCESS_KEY
```
Then use `--profile` to specify that your profile name is `AWS_PROFILE_NAME`