Snapshot

This guide explains how to view and manage Snapshot resources using the AppsCode console. A Snapshot represents a point-in-time backup of a database stored in a backup repository, capturing the complete state of the database at the moment of creation.


1. Getting Started

Navigate to Backups in the left sidebar and select Snapshot. This opens the Snapshot list page showing all database snapshots across your cluster.


2. Snapshot List

The list page displays all Snapshot resources in your cluster. Use the Select Namespace dropdown to filter by namespace, or view detailed information about stored snapshots.

Snapshot list page showing snapshots with Name, Namespace, Repository, Invoker Kind, Invoker Name, Backend Repository, Creation Timestamp, Deletion Policy, Phase, Verification Status, and Age columns

ColumnDescription
NameThe Snapshot resource name (e.g., snapshot-20240115-143022).
NamespaceThe namespace where it is deployed.
RepositoryThe Repository resource storing this snapshot.
Invoker KindThe type of resource that created the snapshot (e.g., BackupSession).
Invoker NameThe name of the invoker resource.
Backend RepositoryThe backend-level repository path where snapshot data is stored.
Creation TimestampThe exact date and time when the snapshot was created.
Deletion PolicyControls what happens when the snapshot is deleted (e.g., Delete, Retain).
PhaseCurrent status of the snapshot (e.g., Ready, Failed).
Verification StatusWhether the snapshot data passed integrity verification (e.g., OK).
AgeHow long ago the Snapshot was created.

3. Viewing a Snapshot

Click on any Snapshot name in the list to open its detail page. The detail page shows snapshot metadata, verification status, and the repository it belongs to.

3.1 - Overview

The detail page shows comprehensive snapshot information:

Snapshot detail page showing Basic info, Repository reference, and Invoker information

Basic — Core metadata for the snapshot:

FieldDescription
NameThe Snapshot resource name.
NamespaceThe namespace it belongs to.
LabelsKey-value labels attached to the resource.
AnnotationsKey-value annotations including references to invoker and repository.
UIDThe unique Kubernetes identifier.
PhaseCurrent lifecycle phase (e.g., Ready, Failed, Pending).
Verification StatusIntegrity verification result (e.g., OK or error message).
Deletion PolicyWhat happens when this snapshot is deleted.

Repository — The backup repository storing this snapshot:

ColumnDescription
NameThe Repository resource name.
NamespaceNamespace of the repository.
BackupStorageThe storage backend used by this repository.
SizeTotal size of all snapshots in this repository.
TargetThe database this repository backs up.
StatusCurrent state of the repository.
AgeAge of the Repository resource.

Invoker — The resource that triggered this snapshot's creation:

ColumnDescription
KindThe type of invoker (e.g., BackupSession).
NameName of the invoker resource.
NamespaceNamespace of the invoker.

4. Deleting a Snapshot

To delete a snapshot, click on the snapshot name to open its detail page, then locate the delete action. The delete operation confirms your intention to remove the snapshot from the repository.

4.1 - Delete Confirmation

When initiating a delete operation, a confirmation dialog appears:

Delete Snapshot confirmation dialog showing deletion policy and confirmation options

FieldDescription
Deletion PolicyDisplays the configured deletion policy (e.g., Delete to remove from storage, Retain to keep data).
ConfirmCheck the confirmation checkbox to acknowledge deletion.

Warning: Deleting a snapshot is permanent if the deletion policy is Delete. Ensure you have other backups of your data before proceeding.


5. Quick Reference

ActionHow to do it
View all SnapshotsBackupsSnapshot
Filter by namespaceUse the Select Namespace dropdown on the list page
View snapshot detailClick on the Snapshot name in the list
Check snapshot phaseDetail page → Basic section → Phase field
Check verification statusDetail page → Basic section → Verification Status field
View repository informationDetail page → Repository table
Check deletion policyDetail page → Basic section → Deletion Policy field
View snapshot invokerDetail page → Invoker table
Delete a snapshotClick snapshot name → locate delete action → confirm deletion
Review deletion policyDetail page before deleting to confirm snapshot data handling