--- name: move-a-live-app-to-a-new-server description: "A server move can lose recent data or run scheduled jobs twice. Your AI writes a step-by-step plan with checks and a way back. Use for: Move a live app to a new server." --- # Move a live app to a new server A server move can lose recent data or run scheduled jobs twice. Your AI writes a step-by-step plan with checks and a way back. ## What you need from the user - A list of the services, databases and scheduled jobs on the old server - Your backup and how you'd restore it - When you can switch DNS ## What to give back A move plan with a staging test, a data sync point, who runs each scheduled job when, and a rollback step. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me plan moving a live app to a new server. Old server: services, versions, databases and scheduled jobs: [describe, no passwords] New server: [describe] Backups and how I'd restore one: [describe] Busy times, and when I can switch DNS: [describe] 1. List what must be copied and set up, in order. 2. Plan a staging test on the new server before any switch. 3. Plan the final data sync so no writes get lost. 4. For each scheduled job, say which server runs it at each step, so none runs twice. 5. Write the DNS switch steps and a rollback plan. 6. Give me a checklist to confirm the move worked. Give me commands to review, not to run. I'll run each step and change DNS myself. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Take a fresh backup and test that it restores before you start. Don't share server passwords with the AI. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/migrate-a-live-application-to-a-replacement-server-7fd0ace88614/ Original report: https://flaviocopes.com/devops-mistakes-ai/ BotCurrent has not tested this skill. Check the result before you use it.