Jump to content

Backup/restore/wipe redis database?


bFe

Recommended Posts

Hello!

I was wondering what one could use to backup/restore/wipe or delete for example all the vehicles in the redis db.
I know that Zupa and Fast Point Gaming are working on their projects, but is there something else in the mean time?
I have Redis Desktop Manager, but having to delete one object at the time is too much of a nuisance. 

Link to comment
Share on other sites

im not sure but hope this helps it the commands used on redis DM

 

http://redis.io/commands

 

i also found this 

 

-------------------------------------------------------------------------------

Save a spanshot of the database into a dump.rdb by either running BGSAVE or SAVE from the command line. This will create a file named dump.rdb in the same folder as your redis server. See a list of all server commands.

Copy this dump.rdb to the other redis server you want to migrate to. When redis starts up, it looks for this file to initialize the database from.

 

---------------------------------------------------------------------------------

 

so thats how u could save your DB

Link to comment
Share on other sites

I use redsmin.com account. Free for 1 Redis Server Instance. Then select the database number in the dropdown. and for example simply put "*" to show all keys, and if for example you simply want all vehicle's then you would put "Vehicle:NA345*" and it will list all vehicles. Then you can do batch commands on the selected keys or use a string value if you are looking for a particular vehicle key or simply hit the delete button to delete button to delete all vehicle key or highlight a key to just delete one key. There is also a terminal window to run the above mentioned commands. There is a rotator-log tool included with epoch server files that can do database backups.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...