BACKUP ABORT
BACKUP ABORT
- Available since:
- Redis Open Source 8.10.0
- Time complexity:
- O(1)
- ACL categories:
-
@admin,@slow,@dangerous, - Compatibility:
- Redis Software and Redis Cloud compatibility
Cancels a backup that has not been sealed yet.
Examples
127.0.0.1:6379> BACKUP ABORT
OK
Details
BACKUP ABORT cancels an in-progress backup and moves the backup state machine to failed. It is valid from the pending, snapshotting, and incrementing states. After the backup has been sealed, use BACKUP CLEANUP instead.
After aborting, you can start a new backup with BACKUP START.
For the full workflow, see Redis persistence.
Redis Software and Redis Cloud compatibility
| Redis Software |
Redis Cloud |
Notes |
|---|---|---|
| ❌ Standard |
❌ Standard |
Return information
Simple string reply:
OK.
See also
BACKUP START | BACKUP SEAL | BACKUP STATUS | BACKUP LIST | BACKUP CLEANUP