Bacula-users

[Bacula-users] getcwd() failed: No such file or directory

2015-03-30 14:28:12
Subject: [Bacula-users] getcwd() failed: No such file or directory
From: Marcos Renato da Silva Junior <marcosjr AT dee.feis.unesp DOT br>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 30 Mar 2015 15:14:57 -0300

Hi,

After update Bacula version 5.2.12 to 7.0.5, i have received this message on 
catalog backup :

---------------

27-Mar 21:32 jane-dir JobId 4521: shell command: run BeforeJob 
"/etc/bacula/make_catalog_backup.pl MyCatalog"
27-Mar 21:32 jane-dir JobId 4521: BeforeJob: sh: 0: getcwd() failed: No such 
file or directory
27-Mar 21:32 jane-dir JobId 4521: BeforeJob: sh: 0: getcwd() failed: No such 
file or directory

27-Mar 21:33 jane-dir JobId 4521: shell command: run AfterJob 
"/etc/bacula/delete_catalog_backup"
27-Mar 21:33 jane-dir JobId 4521: AfterJob: sh: 0: getcwd() failed: No such 
file or directory

---------------

/etc/bacula/make_catalog_backup.pl MyCatalog - works fine in terminal


/etc/bacula/delete_catalog_backup - works fine in terminal

---------------

/etc/bacula/bacula-dir.conf :


FileSet {
   Name = "Catalog"
   Include {
     Options {
       signature = MD5
     }
     File = /var/bacula/working/bacula.sql
   }
}


Job {
   Name = "BackupCatalog"
   Type = Backup
   Client = sever-fd
   Storage = File
   Messages = Standard
   Pool = Diario
   Level = Full
   FileSet="Catalog"
   Schedule = "Cycle"
   RunBeforeJob = "/etc/bacula/make_catalog_backup.pl MyCatalog"
   # This deletes the copy of the catalog
   RunAfterJob  = "/etc/bacula/delete_catalog_backup"
   Write Bootstrap = "/var/bacula/working/%n.bsr"
   Priority = 11                   # run after main backup
}

---------------



Thanks,

Marcos.




------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>