CheatSnip

Related

Background Save

redis

Asynchronous save

Backup Database

psql

Create a backup of a PostgreSQL database

Set Key Value

redis

Set a string value for a given key in Redis.

redis/save

Save Database

Synchronous save

persistence
backup

Command

SAVE

Explanation

Synchronously saves the database to disk. Blocks all other commands until complete.

Examples

Create snapshot

SAVE

More

Get Key Value

redis

Retrieve the string value stored at a key.

Increment Value

redis

Increment the integer value of a key by one.

Set Hash Field

redis

Set a specific field in a hash to a given value.

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers