How can we help?
Categories
< All Topics
Print

Mastering ServerStadium’s Backup APIs: Your Comprehensive Guide

Unleashing ServerStadium’s Backup APIs: The Key to Your Virtual Machine’s Safety

Introduction to ServerStadium’s Backup APIs

In today’s digital age, data is everything. At ServerStadium, we understand the importance of protecting your data, which is why we provide a robust suite of backup APIs for your virtual machines (VMs). Our APIs are designed to give you complete control over your VM’s backup operations, ensuring your data remains safe and accessible.

Discover our VM backup APIs:

Get Backup Configuration API

Curious about your VM’s current backup settings? Use our ‘Get Backup Configuration’ API. This endpoint fetches the backup settings for a specific VM. All you need is your VM ID, which should be appended to the URL, and your OAuth token.

URL: https://api-cloudx.serverstadium.com/snapshot/v1/api/gateway/user/backup/config/:ID Parameter: ID (VM ID)

Haven’t registered yet? Sign up now to get started!

Delete Backup API

Need to erase a backup? Our ‘Delete Backup’ API does just that. For this operation, you’ll need the ID of the backup you want to remove and the VM ID. The backup ID goes into the URL, while the VM ID is part of the request body.

URL: https://api-cloudx.serverstadium.com/snapshot/v1/api/gateway/user/backup/:id Parameters:

  • id (Backup ID in the URL)
  • vm_id (VM ID in the request body)

Restore Backup API

Wish to restore a backup? Our ‘Restore Backup’ API is your best friend. This operation also requires the backup and VM IDs. The backup ID is part of the URL, while the VM ID goes into the request body.

URL: https://api-cloudx.serverstadium.com/snapshot/v1/api/gateway/user/backup/restore/:id Parameters:

  • id (Backup ID in the URL)
  • vm_id (VM ID in the request body)

Save Backup Configuration API

Want to tweak your VM’s backup settings? Use our ‘Save Backup Configuration’ API. This endpoint lets you adjust the backup frequency, retention count, and backup status. These details, along with the VM ID, are included in the request body.

URL: https://api-cloudx.serverstadium.com/snapshot/v1/api/gateway/user/backup/config Parameters:

  • days (Number of days to do the backup)
  • retentions (Number of backups to keep)
  • status (Backup status: 1 to enable backup or 0 to disable)
  • vm_id (VM ID)

Don’t forget that every API request needs your OAuth token in the ‘Authorization’ header.

Why Choose ServerStadium?

Our backup APIs are just the tip of the iceberg. At ServerStadium, we provide a range of cloud services designed to meet your unique needs. Our user-friendly interface, competitive pricing, and expert support make us a top choice for businesses and individuals alike.

Ready to join the ServerStadium family? Register today to unlock the power of our cloud services.

Table of Contents