File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
docs/setup_installation/admin/ha-dr Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,39 @@ If any service is misconfigured, the backup status shows as `partial`. In the ex
7777 <figcaption>Backup overview page (partial setup)</figcaption>
7878</figure>
7979
80+ # ### Cleanup
81+
82+ Use the backup time-to-live (`ttl`) flag to automatically prune backups older than the configured duration.
83+
84+ ` ` ` yaml
85+ global:
86+ _hopsworks:
87+ backups:
88+ enabled: true
89+ schedule: "@weekly"
90+ ttl: 60d
91+ ` ` `
92+
93+ For S3 object storage, you can also configure a bucket lifecycle policy to expire old object versions. Example for AWS S3 :
94+
95+ ` ` ` json
96+ {
97+ "Rules": [
98+ {
99+ "ID": "HopsFSBlocksRetentionPolicy",
100+ "Status": "Enabled",
101+ "Filter": {},
102+ "Expiration": {
103+ "ExpiredObjectDeleteMarker": true
104+ },
105+ "NoncurrentVersionExpiration": {
106+ "NoncurrentDays": 60
107+ }
108+ }
109+ ]
110+ }
111+ ` ` `
112+
80113# # Restore
81114!!! Note
82115 Restore is only supported in a newly created cluster; in-place restore is not supported.
You can’t perform that action at this time.
0 commit comments