Temat: Share dla agetna Veeama
Witam wszystkich.
Na komputerze z Win10 mam zainstalowany soft do backupu Veeam Agent for Microsoft Windows v4.0
Mam również dysk USB.
Wcześniej dysk USB był udostępniony za pomocą samby z Debiana i tam wszystko było ok.
Aktualnie ten sam dysk podpoiłem bezpośrednio do rutera i również go udostępniłem za pomocą ksmbd.
Stworzyłem nowego usera o nazwie veeam i nadałem mu pełne uprawnienia do katalogu udostępnionego i wszystkich podkatalogów.
/etc/ksmbd/smb.conf
[global]
netbios name = C2600
server string = Ksmbd on OpenWrt
workgroup = WORKGROUP
interfaces = br-lan
bind interfaces only = yes
ipc timeout = 20
deadtime = 15
map to guest = Bad User
smb2 max read = 64K
smb2 max write = 64K
smb2 max trans = 64K
cache read buffers = no
cache trans buffers = no
domain master = yes
local master = yes
name resolve order = wins lmhosts hosts bcast
os level = 99
preferred master = yes
wins support = yes
######### Dynamic written config options #########
[backup]
path = /mnt/sda1/backup
valid users = veeam
create mask = 0777
directory mask = 0777
read only = no
guest ok = no
Grupa 994 to pozostałość ze starego systemu.
root@C2600:/mnt/sda1# ls -l
drwxr-x--- 6 veeam 994 4096 Jan 24 22:52 backup
drwxr-x--- 2 998 994 16384 Apr 16 2019 lost+found
root@C2600:/mnt/sda1#
Niestety aplikacja Veeama zgłasza poniższy błąd:
O dziwo agent zapisuje na udziale sieciowym bo tworzy i edytuje katalogi oraz pliki.
25.01.2021 14:42:52 :: Error: Wystąpił nieoczekiwany błąd sieciowy Failed to read data from the file [\\C2600\backup\XT3\Backup_XT3\Backup_XT32021-01-13T210130.vib]. Failed to restore file from local backup. VFS link: [summary.xml]. Target file: [MemFs://frontend::CDataTransferCommandSet::RestoreText_{f882f050-ccf7-43fe-b127-06cc8e953bb7}]. CHMOD mask: [0]. Agent failed to process method {DataTransfer.RestoreText}. Agent failed to process method {DataTransfer.RestoreText}.
| MR3020 @ Gargoyle PL 1.6.2.1 -> ZTE MF195
| WR842ND v2 @ Gargoyle PL 1.12.0.2 -> repeater