home/coding/migration-instructions

MIGRATION INSTRUCTIONS

GPTClaudeDeepSeek··1,356 copies·updated 2026-07-14
migration-instructions.prompt
# PostgreSQL 17 → 18 Migration Instructions for LynxPrompt

## What the script does:
1. Creates timestamped backup directory
2. Dumps both databases from running v17 containers (in both custom and SQL formats)
3. Backs up the actual data directories
4. Stops old containers
5. Removes old data directories
6. Starts new PostgreSQL 18 containers (fresh initialization)
7. Restores all data from dumps
8. Verifies table counts
9. Starts all services

## To execute on watchtower:

### Option 1: Copy script and run manually

when to use it

Community prompt sourced from the open-source GitHub repo GeiserX/LynxPrompt (Apache-2.0). A "MIGRATION INSTRUCTIONS" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

GeiserX/LynxPrompt · Apache-2.0