You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/backup.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: "Backup"
3
-
linkTitle: "Backup"
4
3
description: Get started with Backup on LocalStack
5
4
tags: ["Ultimate"]
6
5
persistence: supported
@@ -14,7 +13,7 @@ Backup supports a wide range of AWS resources, including Elastic Block Store (EB
14
13
Backup enables you to set backup retention policies, allowing you to specify how long you want to retain your backup copies.
15
14
16
15
LocalStack allows you to use the Backup APIs in your local environment to manage backup plans, create scheduled or on-demand backups of certain resource types.
17
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_backup" >}}), which provides information on the extent of Backup's integration with LocalStack.
16
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Backup's integration with LocalStack.
18
17
19
18
## Getting started
20
19
@@ -28,10 +27,10 @@ We will demonstrate how to create a backup job and specify a set of resources to
28
27
You can create a backup vault which acts as a logical container where backups are stored using the [`CreateBackupVault`](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_CreateBackupVault.html) API.
29
28
Run the following command to create a backup vault named `my-vault`:
30
29
31
-
{{< command >}}
32
-
$ awslocal backup create-backup-vault \
30
+
```bash
31
+
awslocal backup create-backup-vault \
33
32
--backup-vault-name primary
34
-
{{< / command >}}
33
+
```
35
34
36
35
The following output would be retrieved:
37
36
@@ -73,10 +72,10 @@ You can specify the backup plan in a `backup-plan.json` file:
73
72
You can use the [`CreateBackupPlan`](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_CreateBackupPlan.html) API to create a backup plan.
74
73
Run the following command to create a backup plan:
75
74
76
-
{{< command >}}
77
-
$ awslocal backup create-backup-plan \
75
+
```bash
76
+
awslocal backup create-backup-plan \
78
77
--backup-plan file://backup-plan.json
79
-
{{< / command >}}
78
+
```
80
79
81
80
The following output would be retrieved:
82
81
@@ -111,11 +110,11 @@ You can specify the backup selection in a `backup-selection.json` file:
111
110
You can use the [`CreateBackupSelection`](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_CreateBackupSelection.html) API to create a backup selection.
112
111
Run the following command to create a backup selection:
Replace the `--backup-plan-id` value with the `BackupPlanId` value from the output of the previous command.
121
120
The following output would be retrieved:
@@ -133,7 +132,7 @@ The following output would be retrieved:
133
132
The LocalStack Web Application provides a Resource Browser for managing backup plans and vaults.
134
133
You can access the Resource Browser by opening the LocalStack Web Application in your browser, navigating to the **Resources** section, and then clicking on **Backup** under the **Storage** section.
0 commit comments