Hi everyone. many years later, there was no guaranteed solution with UNC paths. We have:
BAREOS file deamon with:1. BAREOS-fd on Windiws 10 x64.
2. Run service bareos-fd from
local Administrator accaunt(NOT SYSTEM).
3. in Registry LongPathsEnabled=1.
4. Successful LongUNC test: \\?\UNC\192.168.7.3\PUB\
BAREOS storage deamon with bareos-dir.d\fileset:
FileSet {
Enable VSS = no
Name = "All-UNCPath"
Include {
Options {
wildFile = "*.jpg"
wildFile = "*.jpeg"
wildFile = "*.doc*"
wildFile = "*.xls*"
wildFile = "*.pdf"
wildFile = "*.txt"
signature = MD5
compression = GZIP9
IgnoreCase = yes
}
Options {
RegexFile = ".*"
exclude = yes
}
#File = "\\\\\\?\\UNC\\nas\\PUB\\"
#File = "//?/UNC/nas/PUB"
#File = "c:/Users/USER"
File = "\\\\\\?\\UNC\\192.168.7.3\\PUB"
#File = "//?/UNC/
192.168.7.3/PUB/"
}
}
If File = "\\\\\\?\\UNC\\192.168.7.3\\PUB", results:
In dashboard gren line job=Success, Level=Full, files added = 0.
if File = "c:/Users/USER", results: everything is worked out correctly.
PS, of course I tried a lot of varinates \\\\\\?\\UNC\\, \\\\?\\UNC\\ and etc.
PS, command "notepad.exe \\?\UNC\192.168.7.3\PUB\test.txt" its work.
PS, I am also very indignant that I cannot install the BAREOS-FD service on this SynologyNAS.
Please help sort it out, thanks.