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: docs/content/en/latest/pipelines/backup_and_restore/backup.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ linkTitle: "Workspace Backup"
4
4
weight: 2
5
5
---
6
6
7
-
Workspace Backup allows you to create backups of one or more workspaces. Backups can be stored either locally or uploaded to an S3 bucket.
7
+
Workspace Backup allows you to create backups of one or more workspaces. Backups can be stored locally, uploaded to an S3 bucket, or uploaded to Azure Blob Storage.
Copy file name to clipboardExpand all lines: docs/content/en/latest/pipelines/backup_and_restore/configuration.md
+80-4Lines changed: 80 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,26 +15,26 @@ from gooddata_pipelines import BackupRestoreConfig
15
15
16
16
```
17
17
18
-
If you plan on storing your backups on S3, you will also need to import the `StorageType` enum and `S3StorageConfig`class. You can find more details about configuration for the S3 storage below in the [S3 Storage](#s3-storage)section.
18
+
If you plan on storing your backups on S3 or Azure Blob Storage, you will also need to import the `StorageType` enum and the appropriate storage config class (`S3StorageConfig`or `AzureStorageConfig`). You can find more details about configuration for each storage type below in the [S3 Storage](#s3-storage)and [Azure Blob Storage](#azure-blob-storage) sections.
19
19
20
20
```python
21
-
from gooddata_pipelines import BackupRestoreConfig, S3StorageConfig, StorageType
21
+
from gooddata_pipelines import BackupRestoreConfig, S3StorageConfig, AzureStorageConfig, StorageType
22
22
23
23
```
24
24
25
25
The `BackupRestoreConfig` accepts following parameters:
To configure upload of the backups to Azure Blob Storage, use the AzureStorageConfig object:
106
+
107
+
```python
108
+
from gooddata_pipelines.backup_and_restore.models.storage import AzureStorageConfig
109
+
110
+
```
111
+
112
+
The configuration is responsible for establishing a valid connection to Azure Blob Storage, connecting to a storage account and container, and specifying the folder where the backups will be stored or read. You can create the object in three ways, depending on the type of Azure authentication you want to use. The common arguments for all three ways are:
Ready-made scripts covering the basic use cases can be found here in the [GoodData Productivity Tools](https://github.com/gooddata/gooddata-productivity-tools) repository.
66
+
67
+
## Backup and Restore of Workspaces
68
+
69
+
The backup and restore module allows you to create snapshots of GoodData Cloud workspaces and restore them later. Backups can be stored locally, in AWS S3, or Azure Blob Storage.
70
+
71
+
```python
72
+
import os
73
+
74
+
from gooddata_pipelines import BackupManager
75
+
from gooddata_pipelines.backup_and_restore.models.storage import (
0 commit comments