Skip to content

Commit 8c99fdf

Browse files
committed
fixes
1 parent 8654e65 commit 8c99fdf

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/docs/how-tos/manual-backup.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ The file permissions for the default tar is same as the original files.
163163
>
164164
> From QHUb v0.4. all users will have the same `uid`.
165165

166-
### Google cloud provider
166+
### Google Cloud
167167

168168
To use the Google Cloud provider, install the [gsutil](https://cloud.google.com/storage/docs/gsutil_install) CLI instead of the AWS CLI. Otherwise, the instructions are the same as
169169
for AWS above, other than when working with S3. Here are the commands to access Google Spaces instead of S3 for copy/download of the backup:
@@ -175,18 +175,16 @@ gsutil cp 2021-04-23.tar gs://<your_bucket_name>/backups/2021-04-23.tar
175175
cd /data
176176
gsutil cp gs://<your_bucket_name>/backups/2021-04-23.tar .
177177
```
178+
178179
### Azure
179-
# install Azure CLI
180-
curl -sL https://aka.ms/InstallAzureCLIDeb | bash
181-
az login --use-device-code
182180

183-
# Install azcopy
184-
wget https://aka.ms/downloadazcopy-v10-linux
185-
tar -xvf downloadazcopy-v10-linux
186-
cp ./azcopy_linux_amd64_*/azcopy /usr/bin/
187-
chmod 755 /usr/bin/azcopy
181+
To do a backup on Azure, first install [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli#install) and [azcopy](https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10?tabs=dnf#install-azcopy-on-linux-by-using-a-package-manager).
182+
183+
#### Do the backup
184+
185+
```bash
186+
az login # --use-device-code if web browser not available
188187
189-
# Do the backup
190188
cd /data
191189
192190
tar -cvf 2024-06-27.tar .
@@ -196,6 +194,7 @@ export AZCOPY_AUTO_LOGIN_TYPE=AZCLI
196194
197195
# copy the tar backup file to blob storage
198196
azcopy copy 2024-06-27.tar 'https://<storage-account>.blob.core.windows.net/<blob-bucket>/backups/nebari-2024-06-27.tar'
197+
```
199198

200199
### Digital Ocean
201200

0 commit comments

Comments
 (0)