Skip to content

Commit 0001185

Browse files
committed
Update 02-data-recovery.md
1 parent c81ca03 commit 0001185

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/en/guides/57-data-management/02-data-recovery.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@ Fail-safe includes:
6767

6868
## BendSave
6969

70-
BendSave is a command-line tool for backing up and restoring metadata in Databend. It stores backups in S3-compatible object storage, making it ideal for disaster recovery and environment cloning.
71-
72-
:::note
73-
This tool only backs up and restores metadata (e.g., databases, tables, users). It does not include actual data files stored in object storage.
74-
:::
70+
BendSave is a command-line tool for backing up and restoring both metadata (such as databases, tables, and users) and actual data files in Databend. It stores backups in S3-compatible object storage, making it ideal for disaster recovery.
7571

7672
### Downloading BendSave
7773

@@ -122,8 +118,13 @@ databend-bendsave restore \
122118
#### Examples
123119

124120
```bash
121+
export AWS_ACCESS_KEY_ID=minioadmin
122+
export AWS_SECRET_ACCESS_KEY=minioadmin
123+
125124
# Backup
126-
bendsave backup --from /path/to/query-node-1.toml --to s3://backup/
125+
./databend-bendsave backup \
126+
--from ../configs/databend-query.toml \
127+
--to 's3://backupbucket?endpoint=http://127.0.0.1:9000/&region=us-east-1'
127128

128129
# Restore
129130
bendsave restore --from s3://backup/manifests/20250115_201500.manifest --to /path/to/query-node-1.toml

0 commit comments

Comments
 (0)