This commit is contained in:
2026-08-12 11:59:14 +02:00
parent 3c4cfc9703
commit c87a5d3e7f
111 changed files with 19381 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
[KUBE](../README.md)  /  Storage
# Storage
## Commands
### `-s, --storage [option]`
Copying backups to external storage. Options:
- `rsync` - The backup directory `<backup path>/<current date>` is synchronized to the specified address `rsyncUri` using `rSync`.
- `ssh` - The backup directory `<backup path>/<current date>` is synchronized to the specified address `sshHost` using `rSync`.
> [!NOTE]
> The default value (`rsync` or `ssh`) is set by the `storageType` variable in the configuration file `config.sh`.
> [!NOTE]
> For correct operation it is necessary to set up SSH-keys for authentication on the external storage. Create a directory (specified in `sshPath`) and grant necessary user rights on the external storage.
Example:
```bash
sudo kube.sh -s
sudo kube.sh -s rsync
sudo kube.sh -s ssh
```