ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข3y agoโ€ข
2 replies
nckswt

Can't restore from a TimescaleDb backup because I need superuser access

Trying to restore from a backup ( https://docs.timescale.com/self-hosted/latest/backup-and-restore/pg-dump-and-restore/#restoring-an-entire-database-from-backup ) and I can't because
SELECT timescaledb_pre_restore();
SELECT timescaledb_pre_restore();
requires superuser access and I don't have permission:

postgres=> SELECT timescaledb_pre_restore();
ERROR:  permission denied to set parameter "timescaledb.restoring"
CONTEXT:  SQL statement "ALTER DATABASE postgres SET timescaledb.restoring ='on'"
PL/pgSQL function public.timescaledb_pre_restore() line 6 at EXECUTE
postgres=> SELECT timescaledb_pre_restore();
ERROR:  permission denied to set parameter "timescaledb.restoring"
CONTEXT:  SQL statement "ALTER DATABASE postgres SET timescaledb.restoring ='on'"
PL/pgSQL function public.timescaledb_pre_restore() line 6 at EXECUTE


What options do I have?
Timescale Documentation | Logical backups with pg_dump and pg_restore
Back up and restore a hypertable or entire database with native PostgreSQL commands
Timescale Documentation | Logical backups with pg_dump and pg_restore
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

can i get a 1-time backup restore T.T
SupabaseSSupabase / help-and-questions
5d ago
Backup/Restore Failed. Can't Access DB. Can only wait for support?
SupabaseSSupabase / help-and-questions
11mo ago
Can't restore a project from backup after missing 90 days cut off
SupabaseSSupabase / help-and-questions
4mo ago
Backup Restore help
SupabaseSSupabase / help-and-questions
3w ago