Re: [Bacula-users] SQL query

2010-01-14 Thread David Dumortier
Hi,

Martin Simmons a écrit :
 On Wed, 13 Jan 2010 14:18:18 +0100, David Dumortier said:
 Importance: Normal

 Hi all,

 I try to query MySQL to obtain all the date of backup for a file.
 I used this but have only the last backup :

 :List all backup for a File with date :
 *Enter Client :
 *Enter Filename (no path) :
 SELECT Client.Name as Client,
   Path.Path,Filename.Name, Job.JobId as JobId,
   StartTime
  FROM Client,Job,File,Filename,Path
  WHERE Client.ClientId=Job.ClientId
AND Job.JobId=File.JobId
AND Path.PathId=File.PathId AND Filename.FilenameId=File.FilenameId
AND Client.Name='%1'
AND Filename.Name='%2'
  ORDER BY Path.Path;

 That should work.

 Maybe your catalog has been pruned, so the file records are no longer
 there?

 __Martin

Ok I'm going to tweak some parameters and see.
Thank you for reply.

Best regards
-- 
David Dumortier



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bnet receive challenge response error ? Authentication errors...

2010-01-14 Thread Simon Spring - GoldNet GmbH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Martin
...

 Here is what i get from debug on the client:

 $ bacula-fd -c /etc/bacula/bacula-fd.conf -v -s -d350 -f
 bacula-fd: filed_conf.c:438-0 Inserting director res: godzilla-mon
 gnadmin-fd: message.c:259-0 Copy message resource 809be78 to 8099a70
 gnadmin-fd: jcr.c:135-0 read_last_jobs seek to 188
 gnadmin-fd: jcr.c:142-0 Read num_items=0
 gnadmin-fd: pythonlib.c:113-0 No script dir. prog=FDStartUp
 gnadmin-fd: filed.c:225-0 filed: listening on port 9102
 gnadmin-fd: bnet_server.c:96-0 Addresses  
 host[ipv4:192.168.99.24:9102]
 gnadmin-fd: bnet.c:667-0 who=client host=192.168.99.10 port=36387
 gnadmin-fd: jcr.c:617-0 OnEntry JobStatus=gnadmin-fd: jcr.c:637-0
 OnExit JobStatus=C set=C
 gnadmin-fd: find.c:81-0 init_find_files ff=809c488
 gnadmin-fd: job.c:233-0 dird: Hello Director godzilla-dir calling
 gnadmin-fd: job.c:249-0 Executing Hello command.
 gnadmin-fd: job.c:359-0 Calling Authenticate
 gnadmin-fd: cram-md5.c:73-0 send: auth cram-md5
 696202879.1263398...@gnadmin-fd ssl=0
 gnadmin-fd: cram-md5.c:89-0 Bnet receive challenge response error.

 This line is the problem -- there was an error receiving the reply  
 for some
 reason.  Unfortunately, Bacula doesn't print the error message.

 You could try attaching strace to the bacula-fd while connecting, to  
 see if
 there is a errno reported in one of the socket syscalls.

$ strace -i -T -v -p 25723
Process 25723 attached - interrupt to quit
[b7f78410] select(5, [4], NULL, NULL, NULL) = 1 (in [4]) 5.991304
[b7f78410] accept(4, {sa_family=AF_INET, sin_port=htons(36887),  
sin_addr=inet_addr(192.168.99.10)}, [16]) = 5 0.64
[b7f78410] getpeername(5, {sa_family=AF_INET, sin_port=htons(36887),  
sin_addr=inet_addr(192.168.99.10)}, [16]) = 0 0.45
[b7f78410] getsockname(5, {sa_family=AF_INET, sin_port=htons(9102),  
sin_addr=inet_addr(192.168.99.24)}, [16]) = 0 0.39
[b7f78410] open(/etc/hosts.allow, O_RDONLY) = 6 0.68
[b7f78410] fstat64(6, {st_dev=makedev(9, 1), st_ino=928703,  
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,  
st_blocks=8, st_size=773, st_atime=2010/01/14-11:39:48,  
st_mtime=2010/01/14-11:31:20, st_ctime=2010/01/14-11:31:20}) = 0  
0.41
[b7f78410] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE| 
MAP_ANONYMOUS, -1, 0) = 0xb7f75000 0.44
[b7f78410] read(6, # /etc/hosts.allow: list of host..., 4096) = 773  
0.73
[b7f78410] close(6) = 0 0.53
[b7f78410] munmap(0xb7f75000, 4096) = 0 0.59
[b7f78410] setsockopt(5, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0  
0.46
[b7c9e488] clone(child_stack=0xb722c4c4, flags=CLONE_VM|CLONE_FS| 
CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| 
CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED,  
parent_tidptr=0xb722cbf8, {entry_number:6, base_addr:0xb722cbb0, limit: 
1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,  
seg_not_present:0, useable:1}, child_tidptr=0xb722cbf8) = 26838  
0.70
[b7f78410] futex(0x80976a0, FUTEX_WAKE, 1) = 1 0.47
[b7f78410] select(5, [4], NULL, NULL, NULL

Anything in there, which rings a bell?

This is all i got from strace, after the last line, bconsole fires  
standard Fatal error: Unable to auth... message.


 gnadmin-fd: authenticate.c:131-0 cram_auth failed for 192.168.99.10
 gnadmin-fd: job.c:252-0 Quit command loop. Canceled=0
 gnadmin-fd: runscript.c:103-0 runscript: running all RUNSCRIPT object
 (ClientAfterJob) JobStatus=C
 gnadmin-fd: pythonlib.c:237-0 No startup module.
 gnadmin-fd: job.c:343-0 Calling term_find_files
 gnadmin-fd: job.c:346-0 Done with term_find_files
 gnadmin-fd: mem_pool.c:377-0 garbage collect memory pool
 gnadmin-fd: job.c:348-0 Done with free_jcr

 192.168.99.10 is bacula server deamon
 192.168.99.24 is the client

 What is 192.168.99.10 (from the authenticate.c:131-0 line above)?   
 Maybe you
 have routing problems?

No, it was a wrong output. As stated: Net is 192.168.99.0/24 - Routing  
in there works
as expected.

Simon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAktO94AACgkQFMrSEgQnfr2CsACaA3ED61ktOm7OAPldAYMBCTR1
gMwAoKGweqTb8AoB6pFZrLhcqmBwdHj8
=EeUb
-END PGP SIGNATURE-

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bnet receive challenge response error ? Authentication errors...

2010-01-14 Thread Simon Spring - GoldNet GmbH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Moray


Am 13.01.2010 um 17:56 schrieb Moray Henderson:
...

 Does the password contain any characters outside the ASCII range  
 32-127?
 If so, it might be a codepage conversion problem.

I'm afraid, no, all standard chars from a-z and 0-9. Even tested  
with Password = abcedefghi on both sides. Nothing.


 Monitor the authentication conversation with tcpdump or wireshark, and
 compare between a working connection and the non-working one?

Did that, nothing diffrent or anything i would get a clue out of it.


 Set SELinux to permissive mode and try again?

This is set to permissive by default on etch/4.0, even disabled SEL  
without any
change in behaviour.

Simon
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAktO+E8ACgkQFMrSEgQnfr0UJwCfQjBnrr96K7l/aPd7fPXRPRnY
dy4AnRXvC26eacUXFH4OFhtB8HMQNMo7
=/bLT
-END PGP SIGNATURE-

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd on windows: ... is a different filesystem. Will not descend from....

2010-01-14 Thread Gavin McCullagh
Hi,

many thanks for clearing this up for me.

On Wed, 13 Jan 2010, Josh Fisher wrote:

 Windows calls these junction points. Windows implements directory
 symlinks as junction points, the only difference being that rather than a
 completely different filesystem being mounted at the junction point, a
 subsection (directory) of the same filesystem is re-mounted at the
 junction point. Therefore, Bacula sees these junction points as a
 different filesystem, (as it should).

I had imagined this alright, but my initial investigation seemed to
contradict it.  It seems I was confusing myself.

It turns out that Samba displays junction points in a slightly odd way that
if you create a file in the junction point directory, you can list that
file in the location, but if you do a directory listing (on the junction
point), you find it's empty and has appeared in the other location.  If you
do a unix find for the file, you'll only see it once.

gavi...@ceartgoleor:/mnt/tmp1$ sudo touch  Users/johnm/Documents/My\ 
Videos/somefile.txt
gavi...@ceartgoleor:/mnt/tmp1$ ls -la Users/johnm/Documents/My\ 
Videos/somefile.txt
-rwxr-xr-x 1 root root 0 2010-01-14 10:21 Users/johnm/Documents/My 
Videos/somefile.txt
gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Documents/My\ 
Videos/somefile.txt
-rwxr-xr-x 1 root root 0 2010-01-14 10:21 Users/johnm/Documents/My 
Videos/somefile.txt
gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Documents/My\ Videos/
total 28
drwxr-xr-x 1 root root 0 2009-08-12 19:06 .
drwxr-xr-x 1 root root 28672 2009-12-15 11:24 ..
gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Documents/My\ 
Videos/somefile.txt
-rwxr-xr-x 1 root root 0 2010-01-14 10:21 Users/johnm/Documents/My 
Videos/somefile.txt
gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Videos/
total 98005
drwxr-xr-x 1 root root 4096 2010-01-14 10:21 .
drwxr-xr-x 1 root root12288 2010-01-08 17:18 ..
snip
-rwxr-xr-x 1 root root0 2010-01-14 10:21 somefile.txt
-rwxr-xr-x 1 root root0 2010-01-13 15:33 test.txt

 You should not be concerned. Either ignore the messages or else
 exclude those directory names in the FileSet  used by Vista/7
 clients.

I'll probably ignore them to keep the output clean -- overly verbose output
like this causes people to ignore it entirely.

Would it be possible for Bacula to give a more precise answer?  The
message:
x is a different filesystem

isn't always true.  In this case, we're talking about a symlink (of sorts)
to the same filesystem.  From your explanation it seems it can be either,
so it might be clearer if bacula could either used a less specific warning
or checked which and warned accordingly.

I can report this as a bug if that makes sense?

Gavin


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd on windows: ... is a different filesystem. Will not descend from....

2010-01-14 Thread Dan Langille
Gavin McCullagh wrote:
 Hi,
 
 many thanks for clearing this up for me.
 
 On Wed, 13 Jan 2010, Josh Fisher wrote:
 
 Windows calls these junction points. Windows implements directory
 symlinks as junction points, the only difference being that rather than a
 completely different filesystem being mounted at the junction point, a
 subsection (directory) of the same filesystem is re-mounted at the
 junction point. Therefore, Bacula sees these junction points as a
 different filesystem, (as it should).
 
 I had imagined this alright, but my initial investigation seemed to
 contradict it.  It seems I was confusing myself.
 
 It turns out that Samba displays junction points in a slightly odd way that
 if you create a file in the junction point directory, you can list that
 file in the location, but if you do a directory listing (on the junction
 point), you find it's empty and has appeared in the other location.  If you
 do a unix find for the file, you'll only see it once.
 
 gavi...@ceartgoleor:/mnt/tmp1$ sudo touch  Users/johnm/Documents/My\ 
 Videos/somefile.txt
 gavi...@ceartgoleor:/mnt/tmp1$ ls -la Users/johnm/Documents/My\ 
 Videos/somefile.txt
 -rwxr-xr-x 1 root root 0 2010-01-14 10:21 Users/johnm/Documents/My 
 Videos/somefile.txt
 gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Documents/My\ 
 Videos/somefile.txt
 -rwxr-xr-x 1 root root 0 2010-01-14 10:21 Users/johnm/Documents/My 
 Videos/somefile.txt
 gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Documents/My\ Videos/
 total 28
 drwxr-xr-x 1 root root 0 2009-08-12 19:06 .
 drwxr-xr-x 1 root root 28672 2009-12-15 11:24 ..
 gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Documents/My\ 
 Videos/somefile.txt
 -rwxr-xr-x 1 root root 0 2010-01-14 10:21 Users/johnm/Documents/My 
 Videos/somefile.txt
 gavi...@ceartgoleor:/mnt/tmp1$ sudo ls -la Users/johnm/Videos/
 total 98005
 drwxr-xr-x 1 root root 4096 2010-01-14 10:21 .
 drwxr-xr-x 1 root root12288 2010-01-08 17:18 ..
 snip
 -rwxr-xr-x 1 root root0 2010-01-14 10:21 somefile.txt
 -rwxr-xr-x 1 root root0 2010-01-13 15:33 test.txt
 
 You should not be concerned. Either ignore the messages or else
 exclude those directory names in the FileSet  used by Vista/7
 clients.
 
 I'll probably ignore them to keep the output clean -- overly verbose output
 like this causes people to ignore it entirely.
 
 Would it be possible for Bacula to give a more precise answer?  The
 message:
   x is a different filesystem
 
 isn't always true.  In this case, we're talking about a symlink (of sorts)
 to the same filesystem.  From your explanation it seems it can be either,
 so it might be clearer if bacula could either used a less specific warning
 or checked which and warned accordingly.
 
 I can report this as a bug if that makes sense?

Can you think of a better and concise message?

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about restores and multiple pools

2010-01-14 Thread Martin Simmons
 On Wed, 13 Jan 2010 18:38:04 -0600, Jon Schewe said:
 
 On 01/13/2010 02:09 PM, Martin Simmons wrote:
  On Tue, 12 Jan 2010 16:38:08 -0600, Jon Schewe said:
  
  I have standard backups (incremental, differential, full) going to tape
  using a pool named Default. I have weekly full backups going to an
  external drive using a pool named Offsite. Now when I do a restore I
  would like bacula to only consider the backups in the Default pool and
  to ignore those in the Offsite pool. Is this possible?
  
  No.
 

 That's too bad. Can it be specified by job? Since I have different jobs
 for offsite and standard, one could possibly differentiate based upon that.

Yes, since you have different jobs, restore will work as long as the correct
job is chosen.  That might be tricky with the most recent backup for a
client or list of files to restore types of restore, so you might need to
restore by entering the jobids.

__Martin

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd on windows: ... is a different filesystem. Will not descend from....

2010-01-14 Thread Gavin McCullagh
Hi,

On Thu, 14 Jan 2010, Dan Langille wrote:

 Would it be possible for Bacula to give a more precise answer?  The
 message:
  x is a different filesystem

 Can you think of a better and concise message?

This is an example one I've seen:

fd-name JobId X: 
c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a 
is a different filesystem. Will not descend from c:/ into 
c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a 

One way to make it more concise would be to drop the repetition of the
directory name, something like.

fd-name JobId X: 
c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a 
links elsewhere. Not Following.

If the code could work out whether the junction actually points to another
filesystem or not, you could have two errors. 

fd-name JobId X: 
c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a 
links to a different filesystem. Not following.
fd-name JobId X: 
c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a 
links elsewhere in the filesystem. Not following.

These are just suggestions of course.  I'm not sure if this loses
some useful information in some cases.

Gavin


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] run job problem

2010-01-14 Thread Frederic Passerin
Lukasz PUZON Brodowski a écrit :
 hi all.
 I install bacula 3.0.3 on 7.2 freebsd system, with mysql (sqlite before). in 
 both cases, when I run my only job, 
 bacula-dir crashes. I run bacula with -d100 option, and last error is:
 ABORTING due to ERROR in lockmgr.c:65 Mutex lock failure. ERR=Resource 
 deadlock avoided

Hi bacula users :)

As I was experiencing the same problem, and I maybe have the response :) 
I'm currently using bacula on a FreeBSD 8.0 server. Installed using ports.

Check your charset on the database. Mine was UTF-8, I didn't check when 
I've created the database. After dump the DB, droping it and recreate it 
with correct encoding (SQL_ASCII), no more troubles.

A postgresql-centric little howto:

# pg_dump -Ubacula bacula  ~/bacula.sql
# su - pgsql
$ psql postgres
postgres=# DROP DATABASE bacula;
postgres=# CREATE DATABASE bacula WITH ENCODING 'SQL_ASCII';
postgres=# \q
$ exit
# vi ~/bacula.sql (and change the line
SET client_encoding = 'UTF8';
to
SET client_encoding = 'SQL_ASCII';)
# cat ~/bacula.sql | psql -Ubacula

And, now, bacula should not crash anymore.

Hope it helps.

Regards,

Fred.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] static bacula-fd for FreeBSD disaster recovery

2010-01-14 Thread G VM

Hi all,

I am trying to build a static binary of bacula-fd.

I found this thread:
http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg33494.html
http://sourceforge.net/mailarchive/message.php?msg_name=3838017D92B3C445BA200CE3B6A821A40A7482%40cetus.dawnsign.com

I followed the instructions found there.
I tried the way with putting the configure arguments in /etc/make.conf
and with putting --enable-static-fd to the .configure line.
Also with make static-bacula-fd
I am using a fresh install of FreeBSD 7.2-RELEASE

I see that configure is using this option.

If I look in src/filed, I find a static-bacula-fd.
However when I look at the linked libraries I see the same list as
bacula-fd.
Not 2 or 3 linked libraries.
The version in ports is 3.x.x.

Does anyone has the same experience?

work/bacula-3.0.0/src/filed/static-bacula-fd:
libz.so.4 = /lib/libz.so.4 (0x2809b000)
libbacfind.so.1 = /usr/local/lib/libbacfind.so.1 (0x280ad000)
libbacpy.so.1 = /usr/local/lib/libbacpy.so.1 (0x280b9000)
libbaccfg.so.1 = /usr/local/lib/libbaccfg.so.1 (0x280bb000)
libbac.so.1 = /usr/local/lib/libbac.so.1 (0x280c2000)
libthr.so.3 = /lib/libthr.so.3 (0x28112000)
libwrap.so.5 = /usr/lib/libwrap.so.5 (0x28127000)
libssl.so.5 = /usr/lib/libssl.so.5 (0x2812e000)
libcrypto.so.5 = /lib/libcrypto.so.5 (0x2816f000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x282c8000)
libm.so.5 = /lib/libm.so.5 (0x283bd000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x283d2000)
libc.so.7 = /lib/libc.so.7 (0x283dd000)

Can anyone help me out?

thanks in advance

  --
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Help MySQL to keep it as Open Source

2010-01-14 Thread Christian
Hi!

I am contacting you because you have in the past shown interest in
MySQL and from that I assume you are interested in the future
well-being of MySQL.

Now you have a unique opportunity to make a difference.  By signing
the petition at http://www.helpmysql.org you can help affect the
future of MySQL as an Open Source database.

You can find more information of this on my latest blog post at:
http://monty-says.blogspot.com/2009/12/help-keep-internet-free.html

Help us spread the world about this petition!
http://www.helpmysql.org is available in 18 languages and every vote
is important, independent of from where in the world it comes!
If you know people that are using MySQL, please contact them and
ensure they also sign the petition!

Regards,
Monty
Creator of MySQL

PS: If you already have signed the petition or know about it, sorry for
reminding you about this! Because of the importance of this issue,
I am trying to contact every person that I have ever communicated
with regarding MySQL.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula client on 64 bit Open SuSE 10.3

2010-01-14 Thread Johnston, James C. (GRC-RXP0)
I'm successfully running Bacula 3.0.1 on several systems, but when I try to set 
up the client on a 64 bit version of Open SuSE 10.3 I can configure, make, and 
install fine but when I try to start bacula-fd it fails, telling me that it 
can't find libbacfind.so.1. When I look in /usr/lib libbacfind.so.1 and 
libbacfind.so are symbolic links to libbacfind.so.1.0.0. All have today's date.

I haven't seen this on my other systems.

Has anybody else seen this, and even better, have a solution?

J. Chris Johnston
Polymers Branch, Structures and Materials Division   (216) 433-5029
NASA John H. Glenn Research Center  (216) 977-7132 
(fax)
21000 Brookpark Rd MS 49-3  
james.c.johnsto...@nasa.gov
Cleveland, Ohio 44135


NOTICE: Lack of planning on your part does not constitute an emergency on my 
part.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with schedule/pool

2010-01-14 Thread Ariel Wainer
I'm resending this mail as it seems it didn't get accepted by mailman.

Hello people, please excuse my bad english.
I'm having some issues with my schedules/pool configuration, my idea is
to run a full backup every 3 days, doing incremental in the middle.
At some point, I keep no full backup, as it seems like the volume that
contains the full backup is being recycled to do the Incremental,  so I
can't restore certain files, which is very serious.

What am I missing?

Thanks in advange, here is my config (passwords removed):

Director {# define myself
  Name = beastman-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /etc/bacula/scripts/query.sql
  WorkingDirectory = /var/lib/bacula
  PidDirectory = /var/run/bacula
  Maximum Concurrent Jobs = 3
  Messages = Daemon
  DirAddress = beastman.contenta
}

JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Differential
  Client = beastman-fd
  FileSet = appl
  Schedule = WeeklyCycle
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
  Write Bootstrap = /backups/bootstrap.bsr
}



## JOBS
Job {
  Name = Manatarms-diario
  Client = manatarms-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Manatarms-diario
}

Job {
  Name = Battlecat-diario
  Client = battlecat-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Battlecat-diario
}


Job {
  Name = Randor-diario
  Client = randor-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Randor-diario
}

#Job {
#  Name = Heman-diario
#  Client = heman-fd
#  JobDefs = DefaultJob
#  FileSet = appl
#  Schedule = Diarios
#  Storage = beastman-storage
#  Pool = Heman-diario
#}

Job {
  Name = Teela-diario
  Client = teela-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Teela-diario
}

Job {
  Name = Sorceress-diario
  Client = sorceress-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Sorceress-diario
}

Job {
  Name = Orco-diario
  Client = orco-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Orco-diario
}


Job {
  Name = Panthor-diario
  Client = panthor-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Panthor-diario
}

Job {
  Name = Marlena-diario
  Client = marlena-fd
  JobDefs = DefaultJob
  FileSet = appl
  Schedule = Diarios
  Storage = beastman-storage
  Pool = Marlena-diario
}

Job {
  Name = BackupCatalog
  JobDefs = DefaultJob
  Level = Full
  FileSet=Catalog
  Schedule = WeeklyCycleAfterBackup
  # This creates an ASCII copy of the catalog
  # WARNING!!! Passing the password via the command line is insecure.
  # see comments in make_catalog_backup for details.
  # Arguments to make_catalog_backup are:
  #  make_catalog_backup database-name user-name password host
  RunBeforeJob = /etc/bacula/scripts/make_catalog_backup bacula baculin
bacapdetodo localhost
  # This deletes the copy of the catalog
  RunAfterJob  = /etc/bacula/scripts/delete_catalog_backup
  Write Bootstrap = /backups/BackupCatalog.bsr
  Storage = beastman-storage
  Pool = Catalog-diario
  Priority = 11   # run after main backup
}

#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
  Name = RestoreFiles
  Type = Restore
  Client=beastman-fd
  FileSet=appl
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /tmp/
}


# Filesets
FileSet {
  Name = appl
  Include {
Options { signature = SHA1
  compression = GZIP9
}

#  File = /backups/
  File = /etc
  File = /appl
  File = /home
  File = /root
  File = /var/www
  File = /usr/local
  File = /var/spool/cron
  File = /usr/lib/nagios/plugins
  File = /backups
  }

   Exclude {
File = /appl/logs/*
#File = /appl/backup
File = /appl/backups/*.1.gz
File = /appl/produccion/*/logs/
File = /appl/pgsql/data/base
File = /appl/pgsql/data/pg_xlog/*
File = /appl/pgsql/data/pg_clog/*
File = /appl/restores/*

   }
}


#
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days
Schedule {
  Name = WeeklyCycle
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Differential mon-sat at 23:05
}

Schedule {
  Name = Diarios
  Run = Level=Fullon sunday at 3:05
  Run = Level=Incremental on mon-sat at 3:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = WeeklyCycleAfterBackup
  Run = Full sun-sat at 23:10
}

# This is the backup of the catalog
FileSet {
  Name = 

Re: [Bacula-users] Upgrade to 3.0.3 Job is waiting for execution

2010-01-14 Thread Auto VHC Dev

Did anyone ever work out how to solve this?

I've a fresh install of bacula on a fresh virtual machine (had it working
fine in a previous version too - so I know what I'm doing).

3.0.3 has jobs as waiting execution after the first job has ran. I've spent
2 days trying to solve this, does anyone have any suggestions?



Giuseppe De Nicolo' wrote:
 
 Bruno Friedmann wrote:
 On 11/17/2009 03:31 PM, Giuseppe De Nicolo' wrote:
   
 Giuseppe De Nicolo' wrote:
 
 Alan Brown wrote:
   
 On Tue, 17 Nov 2009, Giuseppe De Nicolo' wrote:

  
 
 Hi All,

 Since the upgrade to 3.0.3 our test server have this strange
 behavior , the first job after bacula start up runs fine all others
 get
 in line as job is waiting execution and nothing happens, restarting
 bacula reset job lists and again only the first job run fine.
 
   
 Have your concurrency settings been reset? Remember it needs to be 
 checked
 in multiple places.

   
 
 Hi and thank you for your answer, actually you where right , I had ma 
 concurrent jobs se to 1 into director configuration file, though I had 
 it also in 3.0.1 and it worked like a charm  thats why I 
 overlooked the problem, has something changed since 3.0.1 ? and anyway 
 even if I had a concurrency limit of 1 ( which I could like ) why are 
 jobs then not firing up once the first one has completed ?

 Anyway I may consider my problem for such I thank you very much

 Sincerely

   
 Well evidently I was wrong my problem is not solved, it just change 
 behavior, now subsequent jobs does not sit anymore in queue saying

 job is waiting execution but  instead they claim to be running which
 in fact is not true, since backup devise is dismounted and nothing
 happens , pratically the system is on hang till I reboot the bacula
 service  then only  the firts job in line again does run others
 hangs the system and so on ...

 Any clue ?? 


 
 Since yesterday, I've upgraded our working 2.4.4 version to a 3.0.3
 build.

 I'm facing the same trouble. first job run smoothly, other are marked as
 running
 but a status client / storage show that nothing is running on other
 daemons.

 How did you fix your case ?

   
 Hi,
 
 well in my case I purged all my store deleted and recreated em  , 
 disinstalled bacula ( saving all the config files ) then re-compiled it 
 and reinstalled directly the 3.0.3 , wich of course can't be actually 
 define a solution AND I could do this since I m still in testing phase 
 I dunno if you can purge all your backup stores ...
 
 
 
 
 
 
 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 

-- 
View this message in context: 
http://old.nabble.com/Upgrade-to-3.0.3-Job-is-waiting-for-execution-tp26389365p27062276.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on 64 bit Open SuSE 10.3

2010-01-14 Thread Tino Schwarze
On Wed, Jan 13, 2010 at 02:52:23PM -0600, Johnston, James C. (GRC-RXP0) wrote:
 I'm successfully running Bacula 3.0.1 on several systems, but when I try to 
 set up the client on a 64 bit version of Open SuSE 10.3 I can configure, 
 make, and install fine but when I try to start bacula-fd it fails, telling me 
 that it can't find libbacfind.so.1. When I look in /usr/lib libbacfind.so.1 
 and libbacfind.so are symbolic links to libbacfind.so.1.0.0. All have today's 
 date.
 
 I haven't seen this on my other systems.
 
 Has anybody else seen this, and even better, have a solution?

Just to be sure: Did you run ldconfig?

Tino.

-- 
What we nourish flourishes. - Was wir nähren erblüht.

www.lichtkreis-chemnitz.de
www.tisc.de

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fatal error: Network error with FD during Backup: ERR=Connection timed out

2010-01-14 Thread Carlo Filippetto
I tried disabling any power saving features.. but the backup faild!!
I haven't any othe nic card (the server is 600km away) and I can't do
nothig manually..
The driver is ok

Now??
what can I tried??



2010/1/13 Josh Fisher jfis...@pvct.com:

 Carlo Filippetto wrote:

 Hi all,
 I have a problem when backup windows 2008 64 bit, with Exchange 2007
 (bacula 3.0.3 on Centos 5.3)

 On google I found and insert
      Heartbeat Interval = 1 minutes

 on both client and server, but only one time the full backup goes well,
 after all the other faild with the erro in the title

 What can I do?


 I have had this problem before. It has always been related to the NIC or NIC
 driver in the client machine. Years ago this happened with the NIC built
 into the NFS4 Nvidia chipset and was fixed by a driver update from Nvidia.
 In a Lenovo laptop I believe power saving modes in the Windows NIC driver
 may have caused this. If the client doesn't transmit for a while because it
 is busy with compression or building a VSS snapshot then the driver may turn
 off the power to the NIC transmitter. That is just a guess, but a USB
 external NIC worked perfectly in the same machine. Start with disabling any
 power saving features of the NIC in the Windows machine. Try another NIC if
 possible. See if there is an updated NIC driver available.

 Grazie, ciao

 Carlo



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup diffrensial Bacula

2010-01-14 Thread togum

Howdy friends, 

I'm using bacula in our companny backup system. But I always have a problem
if our tape have been full. I'm using diffrensial bacula backup. If our tape
full then i changed with the new tape, it will be full backup again and
continue to do so. 

Please help me!!! 
Thanks advanced
-- 
View this message in context: 
http://old.nabble.com/Backup-diffrensial-Bacula-tp26963478p26963478.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula console command

2010-01-14 Thread Shone Russell

This is the message that I am receiving, can some please help.

 

The Bacula console command /sbin/bconsole is not configured with a valid Bacula 
director host. It is currently using , which does not exist
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390707/direct/01/--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with mail notifications

2010-01-14 Thread Ariel Di Girolamo
Hi, i´m a new user of Bacula and i´m getting problems to receive
notification to my mail address when a job is done.
I´m running Bacula 2.4.4 over a VM on VMware server, running Ubuntu 9.10

This is my bacula-dir.conf messages section:

Messages {
  Name = Daemon
  mailcommand = /usr/lib/bacula/bsmtp -h localhost -f
bac...@invertironline.com -s Bacula Message %r
  mail = u...@domain = all
  mail on success = u...@domain = all
  operator = u...@domain = mount
  console = all, !skipped, !saved
  append = /var/lib/bacula/log = all, !skipped
}

My local smtp is postfix and if i send a mail manually using bsmtp it works
fine

If yo require any other information please let me know

Many thanks

Ariel
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with backup to usb

2010-01-14 Thread Pedro Gomes
Folder as mode set to 777, i know that i won't be necessary all the
permissions but even so i'm no able to make it work.
As for mount, the usb drive is auto-mounted via etc/fstab.

The filesystem is FAT32, is there any problem with this ?

On Mon, Dec 21, 2009 at 8:40 PM, John Drescher dresche...@gmail.com wrote:
 2009/12/21 Pedro Miguel Ventura Gomes pedromvgo...@hotmail.com:
 I'm not being able to backup for a mounted usb external disk.

 My jobs fail with this error:

 21-Dec 19:29 Home-Server-sd JobId 21: Warning: label.c:351 Open device
 usb-drive-1 (/mnt/usb1/backups) Volume CatalogBackup-0001 failed:
 ERR=dev.c:490 Could not open: /mnt/usb1/backups/CatalogBackup-0001,
 ERR=Permission denied

 /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
 CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula
 create it.


 What about folder/mount permissions? I am assuming that the filesystem
 is not fat or vfat.

 John



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job modifications in bconsole being ignored by 3.0.3?

2010-01-14 Thread John Jorgensen
 alaric == Phil Stracchino ala...@metrocast.net writes:

alaric Actually, I have a suspicion I may know what's going
alaric on here, with more thought.  Is it perhaps the case
alaric that 'modify Pool' in the console on a manually
alaric started job overrides the Pool directive in the Job,
alaric but NOT the Full/Differential/Incremental Backup Pool
alaric directives...?

That is a hypothesis that I have also made to explain my
observations, but not something I've every established
definitively by reference either to source code or documentation
(we're still running Bacula 2.4.3, though, so my experience might
be dated).

John Jorgensen

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore error : Fatal error: fd_cmds.c:177 FD command not found: bootstrap

2010-01-14 Thread Sébastien Delneste

Hello,

When trying to restore a job, I get an error saying that the SD was  
unable to execute the bootstrap instruction.


Error message:
18-Dec 11:28 bacula001-dir JobId 12217: Start Restore Job RestoreFiles. 
2009-12-18_11.28.33_31

18-Dec 11:28 bacula001-dir JobId 12217: Using Device Online.BlcII
18-Dec 11:29 bacula002-sd JobId 12217: Fatal error: fd_cmds.c:177 FD  
command not found: bootstrap


18-Dec 11:29 monitor2-fd JobId 12217: Fatal error: job.c:1817 Bad  
response to Bootstrap command. Wanted 3000 OK bootstrap

, got 3900 Invalid command

18-Dec 11:28 bacula001-dir JobId 12217: Error: Bacula bacula001-dir  
3.0.1 (30Apr09): 18-Dec-2009 11:28:35

 Build OS:   i686-pc-linux-gnu debian 5.0.1
 JobId:  12217
 Job:RestoreFiles.2009-12-18_11.28.33_31
 Restore Client: monitor2-fd
 Start time: 18-Dec-2009 11:28:35
 End time:   18-Dec-2009 11:28:35
 Files Expected: 2
 Files Restored: 0
 Bytes Restored: 0
 Rate:   0.0 KB/s
 FD Errors:  0
 FD termination status:  Error
 SD termination status:  Error
 Termination:*** Restore Error ***

18-Dec 11:28 bacula001-dir JobId 12217: Begin pruning Jobs.
18-Dec 11:28 bacula001-dir JobId 12217: No Jobs found to prune.
18-Dec 11:28 bacula001-dir JobId 12217: Begin pruning Files.
18-Dec 11:28 bacula001-dir JobId 12217: No Files found to prune.
18-Dec 11:28 bacula001-dir JobId 12217: End auto prune.


Bacula versions
-   bacula-dir (bacula001): Version: 3.0.1 (30 April 2009)
-   bacula-fd (monitor2): 3.0.3 (18Oct09) Linux,Cross-compile,Win64
-   bacula-sd (bacula002): Version: 3.0.3 (18 October 2009)


Bootstrap File : (stored on the bacula-dir)
Volume=hyperv3819
MediaType=File
Device=Offline.BlcII
VolSessionId=10
VolSessionTime=1256779699
VolAddr=8880-17066
FileIndex=12
Count=1

Output on bacula002 when running in verbose mode :
bacula002:/downloads/bacula-3.0.3# /sbin/bacula-sd -c /etc/bacula/ 
bacula-sd.conf -u bacula -g tape -d99 -v -f -s

bacula-sd: stored_conf.c:701-0 Inserting director res: bacula001-mon
bacula-sd: stored_conf.c:701-0 Inserting device res: Online.BlcII
bacula002-sd: stored.c:528-0 calling init_dev /bacula/offline
bacula002-sd: stored.c:530-0 SD init done /bacula/offline
bacula002-sd: stored.c:543-0 calling first_open_device  
Offline.BlcII (/bacula/offline)

bacula002-sd: stored.c:528-0 calling init_dev /bacula/online
bacula002-sd: stored.c:530-0 SD init done /bacula/online
bacula002-sd: stored.c:543-0 calling first_open_device  
Online.BlcII (/bacula/online)
bacula002-sd: cram-md5.c:73-0 send: auth cram-md5  
2053749649.1261134...@bacula002-sd ssl=0
bacula002-sd: cram-md5.c:152-0 sending resp to challenge:  
YkN15x5GrQICz9+kQ+kGvD

bacula002-sd: dircmd.c:211-0 Message channel init completed.
bacula002-sd: job.c:156-12219 dird jid=12219: 3000 OK Job SDid=1  
SDtime=1261134894 Authorization=MIGN-CNLO-MNLC-LHIH-FBDP-PFOG-DNPL-AICN
bacula002-sd: job.c:189-12219 RestoreFiles.2009-12-18_12.14.25_11  
waiting 1800 sec for FD to contact SD key=MIGN-CNLO-MNLC-LHIH-FBDP- 
PFOG-DNPL-AICN
bacula002-sd: dircmd.c:180-0 Hello Start Job RestoreFiles. 
2009-12-18_12.14.25_11

bacula002-sd: job.c:237-0 Found Job RestoreFiles.2009-12-18_12.14.25_11
bacula002-sd: cram-md5.c:73-0 send: auth cram-md5  
138730080.1261134...@bacula002-sd ssl=0
bacula002-sd: cram-md5.c:152-0 sending resp to challenge: E7+Vj6/ 
bM7cWE7Z8L8sybC
bacula002-sd: job.c:260-0 OK Authentication jid=12219 Job RestoreFiles. 
2009-12-18_12.14.25_11

bacula002-sd: job.c:204-12219 Auth=1 canceled=0 errstat=0
bacula002-sd: job.c:210-12219 Running job RestoreFiles. 
2009-12-18_12.14.25_11
bacula002-sd: cram-md5.c:73-0 send: auth cram-md5  
848651373.1261134...@bacula002-sd ssl=0
bacula002-sd: cram-md5.c:152-0 sending resp to challenge: sG 
+Jc6+946Jnj75Wd5+pTB

bacula002-sd: dircmd.c:211-0 Message channel init completed.
bacula002-sd: cram-md5.c:73-0 send: auth cram-md5  
967870448.1261134...@bacula002-sd ssl=0
bacula002-sd: cram-md5.c:152-0 sending resp to challenge: PEFgn7c4u 
+EOr7++i4/smC

bacula002-sd: dircmd.c:211-0 Message channel init completed.



I already tried different versions of the SD (self compiled, Debian  
sid version, etc) but the error stays the same.


Thanks for any help,
Sébastien

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup Failed - Volume daily-jan2010-2 not in catalogue.

2010-01-14 Thread stuart-b

Hi All,

New to Bacula so please be gentle...

I have set up a full backup system to run every night - backing up to a
Sony AIT-3 tape system.

So far everything seems to work, but I would like to run a tape log rotation
system (tape a tape home each night and replace with another tape, 3 in
total). 

However, after the first tape has been labeled and inserted into the
catalogue, attempting to insert a new tape, mount, label and then backup,
fails.

The system fails with the following error:

Current Volume daily-jan2010-2 is not acceptable because:
1997 Volume daily-jan2010-2 not in catalog.

Now I have searched Google for bacula add new tape to catalog, and nothing
comes up even remotely close.

Hoping you can help!

Many thanks,
-- 
View this message in context: 
http://old.nabble.com/Backup-Failed---Volume-%22daily-jan2010-2%22-not-in-catalogue.-tp27073821p27073821.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot find any appendable volumes - Please use the label command to create a new Volume for:

2010-01-14 Thread Anton Albajes-Eizagirre
Juergen,

I'm not really expert on Volume managing (i'm new on bacula's
world :-$), but it might have some relations about the messages you're
getting about volume purging and recycling time. You should check you
retention periods for volumes, for example.

I'm sure it would be very helpful for anyone having exact notions about
all this if you could provide your config files (specially sections
configuring pools).

Hope this gives you some hints,

anton

On Thu, 2010-01-14 at 14:46 +0100, Juergen Mehmke wrote:
 Hi!
 
 We have a problem with Bacula 3.0.2 (Update from 2.x).
 
 Some backups starts normally. Bacula purged and recycled the inserted
 tape. Suddenly Bacula says Can not find any appendable volumes.Please
 use the label command to create a new volume for 
 Exactly one hour later, then Bacula automatically turns on with the
 backup as if nothing had happened.
 
 At this point, Bacula has already found the right tape and prepared
 the tape for the next backup. Why then did he suddenly finds no tape
 anymore?
 
 That makes Bacula since the update to version 3.0.2.
 
 Here is the excerpt from the log:
 
 13-Jan 23:15 xxx-dir JobId 23366: shell command: run BeforeJob 
 /etc/bacula/scripts/autoupdateslots.sh
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 
 (18 July 2009)
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a 
 command.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: mount storage=Overland_ArcVault12
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: 
 XXX
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog XXX
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter autochanger slot: 2
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3001 Device HP_Ultrium3_SCSI 
 (/dev/nst0) is mounted with Volume 002059L3
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Director xxx:9101
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 1000 OK: xxx-dir Version: 3.0.2 
 (18 July 2009)
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Enter a period to cancel a 
 command.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: update slots
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Automatically selected Catalog: 
 XXX
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Using Catalog XXX
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: The defined Storage resources 
 are:
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:  1: File
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:  2: Overland_ArcVault12
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob:  3: Dell_PV-122T
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Select Storage resource (1-3): 2
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon 
 Overland_ArcVault12 at xxx:9103 ...
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger slots 
 command.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Device Overland_ArcVault12 has 
 12 slots.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Connecting to Storage daemon 
 Overland_ArcVault12 at xxx:9103 ...
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: 3306 Issuing autochanger list 
 command.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 
 002018L3 updated to reference slot 3.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: Catalog record for Volume 
 002059L3 updated to reference slot 2.
 13-Jan 23:15 xxx-dir JobId 23366: BeforeJob: You have messages.
 13-Jan 23:15 xxx-dir JobId 23366: Start Backup JobId 23366, 
 Job=backup_xxx.2010-01-13_23.15.00_32
 13-Jan 23:15 xxx-dir JobId 23366: There are no more Jobs associated with 
 Volume 002018L3. Marking it purged.
 13-Jan 23:15 xxx-dir JobId 23366: All records pruned from Volume 002018L3; 
 marking it Purged
 13-Jan 23:15 xxx-dir JobId 23366: Recycled volume 002018L3
 13-Jan 23:15 xxx-dir JobId 23366: Using Device HP_Ultrium3_SCSI
 13-Jan 23:15 xxx-sd JobId 23366: Job backup_xxx.2010-01-13_23.15.00_32 
 waiting. Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
 Storage:  HP_Ultrium3_SCSI (/dev/nst0)
 Pool: xxx_daily
 Media type:   LTO3
 14-Jan 00:15 xxx-sd JobId 23366: 3307 Issuing autochanger unload slot 2, 
 drive 0 command.
 14-Jan 00:16 xxx-sd JobId 23366: 3304 Issuing autochanger load slot 3, drive 
 0 command.
 14-Jan 00:17 xxx-sd JobId 23366: 3305 Autochanger load slot 3, drive 0, 
 status is OK.
 14-Jan 00:17 xxx-sd JobId 23366: Recycled volume 002018L3 on device 
 HP_Ultrium3_SCSI (/dev/nst0), all previous data lost.
 14-Jan 00:17 xxx-sd JobId 23366: Spooling data ...
 14-Jan 00:20 xxx-sd JobId 23366: User specified spool size reached.
 14-Jan 00:20 xxx-sd JobId 23366: Writing spooled data to Volume. Despooling 
 10,737,438,769 bytes ...
 14-Jan 00:25 xxx-sd JobId 23366: Despooling elapsed time = 00:04:31, Transfer 
 

[Bacula-users] Q: Can 2.x clients talk to a 3.0.3 server?

2010-01-14 Thread Uwe Schuerkamp
Hi folks,

I just set up the first 3.0.3 bacula server (compiled from source on
CentOS 5.4) in our environment and was wondering wether 2.x clients
cann still talk to a 3.x server version? I cannot test this right now
without going through major changes because the new server is not at
its final destination, read: our hosting facility yet.

All the best  TIA for any thoughts, 

Uwe 

-- 
uwe.schuerk...@nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72
Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany
Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D. Suda
NIONEX ist ein Unternehmen der DirectGroup Germany www.directgroupgermany.de

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with mail notifications

2010-01-14 Thread Carlo Filippetto
try somethig like

mailcommand = $PATH/bsmtp -h localhost -f \(BCK) bac...@storage.it
\ -s \%t %e of %n %l\ %r

CIAO,
Carlo


2009/12/22 Ariel Di Girolamo anomiagru...@gmail.com:
 Hi, i´m a new user of Bacula and i´m getting problems to receive
 notification to my mail address when a job is done.
 I´m running Bacula 2.4.4 over a VM on VMware server, running Ubuntu 9.10

 This is my bacula-dir.conf messages section:

 Messages {
   Name = Daemon
   mailcommand = /usr/lib/bacula/bsmtp -h localhost -f
 bac...@invertironline.com -s Bacula Message %r
   mail = u...@domain = all
   mail on success = u...@domain = all
   operator = u...@domain = mount
   console = all, !skipped, !saved
   append = /var/lib/bacula/log = all, !skipped
 }

 My local smtp is postfix and if i send a mail manually using bsmtp it works
 fine

 If yo require any other information please let me know

 Many thanks

 Ariel

 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with backup to usb

2010-01-14 Thread Carlo Filippetto
FAT32 don't support file larger the 4Gb



2009/12/22 Pedro Gomes pedromvgo...@hotmail.com:
 Folder as mode set to 777, i know that i won't be necessary all the
 permissions but even so i'm no able to make it work.
 As for mount, the usb drive is auto-mounted via etc/fstab.

 The filesystem is FAT32, is there any problem with this ?

 On Mon, Dec 21, 2009 at 8:40 PM, John Drescher dresche...@gmail.com wrote:
 2009/12/21 Pedro Miguel Ventura Gomes pedromvgo...@hotmail.com:
 I'm not being able to backup for a mounted usb external disk.

 My jobs fail with this error:

 21-Dec 19:29 Home-Server-sd JobId 21: Warning: label.c:351 Open device
 usb-drive-1 (/mnt/usb1/backups) Volume CatalogBackup-0001 failed:
 ERR=dev.c:490 Could not open: /mnt/usb1/backups/CatalogBackup-0001,
 ERR=Permission denied

 /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
 CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula
 create it.


 What about folder/mount permissions? I am assuming that the filesystem
 is not fat or vfat.

 John



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd on windows: ... is a different filesystem. Will not descend from....

2010-01-14 Thread Sean M Clark
On 2010Jan14 7:25 AM, Gavin McCullagh wrote:
[...]
 One way to make it more concise would be to drop the repetition of
 the directory name, something like.
 
 fd-name JobId X:
 c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a
 links elsewhere. Not Following.
 
 If the code could work out whether the junction actually points to
 another filesystem or not, you could have two errors.
 
 fd-name JobId X:
 c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a
 links to a different filesystem. Not following. fd-name JobId
 X:
 c:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a
 links elsewhere in the filesystem. Not following.
 
 These are just suggestions of course.  I'm not sure if this loses 
 some useful information in some cases.
 
 Gavin

Assuming it's reasonable, it would be even better (though admittedly
more verbose) if the message also listed WHERE it linked, so that the
person watching the backup logs can readily tell for sure whether they
have the real location in the fileset.

e.g.

c:/Users is a link to c:/Documents and Settings .  Not following.

The Administrator then immediately knows that so long as c:/Documents
and Settings is showing up on the backups that they don't need to worry
about it (and if it isn't, that they'd better fix it.)

/Users vs. /Documents and Settings might be kind of obvious -
presumably someone is checking to make sure the users' files are getting
backed up anyway - but obscure system bits like
c:/windows/assembly/blahblahblah is a little more difficult.  I know
it wouldn't be obvious to me where to look to see if its real contents
were being backed up...

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bnet receive challenge response error ? Authentication errors...

2010-01-14 Thread Simon Spring - GoldNet GmbH
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

__Martin

Many thanks for your reply, i have two things here (which are quite  
long):

First, another debug of baculca-fd where something diffrent in the  
debug of:
(Note: Nothing changed in configuration etc... )
- ---
$ bacula-fd -f -u root -g bacula -c /etc/bacula/bacula-fd.conf -v -s - 
d250
bacula-fd: filed_conf.c:438-0 Inserting director res: godzilla-mon
gnadmin-fd: message.c:259-0 Copy message resource 809be70 to 8099a68
gnadmin-fd: jcr.c:135-0 read_last_jobs seek to 188
gnadmin-fd: jcr.c:142-0 Read num_items=0
gnadmin-fd: pythonlib.c:113-0 No script dir. prog=FDStartUp
gnadmin-fd: filed.c:225-0 filed: listening on port 9102
gnadmin-fd: bnet_server.c:96-0 Addresses host[ipv4:192.168.99.24:9102]
gnadmin-fd: bnet.c:667-0 who=client host=192.168.99.10 port=36387
gnadmin-fd: jcr.c:617-0 OnEntry JobStatus=gnadmin-fd: jcr.c:637-0  
OnExit JobStatus=C set=C
gnadmin-fd: find.c:81-0 init_find_files ff=809d668
gnadmin-fd: job.c:233-0 dird: Hello Director godzilla-dir calling
gnadmin-fd: job.c:249-0 Executing Hello command.
gnadmin-fd: job.c:359-0 Calling Authenticate
gnadmin-fd: cram-md5.c:73-0 send: auth cram-md5  
192979336.1263482...@gnadmin-fd ssl=0
gnadmin-fd: cram-md5.c:133-0 cram-get received: auth cram-md5  
402525749.1263482...@godzilla-dir ssl=0

=== Watch this:
gnadmin-fd: cram-md5.c:152-0 sending resp to challenge: iHEfd7ZmW7/ 
zg8two9ItMC
gnadmin-fd: cram-md5.c:154-0 Receive chanllenge response failed.  
ERR=Success

 and back to where we were:
gnadmin-fd: authenticate.c:126-0 cram_get_auth failed for 192.168.99.10
gnadmin-fd: job.c:252-0 Quit command loop. Canceled=0
gnadmin-fd: runscript.c:103-0 runscript: running all RUNSCRIPT object  
(ClientAfterJob) JobStatus=C
gnadmin-fd: pythonlib.c:237-0 No startup module.
gnadmin-fd: job.c:343-0 Calling term_find_files
gnadmin-fd: job.c:346-0 Done with term_find_files
gnadmin-fd: mem_pool.c:377-0 garbage collect memory pool
gnadmin-fd: job.c:348-0 Done with free_jcr
- ---

Correspondant strace to above:

$ strace -i -T -v -f -F -p 27439
Process 27441 attached with 3 threads - interrupt to quit
[pid 27440] [b7f27410] select(5, [4], NULL, NULL, {141, 34}  
unfinished ...
[pid 27439] [b7f27410] select(4, [3], NULL, NULL, NULL unfinished ...
[pid 27441] [b7f27410] clock_gettime(CLOCK_REALTIME, {1263482451,  
16266248}) = 0 0.19
[pid 27441] [b7f27410] futex(0x80974e4, FUTEX_WAIT, 1, {80,  
715377752}) = -1 ETIMEDOUT (Connection timed out) 80.712073
[pid 27441] [b7f27410] futex(0x809818c, FUTEX_WAKE, 1) = 0 0.51
[pid 27441] [b7f27410] time(NULL)   = 1263482531 0.37
[pid 27441] [b7f27410] gettimeofday({1263482531, 728932}, {4294967236,  
0}) = 0 0.47
[pid 27441] [b7f27410] time(NULL)   = 1263482531 0.46
[pid 27441] [b7f27410] clock_gettime(CLOCK_REALTIME, {1263482531,  
729180922}) = 0 0.49
[pid 27441] [b7f27410] futex(0x80974e4, FUTEX_WAIT, 3, {119,  
999751078} unfinished ...
[pid 27440] [b7f27410] ... select resumed ) = 0 (Timeout) 141.336600
[pid 27440] [b7f27410] open(/usr/share/locale/locale.alias,  
O_RDONLY) = 5 0.67
[pid 27440] [b7f27410] fstat64(5, {st_dev=makedev(9, 1),  
st_ino=134410, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0,  
st_blksize=4096, st_blocks=8, st_size=2582,  
st_atime=2010/01/14-16:20:24, st_mtime=2009/01/04-03:48:52,  
st_ctime=2009/12/14-12:01:19}) = 0 0.42
[pid 27440] [b7f27410] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,  
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f24000 0.51
[pid 27440] [b7f27410] read(5, # Locale name alias data base.\n#...,  
4096) = 2582 0.70
[pid 27440] [b7f27410] read(5, , 4096) = 0 0.51
[pid 27440] [b7f27410] close(5) = 0 0.51
[pid 27440] [b7f27410] munmap(0xb7f24000, 4096) = 0 0.55
[pid 27440] [b7f27410] open(/usr/share/locale/en_US/LC_MESSAGES/ 
libc.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 0.60
[pid 27440] [b7f27410] open(/usr/share/locale/en/LC_MESSAGES/ 
libc.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 0.56
[pid 27440] [b7f27410] write(1, gnadmin-fd: cram-md5.c:154-0 Rec...,  
77) = 77 0.64
[pid 27440] [b7f27410] nanosleep({5, 0}, NULL) = 0 5.009775
[pid 27440] [b7f27410] getpeername(4, {sa_family=AF_INET,  
sin_port=htons(32910), sin_addr=inet_addr(192.168.99.10)}, [16]) = 0  
0.54
[pid 27440] [b7f27410] write(1, gnadmin-fd: authenticate.c:126-0...,  
71) = 71 0.69
[pid 27440] [b7f27410] open(/usr/share/locale/en_US/LC_MESSAGES/ 
bacula.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 0.81
[pid 27440] [b7f27410] open(/usr/share/locale/en/LC_MESSAGES/ 
bacula.mo, O_RDONLY) = -1 ENOENT (No such file or directory) 0.59
[pid 27440] [b7f27410] time(NULL)   = 1263482597 0.44
[pid 27440] [b7f27410] open(/etc/localtime, O_RDONLY) = 5 0.57
[pid 27440] [b7f27410] fstat64(5, {st_dev=makedev(9, 1),  
st_ino=928521, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0,  
st_blksize=4096, st_blocks=8, st_size=685,  

Re: [Bacula-users] Problem with mail notifications

2010-01-14 Thread Ariel Di Girolamo
Thanks Carlo.
I solved it by editing the standard section of messages { instead the
daemon section.
By the way, whats the diference between both sections?

King Regards
Ariel



2010/1/14 Carlo Filippetto carlo.filippe...@gmail.com

 try somethig like

 mailcommand = $PATH/bsmtp -h localhost -f \(BCK) bac...@storage.it
 \ -s \%t %e of %n %l\ %r

 CIAO,
 Carlo


 2009/12/22 Ariel Di Girolamo anomiagru...@gmail.com:
  Hi, i´m a new user of Bacula and i´m getting problems to receive
  notification to my mail address when a job is done.
  I´m running Bacula 2.4.4 over a VM on VMware server, running Ubuntu 9.10
 
  This is my bacula-dir.conf messages section:
 
  Messages {
Name = Daemon
mailcommand = /usr/lib/bacula/bsmtp -h localhost -f
  bac...@invertironline.com -s Bacula Message %r
mail = u...@domain = all
mail on success = u...@domain = all
operator = u...@domain = mount
console = all, !skipped, !saved
append = /var/lib/bacula/log = all, !skipped
  }
 
  My local smtp is postfix and if i send a mail manually using bsmtp it
 works
  fine
 
  If yo require any other information please let me know
 
  Many thanks
 
  Ariel
 
 
 --
  Throughout its 18-year history, RSA Conference consistently attracts the
  world's best and brightest in the field, creating opportunities for
  Conference
  attendees to learn about information security's most important issues
  through
  interactions with peers, luminaries and emerging and established
 companies.
  http://p.sf.net/sfu/rsaconf-dev2dev
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula console command

2010-01-14 Thread Dan Langille
Shone Russell wrote:
 This is the message that I am receiving, can some please help.
  
 The Bacula console command /sbin/bconsole is not configured with a valid 
 Bacula director host. It is currently using , which does not exist

Sounds like bconsole.conf is not correctly configured or cannot be found.

try starting bconsole with the -c option and specify the full path to 
bconsole.conf.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula console command

2010-01-14 Thread Tilman Schmidt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 2010-01-12 17:46 schrieb Shone Russell:
 This is the message that I am receiving, can some please help.
  
 The Bacula console command /sbin/bconsole is not configured with a valid
 Bacula director host. It is currently using , which does not exist

You'll probably want to edit bconsole's configuration file,
/etc/bacula/bconsole.conf, to tell it which director to use
and how to reach it.

HTH
T.

- -- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktPO+oACgkQ780oymN0g8PN/wCffMpkBxqQoI9iZvajHb+cUt9o
lNAAoNn+Wc5ircvJmz5Nmv4PKozrxcRU
=LdFW
-END PGP SIGNATURE-

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with backup to usb

2010-01-14 Thread Pedro Gomes
Genuis how come i didn't remeber that.

I will try to format the drive to ext4

On Thu, Jan 14, 2010 at 3:32 PM, Carlo Filippetto
carlo.filippe...@gmail.com wrote:
 FAT32 don't support file larger the 4Gb



 2009/12/22 Pedro Gomes pedromvgo...@hotmail.com:
 Folder as mode set to 777, i know that i won't be necessary all the
 permissions but even so i'm no able to make it work.
 As for mount, the usb drive is auto-mounted via etc/fstab.

 The filesystem is FAT32, is there any problem with this ?

 On Mon, Dec 21, 2009 at 8:40 PM, John Drescher dresche...@gmail.com wrote:
 2009/12/21 Pedro Miguel Ventura Gomes pedromvgo...@hotmail.com:
 I'm not being able to backup for a mounted usb external disk.

 My jobs fail with this error:

 21-Dec 19:29 Home-Server-sd JobId 21: Warning: label.c:351 Open device
 usb-drive-1 (/mnt/usb1/backups) Volume CatalogBackup-0001 failed:
 ERR=dev.c:490 Could not open: /mnt/usb1/backups/CatalogBackup-0001,
 ERR=Permission denied

 /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
 CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula
 create it.


 What about folder/mount permissions? I am assuming that the filesystem
 is not fat or vfat.

 John



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with mail notifications

2010-01-14 Thread Carlo Filippetto
I think tha the different are very poor..

from http://www.bacula.org/en/rel-manual/Messages_Resource.html
OperatorCommand is similar to the MailCommand except that it is used
for Operator messages. 

In your jobs you can decide witch one to use.
I have create a third one named custom.. I use only this ones


CIAO,
Carlo



2010/1/14 Ariel Di Girolamo anomiagru...@gmail.com:
 Thanks Carlo.
 I solved it by editing the standard section of messages { instead the
 daemon section.
 By the way, whats the diference between both sections?

 King Regards
 Ariel



 2010/1/14 Carlo Filippetto carlo.filippe...@gmail.com

 try somethig like

 mailcommand = $PATH/bsmtp -h localhost -f \(BCK) bac...@storage.it
 \ -s \%t %e of %n %l\ %r

 CIAO,
 Carlo


 2009/12/22 Ariel Di Girolamo anomiagru...@gmail.com:
  Hi, i´m a new user of Bacula and i´m getting problems to receive
  notification to my mail address when a job is done.
  I´m running Bacula 2.4.4 over a VM on VMware server, running Ubuntu 9.10
 
  This is my bacula-dir.conf messages section:
 
  Messages {
    Name = Daemon
    mailcommand = /usr/lib/bacula/bsmtp -h localhost -f
  bac...@invertironline.com -s Bacula Message %r
    mail = u...@domain = all
    mail on success = u...@domain = all
    operator = u...@domain = mount
    console = all, !skipped, !saved
    append = /var/lib/bacula/log = all, !skipped
  }
 
  My local smtp is postfix and if i send a mail manually using bsmtp it
  works
  fine
 
  If yo require any other information please let me know
 
  Many thanks
 
  Ariel
 
 
  --
  Throughout its 18-year history, RSA Conference consistently attracts the
  world's best and brightest in the field, creating opportunities for
  Conference
  attendees to learn about information security's most important issues
  through
  interactions with peers, luminaries and emerging and established
  companies.
  http://p.sf.net/sfu/rsaconf-dev2dev
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with backup to usb

2010-01-14 Thread Carlo Filippetto
;)
I learned from my mistakes


2010/1/14 Pedro Gomes pedromvgo...@hotmail.com:
 Genuis how come i didn't remeber that.

 I will try to format the drive to ext4

 On Thu, Jan 14, 2010 at 3:32 PM, Carlo Filippetto
 carlo.filippe...@gmail.com wrote:
 FAT32 don't support file larger the 4Gb



 2009/12/22 Pedro Gomes pedromvgo...@hotmail.com:
 Folder as mode set to 777, i know that i won't be necessary all the
 permissions but even so i'm no able to make it work.
 As for mount, the usb drive is auto-mounted via etc/fstab.

 The filesystem is FAT32, is there any problem with this ?

 On Mon, Dec 21, 2009 at 8:40 PM, John Drescher dresche...@gmail.com wrote:
 2009/12/21 Pedro Miguel Ventura Gomes pedromvgo...@hotmail.com:
 I'm not being able to backup for a mounted usb external disk.

 My jobs fail with this error:

 21-Dec 19:29 Home-Server-sd JobId 21: Warning: label.c:351 Open device
 usb-drive-1 (/mnt/usb1/backups) Volume CatalogBackup-0001 failed:
 ERR=dev.c:490 Could not open: /mnt/usb1/backups/CatalogBackup-0001,
 ERR=Permission denied

 /mnt/usb1/backups exists and owner is bacula:disk with mode 777.
 CatalogBackup-0001 file doesn't exists, i can't figure out why can't 
 bacula
 create it.


 What about folder/mount permissions? I am assuming that the filesystem
 is not fat or vfat.

 John



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users





--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Q: Can 2.x clients talk to a 3.0.3 server?

2010-01-14 Thread Ralf Gross
Uwe Schuerkamp schrieb:
 Hi folks,
 
 I just set up the first 3.0.3 bacula server (compiled from source on
 CentOS 5.4) in our environment and was wondering wether 2.x clients
 cann still talk to a 3.x server version? I cannot test this right now
 without going through major changes because the new server is not at
 its final destination, read: our hosting facility yet.

http://www.bacula.org/en/?page=news

quote:
Compatibility:
As always, both the Director and Storage daemon must be upgraded at
the same time.

Older 3.0.x and possibly 2.4.x File Daemons are compatible with the
3.0.3 Director and Storage daemons. There should be no need to upgrade
older File Daemons.


Ralf

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Offline

2010-01-14 Thread Kern Sibbald
Hello,

This is to let you know that I am off line making my annual migration from 
snowy Switzerland to sunny southern France.  If all goes well I will be back 
online early next week.  In the mean time, Eric is watching the shop.

Thanks,

Kern

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula console command

2010-01-14 Thread John Doe
From: Shone Russell shone_russ...@hotmail.com
To: bacula-users@lists.sourceforge.net
Sent: Tue, January 12, 2010 5:46:42 PM
Subject: [Bacula-users] Bacula console command

  
This is the message that I am receiving, can some please help.
 
The Bacula console command /sbin/bconsole is not configured with a valid 
Bacula director host. It is currently using , which does not exist


Hotmail: Trusted email with powerful SPAM protection. Sign up now.

The man says there is a -c config option... did you try it?

JD


  

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?

2010-01-14 Thread Martin Simmons
 On Wed, 13 Jan 2010 20:18:19 -0600, Steve Costaras said:
 
 Ok, found out why when I do a restore of files bacula keeps thinking 
 that they are 'new' and will back them up again.   Seems that bacula 
 changes ctime to the time of the restore of the file not the original 
 ctime.   atime  mtime are properly set on the files at restore but not 
 ctime.
 
 I didn't see anything in the on-line docs, is there a flag in the 
 fileset directive to keep ALL time values (atime, mtime, ctime) to be 
 exactly as they were on the original file when doing a restore?

No, there is no way to do that.  It is impossible to modify the ctime on unix
without hacking the disk directly.

__Martin

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?

2010-01-14 Thread Steve Costaras
Ok, then let me ask this in a different way.  How do you prevent Bacula 
from backing up files that were just restored?


I see the mtimeonly flag in the fileset options but there are many 
caveats about using it as you will miss other files that may have been 
copied over that have retained mtimes from before the last backup.   
Since bacula does an MD5/SHA1 hash of all files I assumed (wrongly it 
seems) that it would be smart enough to not back up files that it 
already had backed up and are on tape.




On 01/14/2010 15:11, Martin Simmons wrote:

On Wed, 13 Jan 2010 20:18:19 -0600, Steve Costaras said:
 

Ok, found out why when I do a restore of files bacula keeps thinking
that they are 'new' and will back them up again.   Seems that bacula
changes ctime to the time of the restore of the file not the original
ctime.   atime  mtime are properly set on the files at restore but not
ctime.

I didn't see anything in the on-line docs, is there a flag in the
fileset directive to keep ALL time values (atime, mtime, ctime) to be
exactly as they were on the original file when doing a restore?
 

No, there is no way to do that.  It is impossible to modify the ctime on unix
without hacking the disk directly.

__Martin

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


   
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?

2010-01-14 Thread Dan Langille
Steve Costaras wrote:
 On 01/14/2010 15:11, Martin Simmons wrote:
 On Wed, 13 Jan 2010 20:18:19 -0600, Steve Costaras said:
 
 Ok, found out why when I do a restore of files bacula keeps thinking 
 that they are 'new' and will back them up again.   Seems that bacula 
 changes ctime to the time of the restore of the file not the original 
 ctime.   atime  mtime are properly set on the files at restore but not 
 ctime.

 I didn't see anything in the on-line docs, is there a flag in the 
 fileset directive to keep ALL time values (atime, mtime, ctime) to be 
 exactly as they were on the original file when doing a restore?
 
 No, there is no way to do that.  It is impossible to modify the ctime on unix
 without hacking the disk directly.

Please reply at the bottom of your message.  It makes it much easier to 
follow the issue.

  Ok, then let me ask this in a different way.  How do you prevent
  Bacula from backing up files that were just restored?

It appears you can't.  At least, not easily.

  I see the mtimeonly flag in the fileset options but there are many
  caveats about using it as you will miss other files that may have been
  copied over that have retained mtimes from before the last backup.
  Since bacula does an MD5/SHA1 hash of all files I assumed (wrongly it
  seems) that it would be smart enough to not back up files that it
  already had backed up and are on tape.

Smart enough?  Sheesh.  ;)

That hash is to ensure the file is restored properly.  And for 
verfication.  To do what you want is not easy.

How big of a problem is this for you?

Have you looked into the Virtual Backups, although I'm not sure this 
would help you.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?

2010-01-14 Thread Steve Costaras


On 01/14/2010 15:59, Dan Langille wrote:
 Steve Costaras wrote:

  I see the mtimeonly flag in the fileset options but there are many
  caveats about using it as you will miss other files that may have been
  copied over that have retained mtimes from before the last backup.
  Since bacula does an MD5/SHA1 hash of all files I assumed (wrongly it
  seems) that it would be smart enough to not back up files that it
  already had backed up and are on tape.

 Smart enough?  Sheesh.  ;)

 That hash is to ensure the file is restored properly.  And for 
 verfication.  To do what you want is not easy.

 How big of a problem is this for you?

 Have you looked into the Virtual Backups, although I'm not sure this 
 would help you.

:)  Well I figured it would be relatively easy as an option (since the 
hash is in the database and when a file is read from disk for backup 
(since it's planning on backing it up anyway it would need to read the 
file, if the file name  hash match those that are in the database the 
file could be skipped.   (for 'real' completeness and to keep in line w/ 
the accurate option perhaps update the database with permissions et al 
on the inode but since the content matches that would save a lot of tapes).

In the case here it's rather a large issue (granted due to other 
problems like hardware or software issues that require restores of data 
and is NOT something that I want to continue, however we are living in 
an imperfect world) but to give you an idea the dataset size is about 
30-40TiB with restores anywhere from 2TiB to a full restore to back that 
back up again not only takes a LOT of tapes which is costly it also 
takes a LOT of time (day/weeks) where nothing else can be run.

What I have been doing which is just painful is do a full restore, then 
have to do a full backup right after then continue so a restore is 
actually the time of about 2x of a full.  (for a full set this is about 
9-10 days on LTO4).   This has happened about 3 times so far in the past 
2 months.



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 3.0.3 maintain ctime on restored files?

2010-01-14 Thread Dan Langille
Steve Costaras wrote:
 
 On 01/14/2010 15:59, Dan Langille wrote:
 Steve Costaras wrote:

 I see the mtimeonly flag in the fileset options but there are many
 caveats about using it as you will miss other files that may have been
 copied over that have retained mtimes from before the last backup.
 Since bacula does an MD5/SHA1 hash of all files I assumed (wrongly it
 seems) that it would be smart enough to not back up files that it
 already had backed up and are on tape.
 Smart enough?  Sheesh.  ;)

 That hash is to ensure the file is restored properly.  And for 
 verfication.  To do what you want is not easy.

 How big of a problem is this for you?

 Have you looked into the Virtual Backups, although I'm not sure this 
 would help you.
 
 :)  Well I figured it would be relatively easy as an option (since the 
 hash is in the database and when a file is read from disk for backup 
 (since it's planning on backing it up anyway it would need to read the 
 file, if the file name  hash match those that are in the database the 
 file could be skipped.   (for 'real' completeness and to keep in line w/ 
 the accurate option perhaps update the database with permissions et al 
 on the inode but since the content matches that would save a lot of tapes).

In the database... not on the client.  That's the issue.  Let us not 
discuss this here.  It is not a trivial problem to do correctly.

 In the case here it's rather a large issue (granted due to other 
 problems like hardware or software issues that require restores of data 
 and is NOT something that I want to continue, however we are living in 
 an imperfect world) but to give you an idea the dataset size is about 
 30-40TiB with restores anywhere from 2TiB to a full restore to back that 
 back up again not only takes a LOT of tapes which is costly it also 
 takes a LOT of time (day/weeks) where nothing else can be run.
 
 What I have been doing which is just painful is do a full restore, then 
 have to do a full backup right after then continue so a restore is 
 actually the time of about 2x of a full.  (for a full set this is about 
 9-10 days on LTO4).   This has happened about 3 times so far in the past 
 2 months.

I would start a new thread.  How to avoid backing up restored files.

This one has gone its course.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to avoid backing up restored files?

2010-01-14 Thread Steve Costaras


Some history:

On 01/14/2010 16:24, Dan Langille wrote:
 Steve Costaras wrote:
 On 01/14/2010 15:59, Dan Langille wrote:
 Steve Costaras wrote:
 I see the mtimeonly flag in the fileset options but there are many
 caveats about using it as you will miss other files that may have been
 copied over that have retained mtimes from before the last backup.
 Since bacula does an MD5/SHA1 hash of all files I assumed (wrongly it
 seems) that it would be smart enough to not back up files that it
 already had backed up and are on tape.
 Smart enough?  Sheesh.  ;)

 That hash is to ensure the file is restored properly.  And for 
 verfication.  To do what you want is not easy.
 :)  Well I figured it would be relatively easy as an option (since 
 the hash is in the database and when a file is read from disk for 
 backup (since it's planning on backing it up anyway it would need to 
 read the file, if the file name  hash match those that are in the 
 database the file could be skipped.   (for 'real' completeness and to 
 keep in line w/ the accurate option perhaps update the database with 
 permissions et al on the inode but since the content matches that 
 would save a lot of tapes).

 In the database... not on the client.  That's the issue.  Let us not 
 discuss this here.  It is not a trivial problem to do correctly.

I see your point, the fd would need to get this data (or send the hash 
of the file to the director) 1) after reading and calculating the entire 
file and 2) before sending it to the director to save not only time but 
network bandwidth, not to mention 3) having need to buffer the file data 
in memory or to do another file system look up and re-read of the same 
data which if done could cause more of a window for a race condition 
unless handled properly if the file was modified between the two reads 
and when the data was stored in the catalogue.

That would be assuming you wanted to save both network bandwith and 
tape.   Otherwise if the fd acted normally and the decision was made by 
the director?  Does the FD talk directly to the SD or does it need to go 
through the director as well?

Hmmm.  The onion has a couple layers.  ;)



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup diffrensial Bacula

2010-01-14 Thread togum

Hello friends,

I've installed bacula in my server. I wanna make a backup server with
bacula.
All my data stored to tape (LT02). Tape has 8 slot.
I was using incremental backup.
But i have a problem, if all my tape have full and then i insert the new
tape, it'll run full backup.

I'm so confused.
Any suggestion friends!

Thanks advanced!
-- 
View this message in context: 
http://old.nabble.com/Backup-diffrensial-Bacula-tp27171353p27171353.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about recycle = no

2010-01-14 Thread Phil Stracchino
Jon Schewe wrote:
 On 1/12/10 5:40 PM, Timo Neuvonen wrote:
 So I'm backing data up to an external drive. I have maximum volume jobs
 set to 1, to ensure that each job uses a different volume. I would also
 like it such that volumes are not reused, so I assume I should set
 recycle to no. Now the question is, when the retention period comes up,
 will the volumes that are past the retention period be deleted? If they
 are not, I'll run out of space on my external drive.

 
 Bacula does not delete the volumes automatically. If recycling were allowed, 
 the volumes would be re-used, but never actually deleted in that case 
 either.

 If you need to delete the volumes, you have to do it manually, or using some 
 sort of admin job or script. And before deleting the volume files, also 
 delete the volumes from the catalog to prevent the catalog growing 
 unnecessarily.
   
 Has anyone written such a script to handle this?

I asked this same question recently.  There isn't a standard one.  I
will be writing one shortly for my own needs.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job modifications in bconsole being ignored by 3.0.3?

2010-01-14 Thread Phil Stracchino
John Jorgensen wrote:
 alaric == Phil Stracchino ala...@metrocast.net writes:
 
 alaric Actually, I have a suspicion I may know what's going
 alaric on here, with more thought.  Is it perhaps the case
 alaric that 'modify Pool' in the console on a manually
 alaric started job overrides the Pool directive in the Job,
 alaric but NOT the Full/Differential/Incremental Backup Pool
 alaric directives...?
 
 That is a hypothesis that I have also made to explain my
 observations, but not something I've every established
 definitively by reference either to source code or documentation
 (we're still running Bacula 2.4.3, though, so my experience might
 be dated).

It's confirmed that this is the case.  There isn't a good workaround at
this time, but I intend to look into a fix.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to avoid backing up restored files?

2010-01-14 Thread Ralf Gross
Steve Costaras schrieb:
 
 
 Some history:
 
 On 01/14/2010 16:24, Dan Langille wrote:
  Steve Costaras wrote:
  On 01/14/2010 15:59, Dan Langille wrote:
  Steve Costaras wrote:
  I see the mtimeonly flag in the fileset options but there are many
  caveats about using it as you will miss other files that may have been
  copied over that have retained mtimes from before the last backup.
  Since bacula does an MD5/SHA1 hash of all files I assumed (wrongly it
  seems) that it would be smart enough to not back up files that it
  already had backed up and are on tape.
  Smart enough?  Sheesh.  ;)
 
  That hash is to ensure the file is restored properly.  And for 
  verfication.  To do what you want is not easy.
  :)  Well I figured it would be relatively easy as an option (since 
  the hash is in the database and when a file is read from disk for 
  backup (since it's planning on backing it up anyway it would need to 
  read the file, if the file name  hash match those that are in the 
  database the file could be skipped.   (for 'real' completeness and to 
  keep in line w/ the accurate option perhaps update the database with 
  permissions et al on the inode but since the content matches that 
  would save a lot of tapes).
 
  In the database... not on the client.  That's the issue.  Let us not 
  discuss this here.  It is not a trivial problem to do correctly.
 
 I see your point, the fd would need to get this data (or send the hash 
 of the file to the director) 1) after reading and calculating the entire 
 file and 2) before sending it to the director to save not only time but 
 network bandwidth, not to mention 3) having need to buffer the file data 
 in memory or to do another file system look up and re-read of the same 
 data which if done could cause more of a window for a race condition 
 unless handled properly if the file was modified between the two reads 
 and when the data was stored in the catalogue.
 
 That would be assuming you wanted to save both network bandwith and 
 tape.   Otherwise if the fd acted normally and the decision was made by 
 the director?  Does the FD talk directly to the SD or does it need to go 
 through the director as well?

You might want to look into the new Accurate Backup feature.

http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html#SECTION0031

But I think it won't help you here. What be more interesting,
especially with your amount of data is the upcoming Base Job feature.

http://sourceforge.net/apps/wordpress/bacula/2009/09/30/new-basejob-feature/

Ralf

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Schedule not being followed

2010-01-14 Thread Glyn
Using 3.0.2 on Ubuntu 8.04 server with MySQL.

It is now Friday of the 2nd week of January so the schedule A with Pool 
A should be used, I would have thought. However, this morning at 9:05 I 
get a message asking for a volume of drive B to be labelled. From Monday 
to Thursday the A schedule was used correctly but now suddenly on 
Friday, it wants to switch to the B schedule.
Maybe I have something wrong in the dir.conf? The schedule section is 
below and any help would be appreciated.

# When to do the backups
Schedule {
   Name = WeeklyCycleB
   Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05
   Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05
}

Schedule {
   Name = DayTimeB
   Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05
   Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05
}

Schedule {
   Name = WeeklyCycleA
   Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05
   Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05
}

Schedule {
   Name = DayTimeA
   Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05
   Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
   Name = WeeklyCycleAfterBackupB
   Run = Full 1st, 3rd, 5th mon-fri at 19:10
}

Schedule {
   Name = WeeklyCycleAfterBackupA
   Run = Full 2nd, 4th mon-fri at 19:10
}


Schedule {
   Name = DayTimeAfterBackupB
   Run = Full 1st, 3rd, 5th mon-fri at 09:10
}

Schedule {
   Name = DayTimeAfterBackupA
   Run = Full 2nd, 4th mon-fri at 09:10
}

-- 
Kind regards

Glyn





--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users