mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 08:36:55 +03:00
This avoids a redirect from the old link https://docs.victoriametrics.com/vmbackup/ to https://docs.victoriametrics.com/victoriametrics/vmbackup/ ,
and fixes `backwards` navigation for these links across VictoriaMetrics docs.
This is a follow-up for f152021521
See https://github.com/VictoriaMetrics/VictoriaMetrics/pull/8595#issuecomment-2831598274
14 lines
588 B
Go
14 lines
588 B
Go
package common
|
|
|
|
import (
|
|
"flag"
|
|
)
|
|
|
|
var (
|
|
// DeleteAllObjectVersions is a flag for whether to prune previous object versions when deleting an object.
|
|
DeleteAllObjectVersions = flag.Bool("deleteAllObjectVersions", false, "Whether to prune previous object versions when deleting an object. "+
|
|
"By default, when object storage has versioning enabled deleting the file removes only current version. "+
|
|
"This option forces removal of all previous versions. "+
|
|
"See: https://docs.victoriametrics.com/victoriametrics/vmbackup/#permanent-deletion-of-objects-in-s3-compatible-storages")
|
|
)
|