Sign In
Sign In

Backup is an important part of keeping your cloud server running. If data is accidentally deleted, or operation is disrupted after updates or changes, you can always restore the contents of the disk using the backups. 

If you reinstall the server, the previously made backups are still kept in your Hostman control panel, so you can restore the server with them.

Keep in mind that the copies created in the control panel do not protect against all possible problems. Should there be a serious software or hardware failure or if the server is accidentally deleted, it will be impossible to restore the data. 

We recommend creating remote copies to ensure complete safety of your data.

In the Hostman control panel you can create both backups and snapshots (recovery points).

Backups

You can create and delete backups, restore data from them, and also manage automatic backups in the Backups tab of the control panel.

Price

The cost of backups depends on the disk size: $0.07 per 1 GB.

You pay for storing the copies, not creating them. Even if you no longer create new backups, the existing ones will be billed until they are deleted from the control panel.

Create Backups

To create a new backup:

  1. Go to the Cloud servers section and click on the server.
  2. In the Backups tab, click Create backup.
  3. Select the disk to back up.
  4. Confirm the action.

B9a9bd6e D006 4ce1 9ec0 B4d2f49fd256

Depending on the disk size and the load on the Hostman backup system at the moment, the process can take from a couple of seconds to several minutes. Once it completes, a copy will appear in the control panel.

Please note that you cannot create a backup if a snapshot has been created on the server.

Automatic Backups

To set up automatic backups:

  1. Go to the Cloud servers section and click on the server.
  2. In the Backups tab, click Settings.

Cf4b93dc 1c1f 49bb 84a7 3574d9b69495

  1. Enable automatic backups and set the parameters:
    • the frequency of backup creation (daily / weekly / monthly);
    • the number of copies to keep;
    • the start date for creating backups automatically.
  2. Save your settings.

Ed1d6b1f 7839 478c 91a8 7c47ad1b0558

Restore Data from Backup

We recommend turning the server off before performing this operation.

  1. Go to the Cloud servers section and click on the server.
  2. Go to the Backups tab.
  3. To fully restore the disk (restore all data):
    • Hover over the backup and click on the Restore option.
    • Confirm the action.

77e9f4d8 93ff 45fc 8842 55dc76672662

Restoring will take some time, depending on the size of the backup.

  1. To restore the data partially:
    • Hover over the backup and click on the Mount option.
    • Confirm the action.

8915f769 8be6 46bc A34b C3cc505feeb0

After this, the disk will appear in the system, but will be available in the read-only mode. You need to mount this disk inside the operating system following the steps below.

Note that:

  • Mounting the backup takes some time, so you will not see the disk immediately after mounting it in the Hostman panel. Give it a few minutes.

  • Before unmounting the backup in the control panel, first unmount it within the operating system.

Mount Backups

Mounting a backup means connecting a disk inside the operating system. 

In the examples below, we use the disk name sdc. You should replace it with the actual disk name on your system. You can check disk names, for example, with the lsblk command.

  1. Connect to your server via SSH or use the console in the Hostman panel.

  2. Mount the disk using the mount command:

mount /dev/sdc1 /mnt

Unmount Backups

To unmount the disk:

  1. Unmount it within the operating system using the umount command:
umount /dev/sdc1
  1. Click on the Unmount button in the Hostman control panel.
  2. Confirm the action.

D6720d74 9bdd 4ec9 A0d3 64fa5b66a326

It is not possible to unmount a backup in the control panel as long as it is still mounted within the operating system.

Download the Backup

You can download the backup to your device.

  1. Go to the Cloud servers section and click on the server.
  2. Open the Backups tab.
  3. Hover over the backup and click on the Mount option.
  4. Confirm the action.
  5. Mount the backup in the OS following the guide above.
  6. Connect to the server via SFTP, for example using Filezilla, using the details:
    • Host: Your server's IP address
    • Login: root
    • Password: root user password
    • Port: 22
  7. Save the backup folder to your computer and unmount the backup.

Delete Backups

To delete a backup: 

  1. Go to the Cloud servers section and click on the server.
  2. Open the Backups tab.
  3. Click on the the three dots next to the backup and select Delete backup.
  4. Confirm the action.

Deleting backups is not possible if a snapshot is created on the server.

Snapshots

Snapshots (recovery points) are another backup method. With this method, you basically take a snapshot of the current state of the server, which is very easy to roll back to.

On Hostman, snapshots are free.

Unlike a backup, a snapshot is created for the entire server as a whole, and not for a separate disk, and is also created and restored instantly, while creating and restoring data from a backup can take up to 30 minutes or more.

Snapshots are convenient to use when you need to quickly and safely test something: create a snapshot before making changes, and then, if necessary, return the server to its previous state.

However, a backup is a more reliable way of long-term data storage, since it is a complete copy of the disk, stored on a separate server.

If a snapshot is created, the following actions will not be available for the server:

  • adding, removing or resizing a disk;
  • creating or deleting backups;
  • creating a server image;
  • reinstalling the operating system;
  • server cloning.

To perform them, you will first need to delete the snapshot.

Create a Snapshot

The server must be on.

  1. Go to the Cloud servers section and click on the server.
  2. In the Backups tab, click Create snapshot.
  3. Confirm the action.

The snapshot will appear in the control panel in a couple of seconds.

You can only create one snapshot for one server. It is stored for 7 days, after which it is automatically deleted.

Restore Data from the Snapshot

To restore the server using the snapshot:

  1. Go to the Cloud servers section and click on the server.
  2. Go to the Backup tab.
  3. Click Restore in the System snapshot block.
  4. Confirm the action. 

85ce725d 8d93 495d 86dc 687cf6c76686

The server will be rolled back to the state at the time the snapshot was created, and the snapshot itself will be deleted.

Any changes that were made after the snapshot was created will be permanently lost.

Delete a Snapshot

Snapshots are deleted automatically after 7 days but you can also delete the snapshot manually.

  1. Go to the Cloud servers section and click on the server.
  2. Go to the Backup tab.
  3. Click Delete in the System snapshot block.
  4. Confirm the action. 

25cd3f56 Be1d 41d2 84cd 9f2c96bf1a69

General backup guidelines

For more efficient work with the cloud servers, we recommend following these guidelines when creating backups and snapshots:

  • Create backups regularly depending on how often the data changes on the server. In the case of online stores, large web portals, and online media, it is recommended to back up daily. In the case of a small website, it is enough to make a backup once a month.

  • Create a backup or snapshot before major updates in the files or databases. Make sure the update went smoothly and then delete the backup.

  • Make a backup after the major changes to ensure you have the most recent copy of your data.

Was this page helpful?
Updated on 17 April 2024

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support