Aliaksandr Valialkin
|
c0b8143daf
|
lib/backup/common: consistently use canonical path with / directory separators at Part.Path
Previously Part.Path could contain `\` directory separators on Windows OS,
which could result in incorrect filepaths generation when making backups at object storage.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4704
This is a follow-up for f2df8ad480
|
2023-09-19 00:36:32 +02:00 |
|
Nikolay
|
7bfa1d7d9e
|
lib/backup: fixes path generation for windows (#4133)
replaces custom fsync function with standard Fsync methods for files.
fixes pattern matching for parts and properly generate backup path for local fs.
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/70
|
2023-05-08 23:16:26 -07:00 |
|
Aliaksandr Valialkin
|
dc890ab80c
|
lib/backup: remove logging duplicate path values in a single error message
|
2022-12-03 21:55:12 -08:00 |
|
Aliaksandr Valialkin
|
bf6d523bef
|
lib/backup/fslocal: add FS.MustStop() method for stopping bandwidth limiter
|
2020-10-09 15:11:55 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:33:46 +03:00 |
|
Aliaksandr Valialkin
|
216a260ced
|
app/{vmbackup,vmrestore}: add -maxBytesPerSecond command-line flag for limiting the used network bandwidth during backup / restore
|
2019-11-19 20:32:43 +02:00 |
|
Aliaksandr Valialkin
|
7d7fbf890e
|
app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/203
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/38
|
2019-11-07 21:26:43 +02:00 |
|