On 7/7/06, BillieGDJoe <[EMAIL PROTECTED]
> wrote:
Hi,
I'm testing Bacula, so I done backup of my Windows2k3 Server and all works fine. When I try to restore some files/directories that I delete for tests purposes and I know that was in backup, I get this error:
07-Jul 15:47 webwin3-fd: webwin3-restore.2006-07-07_15.42.29 Error: c:\cygwin\home\kern\bacula\k\src\win32\findlib\../../findlib/create_file.c:340 Could not open C:/Program Files/SWsoft/Install/: ERR=The process cannot access the file because it is being used by another process.
07-Jul 15:43 backupserver-dir: webwin3-restore.2006-07-07_15.42.29 Error: Bacula 1.38.10 (08Jun06): 07-Jul-2006 15:43:40
I'm almost sure that no one process is using thats files, but I'm still get this errors. Any ideas ?? Here is my configuration file (dir):
#################################################################################################################################################################
# DIRECTOR SECTION
#################################################################################################################################################################
Director { # define myself
Name = backupserver-dir
Description = "Backup Server"
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/bacula/working"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "asdasd" # Console password
Messages = Daemon
}
#################################################################################################################################################################
# CATALOG SECTION
#################################################################################################################################################################
Catalog {
Name = Catalog
dbname = bacula; user = bacula; password = ""
}
#################################################################################################################################################################
# JOBS SECTION - BACKUP CATALOG
#################################################################################################################################################################
Job {
Name = "backupcatalog"
Enabled = yes
Client = backupserver-fd
Type = Backup
Level = Full
FileSet="Catalog"
Storage = backupserver-sd
Schedule = "WeeklyFull"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula"
# This deletes the copy of the catalog
RunAfterJob = "/etc/bacula/delete_catalog_backup"
Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
Messages = Standard
Pool = catalog
Priority = 11 # run after main backup
}
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
compression = GZIP5
}
File = /var/bacula/working/bacula.sql
}
}
#################################################################################################################################################################
# JOBS SECTION - BACKUP WEBWIN3
#################################################################################################################################################################
Job {
Name = "webwin3"
Enabled = yes
Client = webwin3-fd
Type = Backup
FileSet="webwin3"
Storage = backupserver-sd
Schedule = "WeeklyCicle"
Write Bootstrap = "/var/bacula/working/webwin3.bsr"
Messages = Standard
Pool = webwin3
Priority = 11
}
FileSet {
Name = "webwin3"
Enable VSS = yes
Include {
Options {
signature = MD5
compression = GZIP5
}
File = "C:/Inetpub/vhosts"
File = "C:/Program Files/SWsoft/"
File = "C:/WINDOWS/system32/inetsrv/MetaBase.xml"
}
}
Job {
Name = "webwin3-restore"
Type = Restore
Client = webwin3-fd
FileSet = "webwin3"
Storage = backupserver-sd
Pool = webwin3
Messages = Standard
}
#################################################################################################################################################################
# SCHEDULE SECTION
#################################################################################################################################################################
Schedule {
Name = "WeeklyCicle"
Run = Incremental mon-sat at 23:00
Run = Full sat at 23:00
}
Schedule {
Name = "WeeklyFull"
Run = Full sun at 23:00
}
#################################################################################################################################################################
# CLIENT SECTION - LOCALHOST
#################################################################################################################################################################
Client {
Name = backupserver-fd
Address = backupserver
FDPort = 9102
Catalog = Catalog
Password = "asdasdasdasd" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 30 days # 30 days
AutoPrune = yes # Prune expired Jobs/Files
Maximum Concurrent Jobs = 1
}
#################################################################################################################################################################
# CLIENT SECTION - WEBWIN3 (200.186.45.140)
#################################################################################################################################################################
Client {
Name = webwin3-fd
Address = 192.168.11.140
FDPort = 9102
Catalog = Catalog
Password = "asdasdasdawdasd" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 30 days # 30 days
AutoPrune = yes # Prune expired Jobs/Files
Maximum Concurrent Jobs = 1
}
#################################################################################################################################################################
# MESSAGES SECTION
#################################################################################################################################################################
Messages {
Name = Standard
mailcommand = "/sbin/bsmtp -h 192.168.11.2 -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/sbin/bsmtp -h 192.168.11.2 -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
console = all, !skipped, !saved
append = "/var/bacula/working/log" = all, !skipped
}
Messages {
Name = Daemon
mailcommand = "/sbin/bsmtp -h 192.168.11.2 -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/var/bacula/working/log" = all, !skipped
}
#################################################################################################################################################################
# STORAGE SECTION
#################################################################################################################################################################
Storage {
Name = backupserver-sd
Address = backupserver # N.B. Use a fully qualified name here
SDPort = 9103
Password = "asdasdasdawds"
Device = HD120GB
Media Type = File
}
#################################################################################################################################################################
# POOL SECTION - CATALOG
#################################################################################################################################################################
Pool {
Name = catalog
Pool Type = Backup
Maximum Volumes = 4
Use Volume > Recycle = yes # Bacula can automatically recycle Volumes
Recycle Oldest Volume = yes
Purge Oldest Volume = yes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days # 30 days
Label Format = "catalog-"
}
#################################################################################################################################################################
# POOL SECTION - WEBWIN3
#################################################################################################################################################################
Pool {
Name = webwin3
Pool Type = Backup
Maximum Volumes = 4
Maximum Volume Jobs = 7
Use Volume > Recycle = yes # Bacula can automatically recycle Volumes
Recycle Oldest Volume = yes
Purge Oldest Volume = yes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days # 30 days
Label Format = "webwin3-"
}
"Computers are like air-conditioners.
They stop working when you open Windows."
BillieGDJoe
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users