Igor Tarasiuk
unread,Jun 17, 2011, 7:43:45 AM6/17/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ru-bacula
Не получается архивировать на сетевую папку. Скрипт создает архив на
сетевой папке нормально.
Но бакула при обращении к сетевой папке ругается и в результате не
делает нормальный архив
2011-06-15 21:04:00 ku-it-fd JobId 80: Generate VSS snapshots.
Driver="VSS Vista", Drive(s)="Z"
2011-06-15 21:04:03 ku-it-fd JobId 80: Warning: Generate VSS
snapshot of drive "z:\" failed. VSS support is disabled on this drive.
2011-06-15 21:04:03 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/MediaId": ERR=A required privilege is not
held by the client. .
2011-06-15 21:04:03 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Catalog/BackupGlobalCatalog": ERR=A required
privilege is not held by the client. .
2011-06-15 21:04:03 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Catalog/GlobalCatalog": ERR=A required
privilege is not held by the client. .
2011-06-15 21:04:03 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Catalog": ERR=A required privilege is not
held by the client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/da7fcab9-efdd-11de-
b953-806e6f6e6963.vhd": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writere8132975-6f93-4464-
a53e-1050253ae220.xml": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writerbe000cbe-11fe-4426-9c58-531aa6355fc4.xml":
ERR=A required privilege is not held by the client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writer4dc3bdd4-ab48-4d07-
adb0-3bee2926fd7f.xml": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writer542da469-
d3e1-473c-9f4f-7847f01fc64f.xml": ERR=A required privilege is not held
by the client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writerafbab4a2-367d-4d15-
a586-71dbb18f8485.xml": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writercd3f2362-8bef-46c7-9181-
d62844cdc0b2.xml": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Writera6ad56c2-b509-4e6c-
bb19-49d8f43532f0.xml": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_RegistryExcludes.xml": ERR=A required
privilege is not held by the client. .
2011-06-15 21:04:04 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_AdditionalFilesc3b9f3c7-5e52-4d5e-8b20-19adc95a34c7.xml":
ERR=A required privilege is not held by the client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/BackupSpecs.xml":
ERR=A required privilege is not held by the client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119/1fb8360c-
b1b4-4d2f-8008-7f783a7e95b0_Components.xml": ERR=A required privilege
is not held by the client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/Backup 2011-06-15 173119": ERR=A required
privilege is not held by the client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it/SPPMetadataCache": ERR=A required privilege
is not held by the client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup/ku-it": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT/
WindowsImageBackup": ERR=A required privilege is not held by the
client. .
2011-06-15 21:04:05 ku-it-fd JobId 80: Cannot open "Z:/KU-IT": ERR=A
required privilege is not held by the client. .
2011-06-15 21:04:14 ku-it-fd JobId 80: VSS Writer (BackupComplete):
"Task Scheduler Writer", State: 0x1 (VSS_WS_STABLE)
........
2011-06-15 21:04:44 back-dir JobId 80: Bacula back-dir 5.0.3
(04Aug10): 15-Jun-2011 21:04:44
Build OS: x86_64-unknown-linux-gnu suse 5.x
JobId: 80
Job: Mon-Full-ku-it-d.2011-06-15_20.31.04_14
Backup Level: Full
Client: "ku-it-fd" 5.0.3 (04Aug10) Linux,Cross-
compile,Win64
FileSet: "ku-it.print.local-d" 2011-06-15 20:25:59
Pool: "Pool-Type-Mon-Full" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "alfa-sd" (From Job resource)
Scheduled time: 15-Jun-2011 20:31:04
Start time: 15-Jun-2011 21:03:31
End time: 15-Jun-2011 21:04:44
Elapsed time: 1 min 13 secs
Priority: 11
FD Files Written: 21
SD Files Written: 21
FD Bytes Written: 0 (0 B)
SD Bytes Written: 3,977 (3.977 KB)
Rate: 0.0 KB/s
Software Compression: None
VSS: yes
Encryption: no
Accurate: no
Volume name(s): Mon-Full-05
Volume Session Id: 45
Volume Session Time: 1308037567
Last Volume Bytes: 1,096,058,880 (1.096 GB)
Non-fatal FD errors: 22
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK -- with warnings
Конфиги
Client {
Name = ku-it-fd
Address = ku-it.print.local
FDPort = 9102
Catalog = MyCatalog
Password = "so7ckY8P9G+F5rWIlRfHMON27t8Q8l093m26Su08VSrM" #
password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
FileSet {
Name = "ku-it.print.local-d"
# Enable VSS = yes
Include {
Options {
signature=MD5
compression=GZIP7
IgnoreCase = yes
}
# File = "D:/TMP/TEST_BACK"
File = "Z:/KU-IT"
# File = "\\\\\\up-lfs\\BACK\\KU-IT"
}
}
Job {
Name = "Mon-Full-ku-it-d"
JobDefs = "DefJob-Pool-Type-Mon-Full"
FileSet="ku-it.print.local-d"
Level = Full
Client = ku-it-fd
ClientRunBeforeJob = "\"C:/BIN/bsys.cmd\""
ClientRunAfterJob = "C:/BIN/bacula_after_sys.cmd"
Priority = 11 # run after main backup
}
Скрипты
bsys.cmd
IF NOT EXIST Z: GOTO ADDZ
GOTO NEXTZ
:NEXTZ
net use Z: /d /y
net use Z: \\192.168.0.15\BACK /USER:print\angel Ijvty_exb?!
GOTO ENDADDDISK
:ADDZ
net use Z: \\192.168.0.15\BACK /USER:print\angel Ijvty_exb?!
GOTO ENDADDDISK
:ENDADDDISK
IF NOT EXIST Z:\%COMPUTERNAME% MKDIR Z:\%COMPUTERNAME%
wbadmin start backup -backupTarget:\\192.168.0.15\BACK\%COMPUTERNAME%\
-include:C: -vssFull -quiet
bacula_after_sys.cmd
IF EXIST Z:\%COMPUTERNAME% RMDIR /S /Q Z:\%COMPUTERNAME%
IF EXIST Z: net use Z: /d /y
###########
То есть хочу реализовать следующую схему. Windows сервер сливает архив
на сетевую папку (как временное хранилище) и оттуда архивировать на
ленточку.