Quantcast
Channel: redis dump.rdb / saving small files - Stack Overflow
Viewing all articles
Browse latest Browse all 6

redis dump.rdb / saving small files

$
0
0

Context

  • I'm using redis. The database is < 100 MB.
  • However, I want to make daily backups.
  • I'm also running on Ubuntu Server 12.04

When type in:

redis-cli save

I don't know where dump.rdb is saved to (since redis is started as a service and not in my local directory).

Questions:

  1. How do I find where redis is saving my dump.rdb to?
  2. Is there someway that I can specify a filename to 'save', so I type in something like:

    redis-cli save ~/db-2012-06-24.rdb

Thanks


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles



Latest Images