Zawap
Promptautomation

PostgreSQL Backup Script & Restore Verification Runbook

Safe pg_dump automation avoiding password leaks in process args, with atomic file writes, rotation, and restore testing.

{}2 variables•Free•Author: ALeeXSD
Prompt template
1
2
3
4
5
6
7
8
9
10
Create a backup script and restore verification runbook for database {{db_name}}. Storage & retention: {{retention_policy}} Requirements: 1. Pass credentials via `.pgpass` or env vars, never CLI arguments. 2. Atomic `.partial` writes with `chmod 600`. 3. Step-by-step test restore into a scratch database. Output format & rules: concise structured response with zero filler.

Copy the template, add your details, and paste the prompt into your chosen AI service.

Comments · 0

Nothing here yet

Sign in to participate