---
title: "Restore backups on Kubernetes"
description: "Perform Full, Incremental, or Timestamp restores for Aerospike on Kubernetes using ABS Custom Resources."
---

# Restore backups on Kubernetes

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

::: caution
AKO version 4.x or later does not support Aerospike Backup Service version 2.x. Upgrade to Aerospike Backup Service v3.0.0 or later. See [Upgrade ABS](https://aerospike.com/docs/kubernetes/tools/backup/upgrade-backup-service) for more information.
:::

AKO watches an `AerospikeRestore` custom resource (CR) that describes a restore for an Aerospike cluster. When you create that CR, AKO reconciles it and uses Aerospike Backup Service (ABS) to run the restore. We refer to this object as an Aerospike Restore CR.

It supports `Full`, `Incremental` and `Timestamp` based restores. You can trigger the restore using `kubectl` or `helm`.

## Requirements

Before triggering a restore, deploy the ABS on your Kubernetes cluster using one of the following methods:

-   [kubectl](https://aerospike.com/docs/kubernetes/4.4.x/tools/backup/backup-service)
-   [Helm](https://aerospike.com/docs/kubernetes/4.4.x/tools/backup/backup-service-helm)

Once ABS is running, apply the restore CR; AKO reconciles it and drives the restore through ABS.

## Create a restore

1.  Create your YAML-formatted CR file with the restore configuration you want to perform. See [restore configuration settings](https://aerospike.com/docs/kubernetes/4.4.x/tools/backup/restore-configuration) for details on the parameters available in the restore CR file.
    
    You can find a sample restore CR file in [the AKO GitHub repository](https://github.com/aerospike/aerospike-kubernetes-operator/tree/v4.4.1/config/samples).
    
    A restore is a one-time operation, so the restore CR cannot be updated. If you need to update the restore configuration, you must create a new restore CR.
    
2.  Apply the CR YAML file you created. AKO reconciles the CR and runs the restore through ABS.
    
    ```plaintext
    kubectl apply -f aerospikerestore.yaml -n aerospike
    ```
    
3.  To verify the status of the restore, use the following command:
    
    ```plaintext
    kubectl get aerospikerestore RESTORE_NAME -n aerospike -oyaml
    ```
    
    The `status` field in the output shows the status of the restore operation.
    
    ```plaintext
    status:
    
      job-id: 6893789046818082912
    
      phase: Completed
    
      restoreResult:
    
        status: Done
    ```