Install Redis RDB Tools from here:
Take a snapshot of each redis db
$ redis-cli save
Copy the snapshots to somewhere else
$ cp ~/dump.rdb ./dump-a.rdb
| import ImageUtil | |
| class ImageUploader(): | |
| def __init__(self): | |
| self.dimension = [0,0] | |
| def cacheImageInMemory(self, imageFile): | |
| # ... | |
| return |
| package rhumbix.rhumbix; | |
| class ImageUploader | |
| { | |
| public static int[] dimension = new int[2]; // dimension[0] = width, dimension[1] = height | |
| void cacheImageInMemory(File imageFile) { | |
| ... | |
| } |
| { | |
| "url": "http://internal-email-builder-prod-238214135.us-east-1.elb.amazonaws.com:4008/email-builder", | |
| "headers": { | |
| "x-app-id": "682" | |
| }, | |
| "strictSSL": false, | |
| "rejectUnauthorized": false, | |
| "json": true, | |
| "body": { | |
| "appDoc": { |
Install Redis RDB Tools from here:
Take a snapshot of each redis db
$ redis-cli save
Copy the snapshots to somewhere else
$ cp ~/dump.rdb ./dump-a.rdb