MNX.io Docs
  • MNX.io Documentation
  • Getting started
    • SSH to an instance from Windows
    • Account password requirements
    • Improving security using two-factor authentication (2FA)
    • Generating an SSH key
      • Manually generating your SSH key in macOS
      • Manually generating your SSH key in Windows
    • API integrations and CLI usage
    • Provisioning limits
    • Cancelling your account
  • Data centers
  • Instances
    • Infrastructure containers
    • Virtual machines
    • Snapshots
      • Automating Snapshots
    • Tags and metadata
    • Connecting to containers and VMs
    • Instance Types
  • Triton CLI & Tools
    • Using the VNC console
    • Triton CLI tool
    • Hashicorp Packer and Terraform
      • Create and manage images with Packer
      • Manage infrastructure with Terraform
    • Container Monitor with Prometheus
  • Network
    • Networking and fabric user guide
    • Firewall
    • Firewall rules reference
    • Frequently Asked Questions
  • CloudAPI Documentation
    • Getting Started
    • RBAC: Users, Roles & Policies
    • API Introduction
    • API Details
      • Account
      • Keys
      • Users
      • Images
      • Instances
      • Packages
  • Contacting Support
  • Images
    • Linux
      • CentOS
      • Ubuntu
        • 20.04
      • Debian
    • FreeBSD
      • 12
Powered by GitBook
On this page
  • Creating a Snapshot
  • Create a snapshot using the portal
  • Creating a Snapshot using the Triton-CLI Command Line Utility

Was this helpful?

  1. Instances

Snapshots

Snapshots, often employed as a short-term solution are commonly used for patching, updates, or for quick tests with an option to rollback in case of a failure.

PreviousVirtual machinesNextAutomating Snapshots

Last updated 1 year ago

Was this helpful?

Snapshots, often employed as a short-term solution in testing and development environments, are commonly used for patching, updates, or for quick tests with an option to rollback in case of a failure. Their utility extends to certain scenarios in production environments too, especially when undertaking high-risk operations like OS updates or potential system-altering configuration changes.

Our snapshot implementation serves to provide rollback milestones. When an instance is booted to a specific snapshot, it permanently destroys all data written after the snapshot was taken. In a typical scenario, accessing snapshot data requires rebooting to that snapshot, effectively discarding any data accumulated post the snapshot's creation.

It is also paramount to understand that snapshots are not a replacement for a comprehensive backup strategy. Snapshots reside alongside your live data on the same system and unlike a full backup strategy, they do not generally provide a separate, recoverable data copy.

Creating a Snapshot

Create a snapshot using the portal

This guide outlines the steps to create a snapshot in the MNX.io portal. Please note that we recommend testing the rollback functionality on your system to ensure your application recovers properly before the need arises to use it.

  • Access Instance Management Once logged in, find and click on the "Compute" or "Instances" section in the left-hand navigation menu to access your instances.

  • Select the Instance From the list of instances, select the instance for which you want to create a snapshot.

  • Create a Snapshot After selecting the instance, look for the "Snapshots" tab and click on it. Within this tab, find and click on the "Create Snapshot" button.

  • Name Your Snapshot A dialog box will appear asking you to name your snapshot. Choose a meaningful name that will help you identify the snapshot later. It's a good practice to include the date and the state of the instance in the snapshot name. By default the name will be a datetime stamp.

  • Initiate Snapshot Creation After naming your snapshot, click on the "Create" button. The snapshot creation process will start and it may take some time depending on the size of your instance.

  • Monitor Snapshot Creation You can monitor the progress of the snapshot creation from the "Snapshots" tab. Once the snapshot has been created, it will appear in the list of available snapshots.

Creating a Snapshot using the Triton-CLI Command Line Utility

This guide will take you through the steps of creating a snapshot in the portal using the Triton-CLI command line utility. This process is a handy alternative if you prefer using the command line over the graphical user interface.

  1. List Your Instances To list all of your instances, you can use the following command:

    triton instance list
  2. Create a Snapshot To create a snapshot of a specific instance, you'll need to use the 'instance snapshot create' command followed by the instance ID. Like so:

    triton instance snapshot create <instance_id>

    Replace <instance_id> with the ID of the instance you want to create a snapshot for.

  3. Name Your Snapshot To name your snapshot, append the command above with the desired name:

    triton instance snapshot create -n <snapshot_name> <instance_id>

    Replace <snapshot_name> with your desired snapshot name. Remember, it's a good practice to include the date and state of the instance in the snapshot name.

  4. Monitor Snapshot Creation To check the status of your snapshot creation, use the 'instance snapshot get' command:

    triton instance snapshot get <instance_id> <snapshot_name>

    This will display the status of the specified snapshot.

To get started, please refer to the .

Triton CLI tools installation documentation
Compute > Instances > Instance Details
Create Snapshot
Name your snapshot
Snapshot default name