530
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user