Skip to content

Commit 5bbc32a

Browse files
authored
Update manual-backup.md
1 parent db1c609 commit 5bbc32a

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ apt install curl -y
8383
apt install unzip -y
8484
```
8585

86-
Because you are on AWS, the AWS command-line tool is also installed:
86+
For AWS, you need to install the CLI (see CLI instructions for Google, Azure, Digital Ocean below):
8787

8888
```shell
8989
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
@@ -175,6 +175,27 @@ 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+
### Azure
179+
# install Azure CLI
180+
curl -sL https://aka.ms/InstallAzureCLIDeb | bash
181+
az login --use-device-code
182+
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
188+
189+
# Do the backup
190+
cd /data
191+
192+
tar -cvf 2024-06-27.tar .
193+
194+
# Tell AZCOPY to use same auth as CLI
195+
export AZCOPY_AUTO_LOGIN_TYPE=AZCLI
196+
197+
# copy the tar backup file to blob storage
198+
azcopy copy 2024-06-27.tar 'https://<storage-account>.blob.core.windows.net/<blob-bucket>/backups/nebari-2024-06-27.tar'
178199

179200
### Digital Ocean
180201

0 commit comments

Comments
 (0)