Skip to content

Commit ad06fba

Browse files
committed
get backup done
1 parent e44744a commit ad06fba

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

src/content/docs/aws/services/backup.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "Backup"
3-
linkTitle: "Backup"
43
description: Get started with Backup on LocalStack
54
tags: ["Ultimate"]
65
persistence: supported
@@ -14,7 +13,7 @@ Backup supports a wide range of AWS resources, including Elastic Block Store (EB
1413
Backup enables you to set backup retention policies, allowing you to specify how long you want to retain your backup copies.
1514

1615
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.
1817

1918
## Getting started
2019

@@ -28,10 +27,10 @@ We will demonstrate how to create a backup job and specify a set of resources to
2827
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.
2928
Run the following command to create a backup vault named `my-vault`:
3029

31-
{{< command >}}
32-
$ awslocal backup create-backup-vault \
30+
```bash
31+
awslocal backup create-backup-vault \
3332
--backup-vault-name primary
34-
{{< / command >}}
33+
```
3534

3635
The following output would be retrieved:
3736

@@ -73,10 +72,10 @@ You can specify the backup plan in a `backup-plan.json` file:
7372
You can use the [`CreateBackupPlan`](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_CreateBackupPlan.html) API to create a backup plan.
7473
Run the following command to create a backup plan:
7574

76-
{{< command >}}
77-
$ awslocal backup create-backup-plan \
75+
```bash
76+
awslocal backup create-backup-plan \
7877
--backup-plan file://backup-plan.json
79-
{{< / command >}}
78+
```
8079

8180
The following output would be retrieved:
8281

@@ -111,11 +110,11 @@ You can specify the backup selection in a `backup-selection.json` file:
111110
You can use the [`CreateBackupSelection`](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_CreateBackupSelection.html) API to create a backup selection.
112111
Run the following command to create a backup selection:
113112

114-
{{< command >}}
115-
$ awslocal backup create-backup-selection \
113+
```bash
114+
awslocal backup create-backup-selection \
116115
--backup-plan-id 9337aba3 \
117116
--backup-selection file://backup-plan-resources.json
118-
{{< / command >}}
117+
```
119118

120119
Replace the `--backup-plan-id` value with the `BackupPlanId` value from the output of the previous command.
121120
The following output would be retrieved:
@@ -133,7 +132,7 @@ The following output would be retrieved:
133132
The LocalStack Web Application provides a Resource Browser for managing backup plans and vaults.
134133
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.
135134

136-
<img src="backup-resource-browser.png" alt="Backup Resource Browser" title="Backup Resource Browser" width="900" />
135+
![Backup Resource Browser](/images/aws/backup-resource-browser.png)
137136

138137
The Resource Browser allows you to perform the following actions:
139138

0 commit comments

Comments
 (0)