Configuring Offsite Backup Destinations
Storing backups on the same server as your website creates a single point of failure. If the server fails, you lose both your website and your backups. Remote backup storage sends your backups to an external server via FTP or SFTP, providing true disaster recovery capability.
Setting Up Remote Backups in DirectAdmin
- Log in to DirectAdmin and navigate to Advanced Features → Create/Restore Backups.
- In the backup configuration, look for the Remote FTP or Destination section.
- Select Remote FTP or SFTP as the backup destination.
- Enter the connection details:
- FTP/SFTP Server: The hostname or IP of the remote server (e.g.,
backup.remotestorage.com). - Port: 21 for FTP, 22 for SFTP.
- Username: Your FTP/SFTP account username on the remote server.
- Password: The corresponding password.
- Remote Directory: The path on the remote server where backups should be stored (e.g.,
/backups/mysite/).
- FTP/SFTP Server: The hostname or IP of the remote server (e.g.,
- Select the backup components (files, databases, email) as needed.
- Click Create Backup to initiate an immediate backup to the remote server, or configure a schedule for automatic remote backups.
Recommendation: Always use SFTP over FTP when possible. SFTP encrypts both the connection credentials and the data in transit, while standard FTP transmits everything in plain text.
Remote Storage Options
- Another hosting account: Use FTP credentials from a separate hosting account with ample storage.
- Dedicated backup services: Services like Backblaze B2, Wasabi, or rsync.net offer affordable storage specifically designed for backups.
- A home or office server: If you have a machine with a static IP and FTP/SFTP server software, you can use it as a backup destination.
- Cloud storage with FTP gateway: Some services provide FTP/SFTP access to cloud storage platforms.
Testing Remote Backups
- Create a test backup to the remote server.
- Log in to the remote server and verify the backup file exists and has a reasonable file size.
- Download the backup from the remote server and test extracting it to confirm it is not corrupted.
Important: Regularly verify that your remote backups are completing successfully. Set up email notifications if available, and periodically log in to the remote storage to confirm new backups are being uploaded on schedule.