Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Backups → Restore Backup

AI-generated

Overview

This node operation allows users to restore a backup for a specified virtual machine (VPS) using the Hostinger API. It is useful in scenarios where a user needs to revert a VPS to a previous state by restoring from an existing backup, such as recovering from data loss or system errors.

Use Case Examples

  1. Restoring a VPS backup after a failed update to revert to a stable state.
  2. Recovering a VPS to a previous configuration after accidental data deletion.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the virtual machine (VPS) for which the backup will be restored.
Backup ID The identifier of the backup to restore for the specified virtual machine.

Output

JSON

  • response - The JSON response from the Hostinger API after attempting to restore the backup, containing details about the restore operation status.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure that the Virtual Machine ID and Backup ID are correctly specified and correspond to existing resources in the Hostinger account.
  • Check that the Hostinger API credentials are valid and have sufficient permissions to perform backup restoration.
  • Common errors include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the API endpoint is unreachable or the request is malformed. Verify the API endpoint URL and request body format.

Links

Discussion