mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-27 02:46:47 +01:00
af53c7cc78
* fix removing storage data dir before restoring from backup Signed-off-by: Alexander Marshalov <_@marshalov.org> * fix review comment Signed-off-by: Alexander Marshalov <_@marshalov.org> * fix review comment Signed-off-by: Alexander Marshalov <_@marshalov.org> * fixes after merge with `enterprise-single-node` branch Signed-off-by: Alexander Marshalov <_@marshalov.org> --------- Signed-off-by: Alexander Marshalov <_@marshalov.org>
25 lines
1.1 KiB
Go
25 lines
1.1 KiB
Go
package backupnames
|
|
|
|
const (
|
|
// RestoreInProgressFilename is the filename for "restore in progress" file
|
|
//
|
|
// This file is created at the beginning of the restore process and is deleted at the end of the restore process.
|
|
// If this file exists, then it is unsafe to read the storage data, since it can be incomplete.
|
|
RestoreInProgressFilename = "restore-in-progress"
|
|
|
|
// RestoreMarkFileName is the filename for "restore mark" file.
|
|
// This file is created in backupmanager for starting restore process.
|
|
// It is deleted after successful restore.
|
|
RestoreMarkFileName = "backup_restore.ignore"
|
|
|
|
// ProtectMarkFileName is the filename for "protection mark" file.
|
|
// This file is created in backupmanager for protecting backup from deletion via retention policy.
|
|
ProtectMarkFileName = "backup_locked.ignore"
|
|
|
|
// BackupCompleteFilename is a filename, which is created in the destination fs when backup is complete.
|
|
BackupCompleteFilename = "backup_complete.ignore"
|
|
|
|
// BackupMetadataFilename is a filename, which contains metadata for the backup.
|
|
BackupMetadataFilename = "backup_metadata.ignore"
|
|
)
|