Skip to content

Commit 2513f10

Browse files
authored
Update docs for Restic info (hestiacp#4731)
1 parent 8adca8b commit 2513f10

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,37 @@ For Blackblaze use
158158
v-add-backup-host 'rclone' 'b2' '' '' 'hestiacp'
159159
```
160160

161+
## Setting up Incremental Backups
162+
163+
Enable Incremental Backups in the user packages.
164+
165+
### Using Rclone
166+
167+
Since 1.9 we include Rclone by default in Hestia Installation. Run `rclone config` as the `root` user and then select the option `n`. Follow the instruction on the screen, then save when completed.
168+
169+
Run the following command:
170+
171+
```bash
172+
v-add-backup-host-restic 'rclone:target:/folder/' '30' '8' '5' '3' '-1'
173+
```
174+
175+
```bash
176+
v-backup-users-restic
177+
```
178+
179+
or
180+
181+
```bash
182+
v-backup-user-restic username
183+
```
184+
185+
::warning
186+
A new restic repository is initiated on the first time you run this command. An encryption key is generated at the same time in /usr/local/hestia/data/users/{users}/restic.conf. Please make sure to backup this file somewhere incase the server gets comprimised or the user gets deleted. Without this "secret" key we don't provide any method to restore the user data. This is the reason why we alway advice to keep the orignal backup still working.
187+
188+
### Other methods
189+
190+
Other methods as long Restic supports it are supported how ever as we run the command as root we are not able to provide keys / password and so on before hand. This is why Rclone is in favor for other methods!
191+
161192
## How to change default backup folder
162193

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

0 commit comments

Comments
 (0)