yannh / redis-dump-go

Backup & Restore your Redis server - FAST
MIT License
280 stars 58 forks source link

Support for dump one database? #8

Closed linydquantil closed 4 years ago

linydquantil commented 4 years ago

for example: -d DB dump DATABASE (0-N, default 0)

yannh commented 4 years ago

That should be pretty trivial to implement, I will look into this soon!

linydquantil commented 4 years ago

ok, thank you ,good job

yannh commented 4 years ago

No no leave it open, I ll forget otherwise :)

yannh commented 4 years ago

I implemented that with -db, the default being to dump all databases for backwards compatibility. Also fixed a couple of bugs - made a new release v0.3.2 , try it out!