How to enable backups and monitoring on DigitalOcean
Enable backups by navigating to your Droplet's Backups tab in the control panel, selecting usage-based or automated plans with your preferred frequency and retention, then clicking Enable backups. Monitoring activates automatically on all Droplets and displays CPU, memory, and disk I/O metrics in the dashboard.
Prerequisites
- Active DigitalOcean account with billing enabled
- Existing Droplet or GPU Droplet
- Control panel access or doctl CLI installed
- Sufficient account credits for backup storage charges
Step-by-Step Instructions
Log in to DigitalOcean Control Panel
Navigate to the DigitalOcean Control Panel at cloud.digitalocean.com and log in with your credentials. Ensure your account has billing enabled, as backups incur usage-based charges based on stored backup size.
Navigate to Droplets and Select Your Target
From the main menu, click Droplets to view your list of Droplets. Click the name of the Droplet you want to enable backups for to open its details page.
Access the Backups Tab
In the left sidebar menu of your Droplet's details page, click Backups. This section displays your current backup status and configuration options.
Enable Automated Backups
Click Setup Automated Backups or Enable backups depending on your interface version. This expands a panel with backup configuration options.
Select Backup Plan Type
Choose between Plans (basic weekly backups at 20% of Droplet cost per month with 4-week retention) or Usage-Based (custom intervals with flexible retention). Click the Usage-Based tab for more granular control.
Configure Backup Frequency and Retention
Select your desired backup frequency from the available options. Then choose your retention period, which determines how long backups are stored before automatic deletion. Set a backup window, which is the time period during which backups may be initiated. Multiple intraday backups may overlap depending on your window settings.
Activate Backups
Click Enable backups to activate your backup plan. The status will appear in your control panel, and backups will begin automatically according to your configured schedule.
Verify Monitoring is Active
Scroll to the Monitoring section on your Droplet's details page. Basic monitoring (CPU percentage, memory use, disk input/output) is active by default on all Droplets and displays graphs automatically. No additional setup is required for basic metrics collected every minute.
Optional: Enable Monitoring Agent for Advanced Alerts
To set up advanced monitoring with custom alerts, navigate to Monitoring in the left menu and click Install agent. The agent collects metrics at 1-minute intervals and enables threshold-based alerting. Alternatively, install it during Droplet creation via the Marketplace.
Test Your Backup and Restore Process
Return to the Backups tab and wait for your first backup to complete. Once available, click the More menu on a backup and select Restore Droplet to test restoration. Note that restoring turns your Droplet off during the process and automatically restarts it when complete. Alternatively, create a new Droplet from the backup to test without affecting your current one.
Common Issues & Troubleshooting
Backups not available or option grayed out
Some Droplet images or older plans do not support backups. Upgrade your Droplet plan or switch to a compatible image. Ensure your account has billing enabled and sufficient credits.
Backup costs higher than expected
Backup charges are usage-based on the size of retained backups. Reduce retention periods or backup frequency, or convert old backups to snapshots and delete the originals to lower costs.
Monitoring graphs not displaying
Basic monitoring is enabled by default, but graphs may take a few minutes to populate after Droplet creation. Refresh the page or wait 5-10 minutes. If still missing, install the Monitoring agent from the Monitoring menu.
Restore operation fails or takes too long
Ensure your Droplet has sufficient disk space and is not running resource-intensive processes. Restoring from a backup turns the Droplet off; allow 10-30 minutes depending on backup size. Check your account credits to ensure the operation can complete.
Cannot enable backups via doctl CLI
Verify doctl is installed and authenticated with <code>doctl auth init</code> using a valid personal access token. Use <code>doctl compute droplet list</code> to confirm your Droplet ID, then run <code>doctl compute droplet-action enable-backups <droplet-id></code>.