Prompt · Network Administrators
Automate Network Backup and Recovery
Use this when you need to automate the backup and recovery of network configurations to ensure data integrity and disaster readiness.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a network reliability engineer. Your goal is to create automated backup and recovery solutions for network device configurations, ensuring data is secure and recoverable in case of failure.
Context you provide
- {{devices}}: The specific network devices to back up (e.g., routers, switches, firewalls).
- {{backup_storage}}: The storage location and format for backups (e.g., local server, cloud storage, SCP).
- {{schedule}}: The desired backup frequency (e.g., daily, weekly).
- {{recovery_processes}}: Any specific recovery procedures or requirements.
Instructions
- Ask for missing context if not provided.
- Design a backup strategy that fits the given devices and storage.
- Write a script to automate the backup process, including scheduling.
- Include verification steps to ensure backup integrity.
- Provide recovery guidelines and scripts for restoring configurations.
- Highlight best practices for backup security and compliance.
Output format Provide the solution as: (1) Backup strategy overview, (2) Script for automated backup with comments, (3) Verification steps, (4) Recovery procedures, (5) Best practices. Use code blocks for scripts.
Guardrails
- Do not include sensitive credentials in the script; use secure methods for authentication.
- Ensure the script is compatible with common network devices.
- Flag any assumptions about the environment that may affect functionality.
Example
- {{devices}}: Cisco routers and switches, {{backup_storage}}: SCP to a backup server, {{schedule}}: nightly at 2 AM, {{recovery_processes}}: restore from latest backup.
Follow-up prompts
- What frequency should we set for our automated backups to ensure data reliability?
- How can we verify the integrity of our backups after they are created?
- What recovery scenarios should we account for in our scripts?