doc update, move under kopia repo header
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>pull/8581/head
parent
271ff180e9
commit
f93eed56ca
|
@ -30,7 +30,8 @@ metadata:
|
|||
data:
|
||||
<kopia>: |
|
||||
{
|
||||
"cacheLimitMB": 2048
|
||||
"cacheLimitMB": 2048,
|
||||
"fullMaintenanceInterval": "fastGC"
|
||||
}
|
||||
<other-repository-type>: |
|
||||
{
|
||||
|
@ -49,30 +50,11 @@ Below is the supported configurations by Velero and the specific backup reposito
|
|||
***Kopia repository:***
|
||||
`cacheLimitMB`: specifies the size limit(in MB) for the local data cache. The more data is cached locally, the less data may be downloaded from the backup storage, so the better performance may be achieved. Practically, you can specify any size that is smaller than the free space so that the disk space won't run out. This parameter is for repository connection, that is, you could change it before connecting to the repository. E.g., before a backup/restore/maintenance.
|
||||
|
||||
### Full Maintenance Interval customization
|
||||
The full maintenance interval defaults to kopia defaults of 24 hours. Velero provide three override options under `fullMaintenanceInterval` configuration using `backup-repository-configmap` ConfigMap provided to velero install commands allowing for faster removal of deleted velero backups from kopia repo.
|
||||
`fullMaintenanceInterval`: The full maintenance interval defaults to kopia defaults of 24 hours. Override options below allows for faster removal of deleted velero backups from kopia repo.
|
||||
- normalGC: 24 hours
|
||||
- fastGC: 12 hours
|
||||
- eagerGC: 6 hours
|
||||
|
||||
Example of the `backup-repository-configmap` ConfigMap for the above scenario is as below:
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: <config-name>
|
||||
namespace: velero
|
||||
data:
|
||||
<repository-type-1>: |
|
||||
{
|
||||
"fullMaintenanceInterval": fastGC
|
||||
}
|
||||
<repository-type-2>: |
|
||||
{
|
||||
"fullMaintenanceInterval": normalGC
|
||||
}
|
||||
```
|
||||
|
||||
Per kopia [Maintenance Safety](https://kopia.io/docs/advanced/maintenance/#maintenance-safety), it is expected that velero backup deletion will not result in immediate kopia repository data removal. Reducing full maintenance interval using above options should help reduce time taken to remove blobs not in use.
|
||||
|
||||
On the other hand, the not-in-use data will be deleted permanently after the full maintenance, so shorter full maintenance intervals may weaken the data safety if they are used incorrectly.
|
||||
|
|
Loading…
Reference in New Issue