Files
redis-docs/docs/SaveCommand.rst
Kenneth Reitz 525e9fd3d3 all into sphinx
2011-04-06 13:27:48 -04:00

27 lines
855 B
ReStructuredText
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
`|Redis Documentation| <index.html>`_
**SaveCommand: Contents**
      `SAVE <#SAVE>`_
    `Return value <#Return%20value>`_
SaveCommand
===========
#sidebar `ControlCommandsSidebar <ControlCommandsSidebar.html>`_
SAVE
~~~~
Save the whole dataset on disk (this means that all the databases
are saved, as well as keys with an EXPIRE set (the expire is
preserved). The server hangs while the saving is notcompleted, no
connection is served in the meanwhile. An OK codeis returned when
the DB was fully stored in disk.
The background variant of this command is
`BGSAVE <BgsaveCommand.html>`_ that is able to perform the saving
in the background while the server continues serving other
clients.
Return value
------------
`Status code reply <ReplyTypes.html>`_
.. |Redis Documentation| image:: redis.png