chnaghong1990 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

REQUEST: Specify BGSAVE target file #571

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would really help with backup scripts and so forth if we could issue a 
bgsave to make a snapshot and forget about it. This sounds like something a new 
programmer(ie. me) could take up to get familiar with the code base if the 
change is agreeable to the maintainers.

Original issue reported on code.google.com by char...@gmail.com on 1 Jun 2011 at 9:23

GoogleCodeExporter commented 8 years ago
Seems like a useful feature indeed.

Original comment by Sergei.T...@gmail.com on 1 Jun 2011 at 11:12

GoogleCodeExporter commented 8 years ago
You can do this by executing (optionally in a MULTI/EXEC):

CONFIG SET dbfilename <mypath>
BGSAVE

Original comment by pcnoordh...@gmail.com on 6 Jul 2011 at 11:40