Skip to content

Commit 39b8f5e

Browse files
jaapmarcusAlecRust
andauthored
Rclone imporve docs + Fix typo (hestiacp#3378)
* fix typo * Improve Rclone example * Update bin/v-add-backup-host Co-authored-by: Alec Rust <me@alecrust.com> --------- Co-authored-by: Alec Rust <me@alecrust.com>
1 parent 01a69a6 commit 39b8f5e

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

bin/v-add-backup-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ if [ "$type" = 'rclone' ]; then
298298
rclone delete $host:$path/hestia-backup.txt
299299
fi
300300
else
301-
check_result "$E_CONNECT" "Rclone config does not exits"
301+
check_result "$E_CONNECT" "Rclone config does not exist"
302302
fi
303303
fi
304304

docs/docs/server-administration/backup-restore.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,37 @@ Once the download and installation is complete, run `rclone config` and then `n`
108108
Once the config has been saved you can setup Hestia with the following command:
109109

110110
```bash
111-
v-add-backup-host 'rclone' 'config_name' '' '' 'Bucket or Folder name' ''
111+
v-add-backup-host 'rclone' 'remote-name' '' '' 'Bucket or Folder name' ''
112112
```
113113

114114
::: tip
115-
B2 requires you to setup a bucket during the `v-add-backup-host` stage. S3 or R2 storage will work fine during the setup stage.
115+
B2 requires you to setup a bucket during the `v-add-backup-host` stage. S3 or R2 storage will work fine during the `rclone config` stage.
116116
:::
117117

118+
For example:
119+
120+
```bash
121+
rclone config
122+
123+
Current remotes:
124+
125+
Name Type
126+
==== ====
127+
r2 s3
128+
```
129+
130+
To use the "R2" endpoint use
131+
132+
```bash
133+
v-add-backup-host 'rclone' 'r2'
134+
```
135+
136+
For Blackblaze use
137+
138+
```bash
139+
v-add-backup-host 'rclone' 'b2' '' '' 'hestiacp'
140+
```
141+
118142
## How to change default backup folder
119143

120144
For security reasons, symlinks are not allowed. To change the default backup folder, you can do the following:

0 commit comments

Comments
 (0)