VPS and VDS backups: snapshots, retention and restores
By the end: You will have written down what to back up, where to keep the copy and how to test recovery. A backup is a data copy you can return to when something goes wrong.
A server backup plan defines which data you copy, how often you copy it and how you recover when needed. A completed backup job does not, by itself, prove that the application can run successfully from that copy.
Before an operating system installation from ISO, verify a backup outside the installation disk and the restore procedure. Changing disk partitions during installation can erase existing data; a copy on the same server is not a sufficient recovery plan by itself.
Applies to: Planning for a self-managed VPS, VDS or dedicated server. It also includes actual WHM configuration screens for administrators who use WHM. For web hosting backup terms, use the hosting backup guide.
Copies exposed to the same failure do not provide independent protection.
- Copy on the same disk
May undo an accidental edit, but can disappear with the original if the disk fails.
- Virtual machine snapshot
Returns to a state where supported; it is not protection independent of the same storage.
- Separate backup destination
A copy separate from the source server. Access, retention and restore testing still matter.
Snapshot scope and backup services depend on the package; do not assume they are included.
1. Confirm what your service includes
Confirm in your DCHost customer portal service information or with support:
- Does the package include backups?
- If so, which data and disks are covered?
- How long are copies retained?
- Who restores them, and how?
Check: “There is a backup” is not enough. Establish which point you can return to and the restore method.
DCHost virtual servers use Proxmox/KVM infrastructure. This does not mean that every package includes automatic backups, customer-accessible snapshots or a particular retention period. If your product does not include a backup service, plan operating system, application and data backups separately.
When discussing backup scope with support, provide the server ID, data types, size, rate of change, retention needs and restore requirements. You need appropriate access to the source server and involvement from the person responsible for the application.
2. Separate snapshots from independent backups
Simple example: Two copies in different folders on the same disk can both disappear if that disk fails. The copy's independence from the source server matters as well as its existence.
| Method | What it provides | What it does not solve on its own |
|---|---|---|
| Copy on the server's own disk | Quick recovery from some accidental edits | Failure of the same disk/server or account compromise |
| Virtual machine snapshot | Return to a particular state where supported | Protection independent of the same storage and long-term retention |
| Backup on a separate destination | A restore copy separate from the source server | Guaranteed protection from deletion if access/retention is misconfigured |
| Application-aware data backup | Consistent recovery of files and databases | The entire OS, other services and every dependency |
A snapshot's scope depends on storage and VM settings. Do not assume it includes memory state, every attached disk or an external database. Proxmox's backup method called “snapshot mode” is also different from a VM snapshot. Live databases require application consistency; copying files alone may be insufficient.
3. Set recovery targets around the business
Fill in two blanks:
- Data target: I can accept losing no more than ___ minutes/hours of recent data.
- Time target: I can allow no more than ___ minutes/hours to restore service.
These are your planning targets, not guarantees provided by the package.
Write down answers to two questions: How much recent data could you accept losing? This is your recovery point objective, or RPO. How long can you allow for getting the service running again? This is your recovery time objective, or RTO.
For example, a weekly copy may not fit an online store's tolerance for losing orders placed during the day. These targets are not service guarantees. Check whether the backup frequency, transfer time and an actual restore exercise meet them.
4. List the data to protect
Make one list and record which backup includes each item:
- Application files and uploads.
- Databases.
- Required configuration and scheduled work.
- Email and external storage, if used.
- Dependency information needed for rebuilding.
Check: Do not assume a file backup contains the database. Verify each data type.
Consider application files, uploads, databases, configuration, scheduled jobs and email data where relevant. Include external object storage or databases hosted elsewhere. If configuration files contain passwords or keys, encrypt the backup and keep the decryption key somewhere other than only the source server.
Use a backup method supported by the database software. Arbitrarily archiving a live database directory can create a copy that appears complete but cannot be restored correctly. Plan how application files and database state will remain consistent with each other.
Consistency example: The database may contain an upload record while the matching file is missing from the backup. Test that files and database return to a compatible state.
5. Define retention and monitoring
Add four items to the plan: backup destination → schedule → versions to retain → person receiving failure alerts.
Store backups on a destination separate from the source server. Limit access and assess the risk of a compromised source account being able to delete every historical copy. Decide how many daily or weekly versions to keep and how much storage they require.
Arrange notifications for backup failures, unexpected size changes and declining destination capacity. Keep backups outside public web directories. Manage encryption, access control and recovery keys together.
If local backups fill the server disk, first check the affected filesystem and growing directories. Preserve the last usable copy and verify the backup on a separate destination before removing older copies. Monitor both free space and inode usage when planning capacity alerts.
6. Verify by restoring to a separate environment
A successful backup job does not replace a restore exercise.
- Choose a backup point
Decide which point to restore and which records you expect to find.
- Restore separately
Restore into restricted testing without overwriting live data. Block real notifications and payments before starting the application.
- Check the data
Confirm that sign-in works, files open and important records are correct.
- Record the duration
Record the backup date and restore time; compare them with your targets.
Before real recovery, plan how to preserve orders and records created after the backup.
Perform a real restore exercise:
- Prepare an access-restricted test environment separate from the live server.
- Before starting the application, prevent email, payment and scheduled tasks from acting on real customers.
- Restore the chosen backup into this protected environment.
- Check files, sign-in and important records.
- Record the restore duration and backup date.
Expected result: The application opens in the test environment and important data from the selected backup point is verified. The existence of a backup file does not replace this test.
Restore to an access-restricted test environment rather than overwriting the live server. Prevent the restored application from sending customer email, initiating payments or repeating scheduled jobs. Check critical records, files, login and application operations. Record the backup date and time taken to restore.
Preserve the current data before a real restore. Returning to an older backup can lose records created after it was taken. After a security incident, restoring an older copy is not enough: address credentials and the cause of compromise too. Never remove the last backup without another verified, usable copy.
Before a real restore: Decide how to preserve orders and records created after the backup. Restoring does not simply “add missing items”; depending on the method, it can overwrite current data.
7. Apply your backup plan in WHM
Where? WHM → Backup → Backup Configuration. This section is for an authorized administrator managing their own server. The hosting account's cPanel Backup Wizard is a separate tool.
These screenshots come from the actual demo WHM. Enable Backups is off, and the remote destination list is empty. Inspecting this screen does not create scheduled backups; its initial values are not a backup plan prepared for your service.
WHM → Backup → Backup Configuration. Enable Backups is unchecked in this demo; the presence of settings does not mean scheduled backups are running.


Step 1: Read the status first
- Read the status first
Enable Backups activates scheduled account backups. Prepare the scope and destination before enabling it.
- Choose the backup type
Compressed archives use less space but compression may take longer. Choose with data size and restore requirements in mind.
These settings were inspected without enabling scheduled backups or creating a remote destination.
Backup type, days and retention
- Establish file/database size, free space and a separate storage destination first.
- Choose a Backup Type. Compressed creates compressed archives; Uncompressed creates larger uncompressed copies. Incremental uses a file tree and links related to previous copies; check compatibility with your transfer and retention method.
- Review Check the Available Disk Space and its threshold. The displayed percentage does not guarantee sufficient free space for every server.
- In Scheduling and Retention, select daily, weekly or monthly runs and their days. Selecting Daily Backup does not necessarily select every day of the week.
- Retention is the number of backups to keep. Strictly enforce retention, regardless of backup success can delete older copies despite failed backups. Plan retention so that you do not lose the last usable copy.
The initial days and retention count shown here are examples, not a plan recommended for every customer.


Step 1: Check the selected days
- Check the selected days
Daily Backup runs on the selected days. Its name does not mean every day is selected.
- Choose which accounts are included
Review Back up User Accounts and Select Users together. Verify that the required account is enabled in the selection list.
These settings were inspected without enabling scheduled backups or creating a remote destination.
Include the accounts and databases
Use Back up User Accounts → Select Users to verify which accounts are included. Consider suspended accounts, access logs and system files according to your recovery needs. An account existing on the server does not establish that it is included in backups.
Back up SQL Databases → Per Account Only creates SQL dumps for included accounts. Backing up files without the database leaves an application such as WordPress incomplete. Options that copy the live MySQL data directory need separate consideration for InnoDB consistency; that directory copy is not restored like a normal account backup through WHM.
User files, SQL dumps and system settings are different data types. A /backup folder on the same disk is not an independent backup.


Step 1: Include account databases
- Include account databases
Per Account Only creates SQL dumps for accounts included in backups. Check account selection as well.
- Check the local backup location
Default Backup Directory shows local storage. Configure transfers to a separate system under Additional Destinations.
These settings were inspected without enabling scheduled backups or creating a remote destination.
Prepare a separate destination and check the actual copy
Default Backup Directory holds local backups. Backup Staging Directory temporarily holds files during a remote restore. Neither should be a publicly downloadable web directory. Staging capacity must accommodate the largest backup you intend to restore.
Under Additional Destinations, select a suitable type and use Create New Destination to enter its settings. Options include SFTP and supported object storage. Prepare permissions for writing, listing and retention cleanup according to the destination provider's instructions; keep access keys out of screenshots.
This actual demo has no destination yet. An empty list does not establish an off-server backup.


Step 1: Plan the destination type
- Plan the destination type
Prepare access to SFTP or a suitable object-storage destination with only the required permissions.
- Follow validation with a transfer test
After creating the destination, use Validate. Also locate a completed backup on that destination and restore it in a separate environment.
These settings were inspected without enabling scheduled backups or creating a remote destination.
- Save the destination and read its Validate result. Connection validation does not prove that complete backups were transferred and can be restored.
- Choose whether to keep local copies with Retain Backups in the Default Backup Directory. Disabling local retention requires an enabled, verified remote destination. This choice can also affect file/directory restoration tools.
- Once scope, scheduling and storage are ready, use Enable Backups → Save Configuration to activate your plan.
- After the first run, check more than this settings page: inspect the job result, dated archive, file size and actual remote copy.
- Restore a selected copy into a separate environment and test the website, database and required account functions. The actual SQL export and separate-database restore walkthrough demonstrates the application layer of this check.
WHM Backup Restoration restores compatible account backups. Select the account and date carefully; restoring into a live account can overwrite current data. Test the application after the interface reports Completed. This demo did not perform a full account restore through WHM or a transfer to a remote backup destination.