Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Snapshots → Create Snapshot

AI-generated

Overview

This node operation allows users to create a snapshot of a specified virtual machine (VPS) using the Hostinger API. It is useful for backing up the current state of a VPS, enabling restoration to that state later if needed. Typical use cases include creating backups before making system changes or updates, or for regular backup schedules to ensure data safety.

Use Case Examples

  1. Create a snapshot of a VPS before applying system updates to ensure a restore point is available.
  2. Automate regular snapshot creation for VPS instances to maintain up-to-date backups.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the virtual machine (VPS) for which the snapshot will be created.

Output

JSON

  • response - The JSON response from the Hostinger API containing details about the created snapshot.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Virtual Machine ID is correct and corresponds to an existing VPS.
  • Verify that the API credentials have sufficient permissions to create snapshots.
  • Check for network connectivity issues that might prevent API communication.
  • Common error messages include authorization errors (due to invalid or insufficient credentials) and resource not found errors (due to incorrect Virtual Machine ID). Resolving these involves verifying credentials and input parameters.

Discussion