• Terraform Cloud
    • HCP Vault
    • HCP Consul
    • HCP Packer
  • Pricing
  • Documentation
  • Tutorials
  • Community
Sign InTry cloud for free
    • What is HCP?
      • AWS
      • Overview
        • Create and Manage HVN
        • Peering Connections
        • Transit Gateway Attachements
        • Routes
        • Security Groups
        • Overview
        • Users
        • Service Principals
        • Organizations
        • Single Sign-On
        • Multi-Factor Authentication
        • Overview
        • Payment
        • Flex Billing
      • Support
    • What is HCP Consul?
    • Specifications
      • Overview
      • Clusters
      • Clients
      • Federation
      • Upgrades
      • Audit Logs
      • Snapshots
      • Tutorials
      • Consul Documentation
      • Forums
    • Overview
    • Security Overview
    • Get Started
    • Login MFA
    • High Availability and Disaster Recovery
    • Performance Replication
    • Version Management
    • RBAC Permissions
    • Administrative Capabilities
    • Audit Log Management
      • Overview
      • FAQ
    • Metrics
    • Constraints and Known Issues
    • Migrate to HCP Vault
    • What is HCP Packer?
    • Get Started
      • Template Configuration
      • Image Metadata
      • Image Buckets
      • Image Channels and Revocation
      • Terraform Cloud Run Tasks
    • Reference Image Metadata
    • Manage Registry
    • API Reference
    • Packer Documentation
  • Glossary
  • Changelog
Type '/' to Search

»Snapshots

Snapshots are backup files that you can use to restore the state of Consul servers. You can perform snapshot operations from the HCP Consul interface, the Consul REST API endpoint, or by running the Consul snapshot agent from the command line.

»HCP Consul Interface

Complete the following instructions to create a snapshot:

  1. If you have not already done so, log into the HashiCorp Cloud Platform and click Consul under the Services sidebar menu.
  2. Click the link to the cluster in the ID column to open its overview screen.
  3. Click Snapshots in the sidebar menu. Any previously created snapshots will appear on the Snapshots screen.
  4. Click Create snapshot and specify a name.
  5. Click Create snapshot to finish.

When the snapshot finishes, you can use it to restore the state of your Consul cluster servers.

»Restore

Complete the following instructions to restore Consul servers from a snapshot:

  1. Open the Snapshots screen and locate the snapshot you want to restore.
  2. Choose Restore from the ellispes menu.
  3. When prompted, verify that you want to roll back to the state captured in the snapshot.

»Manage

Complete the following instructions to rename or delete a snapshot:

  1. Open the Snapshots screen and locate the snapshot you want to restore.
  2. Choose Rename or Delete from the ellispes menu.
  3. Specify your changes and verify that you want to proceed when prompted.

»API

Refer to the snapshot API endpont topic in the Consul documentation for information about creating, restoring, and managing snapshots. API calls must be initiated from the infrastructure environment where your resources are deployed. Following the instructions in Clients to deploy clients in your runtime so that you can access the API.

»Command Line

You can manually create, restore, and manage snapshots from the command line. You can also start the snapshot agent, which is a long-running daemon that automatically creates snapshots.

Refer to the snapshot agent topic in the Consul documentation for information about creating, restoring, and managing snapshots. Commands must be initiated from the infrastructure environment where your resources are deployed. Following the instructions in Clients to deploy clients in your runtime so that you can use the command line.

  • Learn about HCP

    • Blog
    • Press Release
  • Resources

    • Tutorials
    • Documentation
  • Help

    • Community
    • Support
    • Contact Us
  • Terms of Service
  • SLA
  • Shared Responsibility Model
  • Privacy
  • Security
  • Press Kit
©2021 HashiCorp, Inc. All rights reserved