Failed to restore from backup: All subscriptions and replication slots must be dropped before a backup can be restored. #21830
sudayavarman
announced in
Troubleshooting
Replies: 1 comment 1 reply
-
ERROR: 42501: must be a superuser to terminate superuser process |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the error suggests, you must first drop any current subscriptions or replication slots to restore backups.
You can check those with:
You can drop them with:
NOTE: These are destructive actions. This is fine since you will overwrite your database with a backup.
Beta Was this translation helpful? Give feedback.
All reactions