Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rainnny7/redisexporter

This application makes it possible to export and import specific databases in a Redis server, this is useful for things such as moving databases from one index to another, or simply just exporting a single database and not an entire server.
https://github.com/rainnny7/redisexporter

Last synced: about 1 month ago
JSON representation

This application makes it possible to export and import specific databases in a Redis server, this is useful for things such as moving databases from one index to another, or simply just exporting a single database and not an entire server.

Awesome Lists containing this project

README

        

# RedisExporter
This application makes it possible to export and import specific databases in a Redis server, this is useful for things such as moving databases from one index to another, or simply just exporting a single database and not an entire server.

### Usage
```bash
$ java -jar RedisExporter.jar
```
#### Available Flags
```bash
$ java -jar RedisExporter.jar --help

Option Description
------ -----------
-?, -h, --help Show the help message
--confirm Whether to confirm the import
--export Whether to export or import the database (default: true)
--file The data file (default: data.json)
--flush Whether to flush the database prior to importing
--host The host to connect to (default: localhost)
--index The database index to use during connection (default: 0)
--password The password to use during connection
--port The port to connect to (default: 6379)
```