All created backups are stored in the network folder on a separate server. This folder must be available from the Kubernetes cluster by using the CIFS or NFS protocol.
Free space for a backup is not checked automatically. You have to make sure that you have enough free space on the network resource.
To prevent an overload of the network folder, the maximum number of backups that can be stored in the network folder is limited. By default, you can create up to 10 backups. You can set the maximum number of backups by using the backup_retain
parameter when creating a backup manually or when configuring a backup schedule. If the network folder already contains the maximum number of backups, the next backup will overwrite the oldest one.
Specifying the path to the network folder for backup storage
To specify the backup storage path accessible via the CIFS/SMB protocol,
On the administrator host, run the following command:
./kdt invoke backup-operator -a setBackupStore \
--param backup_target_url="cifs://<host>/<path>" \
--param cifs_username="<username>" \
--param cifs_password="<password>"
where:
<host>
is the address of the network storage server.<path>
is the path to the backup network folder.<username>
is the user name for accessing the network folder.<password>
is the password for accessing the network folder.If the password contains double quotes, escape them with backslashes (\"
).
To specify the backup storage path accessible via the NFS protocol,
On the administrator host, run the following command:
./kdt invoke backup-operator -a setBackupStore --param backup_target_url="nfs://<host>/<path>"
where:
<host>
is the address of the network storage server.<path>
is the path to the backup network folder.The path to the network folder for backup storage is specified.
Viewing the path to the network folder for backup storage
To view the current backup storage path,
On the administrator host, run the following command:
./kdt invoke backup-operator -a getBackupStore
The current backup storage path is displayed.
Page top