VictoriaMetrics/lib/backup
Zakhar Bessarab f2df8ad480
vmbackupmanager: fixes for windows compatibility (#641)
* app/vmbackupmanager/storage: fix path join for windows

See: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4704

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* lib/backup: fixes for windows support

- close dir before running os.RemoveAll. Windows FS does not allow to delete directory before all handles will be closed.

- add path "normalization" for local FS to use the same format of paths for both *unix and Windows

See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4704

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

---------

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2023-08-11 02:56:11 -07:00
..
actions fix removing storage data dir before restoring from backup (#598) 2023-07-06 14:16:18 -07:00
azremote app,lib: fix typos in comments (#3804) 2023-02-13 13:27:13 +01:00
backupnames fix removing storage data dir before restoring from backup (#598) 2023-07-06 14:16:18 -07:00
common lib/backup: fixes path generation for windows (#4133) 2023-05-03 10:48:53 +02:00
fscommon vmbackupmanager: fixes for windows compatibility (#641) 2023-08-11 02:56:11 -07:00
fslocal lib/backup: fixes path generation for windows (#4133) 2023-05-03 10:48:53 +02:00
fsnil lib/backup: add MustStop() method for all remote filesystems 2020-10-09 15:32:19 +03:00
fsremote vmbackupmanager: fixes for windows compatibility (#641) 2023-08-11 02:56:11 -07:00
gcsremote app/vmbackupmanager: sync with enterprise-single-node branch after 41a54c775891c87e3d5ed59ff0769c869dd2fe71 2023-04-13 19:29:06 -07:00
s3remote squash commits (#4166) 2023-05-03 10:51:08 +02:00