Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8057519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:03:41+00:00 2026-06-05T09:03:41+00:00

after shutting down the redis server, the values stored using set is destroyed, here

  • 0

after shutting down the redis server, the values stored using set is destroyed, here i found the way to use the persistence store, anyone help me, how to achieve that using javascript ?

I wanna store some values from clients in redis db, and have to use that value in other clients.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T09:03:41+00:00Added an answer on June 5, 2026 at 9:03 am

    You need to configure your Redis server to support a persistency mechanism. This configuration is stored in a file which is given as a parameter on the redis-server command line.

    Here is the default file for Redis 2.4:
    https://github.com/antirez/redis/blob/2.4/redis.conf

    Actually two different persistency mechanisms are provided: snapshotting (RDB) and append-only files (AOF). You will find a full explanation here: http://redis.io/topics/persistence

    The easiest mechanism is snapshotting (RDB). It can be activated by defining save, dbfilename and dir parameters in the configuration file.

    To activate RDB without stopping the Redis server, you can use the following command from the Redis client:

    > config set save "300 1"
    

    It will configure RDB to dump everything every 5 min (to be adapted to your own situation).

    Please note that you are supposed to use the shutdown command to stop a Redis server. The default behavior is to generate a last snapshot before stopping. The dump file is loaded in memory when Redis starts again.

    Should you need to extract data from the dump file (when Redis is offline), you have an excellent Python package at https://github.com/sripathikrishnan/redis-rdb-tools

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After shutting down tomcat, I get this message: INFO: Failed shutdown of Apache Portable
I'm trying to use setup the rails application on apache2 using the virtual server
Possible Duplicate: Shutting down a computer using Java I am making a personal program
After some experience with functional languages, I'm starting to use recursion more in Java
After researching a bit how the different way people slugify titles, I've noticed that
After spliting a tab delimited file I have my required values in a string
I'm looking for a best practice on shutting down an OSGi container. Currently we
I am running into a VerifyError after updating my Xoom to 3.1. Here is
I know that when Windows is shutting down, it sends a WM_QUERYENDSESSION message to
A project I'm working on requires serializing a data structure before shutting down and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.