Bacula-users

Re: [Bacula-users] Incomplete backup

2009-02-06 15:42:16
Subject: Re: [Bacula-users] Incomplete backup
From: Victor Sterpu <victor AT casnt DOT ro>
To: Bacula-users AT lists.sourceforge DOT net
Date: Fri, 06 Feb 2009 22:42:19 +0200
I runned bacula in debug mode and found out something strange.

bacula-dir -c /etc/bacula/bacula-dir.conf -d99 -f -u bacula > bacula.out
The command "cat bacula.out | grep postgres" returns this:
192.168.0.191-dir: postgresql.c:194-0 pg_real_connect done
192.168.0.191-dir: postgresql.c:196-0 db_user=bacula db_name=bacula 
db_password=................
192.168.0.191-dir: postgresql.c:513-0 Result status failed: set 
standard_conforming_strings=on
.......................................
192.168.0.191-dir: postgresql.c:513-0 Result status failed: DROP TABLE 
DelCandidates
192.168.0.191-dir: postgresql.c:513-0 Result status failed: DROP INDEX 
DelInx1
192.168.0.191-dir: postgresql.c:513-0 Result status failed: DROP INDEX 
DelInx1

The postgres log:
2009-02-06 22:32:37 EET ERROR:  parameter "standard_conforming_strings" 
cannot be changed
2009-02-06 22:32:51 EET ERROR:  parameter "standard_conforming_strings" 
cannot be changed
2009-02-06 22:33:38 EET ERROR:  table "delcandidates" does not exist
2009-02-06 22:33:38 EET ERROR:  index "delinx1" does not exist
2009-02-06 22:33:38 EET ERROR:  index "delinx1" does not exist



Victor Sterpu wrote:
> Backing up a mail server I realized that the backup is incomplete.
> I use bacula 2.4.4.
> Bacula-fd runs as root.
> My FileSet is like this:
> FileSet {
>     Name = "mail"
>     Include {
>       Options {
>           signature = MD5
>           compression = GZIP
>       }
>       File = "/var/zimbra"
>     }
> }
>
> Before backup I checked the directory /var/zimbra/store/0/10/msg/0/ and 
> it contained 2043 files.
> After the backup, in the bacula console I see that the backup contains 
> only 4 files:
> cwd is: /var/zimbra/store/0/10/msg/0/
> $ ls
> 3029-8857.msg
> 3080-9300.msg
> 3081-9301.msg
> 3083-9326.msg
>
> What can be the reason for this?
> Thank you.
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>   


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users