[Bacula-users] Backup of directory structures

2005-06-20 Thread Siju George
Hi,


I am looking at Bacula

but the line

# Files deleted after a Full save will be included in a restoration.

in

http://www.bacula.org/rel-manual/Current_State_Bacula.html

under

Current Implementation Restrictions

makes me a little apprhensive.

Is Bacula actually not able to backup Directory structures??

i.e

If in a Directory dir1 I have file1, file2  file3 and I take a
full backup backup1 on Day1 the I delete file2 from dir1 and
take a differential backup backup2.

Now I should be able to restore dir1 from backup2 with only file1
and file2

Thankyou so much

kind regards

Siju


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What size was the file?

2005-06-20 Thread Kern Sibbald
On Monday 20 June 2005 02:36, Dan Langille wrote:
 I can find out when a file was backed up[1].  How can I find out what
 size it was when backed up?

The information is there, but it is not displayed because it is compressed. 
Probably the simplest way to do what you want is to restore the job that 
has the file then do a dir on it.


 [1] restore | List Jobs where a given File is saved

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Backup of directory structures

2005-06-20 Thread Siju George
On 6/20/05, Siju George [EMAIL PROTECTED] wrote:
 Hi,
 
 
 I am looking at Bacula
 
 but the line
 
 # Files deleted after a Full save will be included in a restoration.
 
 in
 
 http://www.bacula.org/rel-manual/Current_State_Bacula.html
 
 under
 
 Current Implementation Restrictions
 
 makes me a little apprhensive.
 
 Is Bacula actually not able to backup Directory structures??
 
 i.e
 
 If in a Directory dir1 I have file1, file2  file3 and I take a
 full backup backup1 on Day1 the I delete file2 from dir1 and
 take a differential backup backup2.
 
 Now I should be able to restore dir1 from backup2 with only file1
 and file2

Sorry :-( this should read as file1  file3

 
 Thankyou so much
 
 kind regards
 
 Siju



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: Backup of directory structures

2005-06-20 Thread Arno Lehmann

Hello,

Siju George wrote:


On 6/20/05, Siju George [EMAIL PROTECTED] wrote:


Hi,


I am looking at Bacula
but the line
# Files deleted after a Full save will be included in a restoration.
in
http://www.bacula.org/rel-manual/Current_State_Bacula.html
under
Current Implementation Restrictions
makes me a little apprhensive.
Is Bacula actually not able to backup Directory structures??

i.e

If in a Directory dir1 I have file1, file2  file3 and I take a
full backup backup1 on Day1 the I delete file2 from dir1 and
take a differential backup backup2.

Now I should be able to restore dir1 from backup2 with only file1
and file2



Sorry :-( this should read as file1  file3



You _can_ restore file1 file2 and file3 in dir1. However, when you use 
bacula to manage a restore and tell it to make a complete restore it 
will restore all three files.
If you tell bacula to only use the differential backup then, of course, 
file2 will not be restored. Usually you will not do this because it's 
baculas job to keep track which jobs and volumes it needs to restore :-)


So, of course bacula saves and retrieves directory structure, but it 
does not keep track of deletions.


The latter would require a complete compare of all directory entries to 
be backed up with what bacula has in its catalog and thus would be very 
resource intensive.


Arno



Thankyou so much

kind regards

Siju





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Re: [Bacula-devel] GUI programs

2005-06-20 Thread David Boyes

  $query = $queries[STUFF_FROM_TABLE1][SELECTED_DRIVER];
  $query = sprintf($query, $parameter1, $parameter2);
 
 I'd vote for trying to do what Bacula does -- simplify the 
 SQL and not use any 
 non-standard MySQL SQL unless absolutely necessary.  Doing 
 that, we should be 
 able to keep the differences to only a few lines of SQL.  If 
 Bacula can do 
 it, then bacula-web can too (I think).  If we can accomplish 
 that then a few 
 lines of code as Juan Luis has shown are a good solution.

this approach would be very elegant for supporting additional databases
(eg, DB/2, Oracle, etc). 

-- db


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Is there a way to split the dir-conf file ?

2005-06-20 Thread Romain
Hello,

I am going tu use bacula in a production environment
with 25 servers to backup.

So i'd like to know if there were a way to split the bacula-dir.conf
in several files, i.e clients definition files, filesets file, ...

The goal is to make configuration more readable
for me and although my colleagues. 

Tanks for your answer.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rescue cdrom script question

2005-06-20 Thread Christoph Klünter
On Thursday, 16. June 2005 21:51, Kern Sibbald wrote:
 On Thursday 16 June 2005 17:04, Christoph Klünter wrote:
  Hi,
 
  I am trying to create a rescue cdrom on debian.

 What Bacula release?
Debian 1.36.2 (28 February 2005)


  The CD boots and I can log in but some scripts are missing (partition.hda
  format.hda etc) and I couldn't find anything in the makefiles either.

 They are in the bacula-machine-name  directory.
No. Thats where they are supposed to be. But they are not there

  Is the howto outdated ?

 There is no howto.  Are you referring to the Bacula manual?
Sorry. Yes, I meant the manual


So the Bootcd should work and is being used by others ? It makes sense to
try to get it running then. This was my main question.


Cheers
Christoph


-- 
NMMN   -   New Media Markets  Networks GmbH   -   http://www.nmmn.com
   Gasstrasse 18, Haus 1 - 22761 Hamburg
Tel.: +49 40 284 118-0 - Fax: +49 40 284 118-999 - Techn. Hotline -700


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a way to split the dir-conf file ?

2005-06-20 Thread Russell Howe
Romain wrote:
 So i'd like to know if there were a way to split the bacula-dir.conf
 in several files, i.e clients definition files, filesets file, ...

If you look at the manual, there is a section in here called Including
other Configuration Files

http://www.bacula.org/rel-manual/Customizin_Configurat_Files.html

-- 
Russell Howe
[EMAIL PROTECTED]


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What size was the file?

2005-06-20 Thread Dan Langille
On 20 Jun 2005 at 9:38, Kern Sibbald wrote:

 On Monday 20 June 2005 02:36, Dan Langille wrote:
  I can find out when a file was backed up[1].  How can I find out what
  size it was when backed up?
 
 The information is there, but it is not displayed because it is compressed. 
 Probably the simplest way to do what you want is to restore the job that 
 has the file then do a dir on it.

I wanted this information for two reasons.  I'll give examples:

At some time, the file size was reduced to zero. I don't know when or 
why, but it happened.  Knowing the file size for a given backup would 
be useful here.

I want to confirm that the backups are going as expected.  Show me 
when this file was backed up.  I know it's a database that grows 
daily.  If the file sizes are incrementing, then I know all is well.

The existing output shows the number of jobbytes and jobfiles.  I 
think file size would be more useful to me than either of those two 
values.  I'm also not sure why those two values might be useful to 
anyone considering a restore.

Also, I think that output should be sorted by client, starttime desc. 
 At present, it's by jobid desc I think.
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Could not stat /var/bacula/bacula-trinity.sql: ERR=No such file or directory

2005-06-20 Thread Fabrizio Sannicolo'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dears,

I have just adopted Bacula in my organization and I think it is very
poweful and, fortunately, easy to use.

However, I am getting errors when I run the job BackupCatalog as
reported below. I always get Could not stat
/var/bacula/bacula-trinity.sql: ERR=No such file or directory

20-Jun 14:30 galway-dir: Start Backup JobId 58,
Job=BackupCatalog-trinity.2005-06-20_14.30.11
20-Jun 14:30 galway-sd: Volume trinity0001 previously written, moving
to end of data.
20-Jun 14:30 trinity-fd:  Could not stat
/var/bacula/bacula-trinity.sql: ERR=No such file or directory
20-Jun 14:30 galway-dir: Bacula 1.36.3 (22Apr05): 20-Jun-2005 14:30:23
  JobId:  58
  Job:BackupCatalog-trinity.2005-06-20_14.30.11
  Backup Level:   Full
...

# Backup the catalog database (after the nightly save)
Job {
  Name = BackupCatalog-trinity
  JobDefs = DefaultJob
  Level = Full
  FileSet=Catalog-trinity
  Client = trinity-fd
  Storage = File-trinity
  Pool = Default-trinity
  Schedule = WeeklyCycleAfterBackup
   # This creates an ASCII copy of the catalog
 RunBeforeJob = /etc/bacula/make_catalog_backup bacula bacula-reader
# RunBeforeJob = /etc/bacula/make_catalog_backup bacula \bacula
- --password=xxx\
  # This deletes the copy of the catalog
  RunAfterJob  = /etc/bacula/delete_catalog_backup
  Write Bootstrap = /var/bacula/BackupCatalog-trinity.bsr
  Priority = 11   # run after main backup
}

whoever can write in /var/bacula/ ...

Any trips?

thanks, Fabrizio.

- --
The public key GPG used in this mail is registered in
http://www.keyserver.net

- --
  Dott. Fabrizio Sannicolo' phone (Povo): (+39) 0461 88 3947
(Villazzano): (+39) 0461 88 3386
  Administrator of
  Knowledge Management 
  Distributed Information
  Systems Labs.
  University of Trento   fax: (+39) 0461 88 2093
  Via Sommarive 14   email:[EMAIL PROTECTED]
  38050 Povo (Trento), ITALY web: http://dit.unitn.it/~sannico/
- --
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCtrs8LBv2zGBJ7nYRAlCTAJ4xWqnMH803fJSsrOuUzDwqCWXcmACgjR8i
bkywA8QEUkgSnWEEtm7/yBQ=
=7cfT
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Could not stat /var/bacula/bacula-trinity.sql: ERR=No such file or directory

2005-06-20 Thread Chris Lee
It looks like your catalog dump isn't succeeding.  Ensure that the
bacula-reader user has permissions to dump the catalog and if that doesn't
do it, there may be some corruption in the catalog.

Thanks,
Chris  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Fabrizio Sannicolo'
 Sent: Monday, 20 June, 2005 07:49
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] Could not stat 
 /var/bacula/bacula-trinity.sql: ERR=No such file or directory
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Dears,
 
 I have just adopted Bacula in my organization and I think it is very
 poweful and, fortunately, easy to use.
 
 However, I am getting errors when I run the job BackupCatalog as
 reported below. I always get Could not stat
 /var/bacula/bacula-trinity.sql: ERR=No such file or directory
 
 20-Jun 14:30 galway-dir: Start Backup JobId 58,
 Job=BackupCatalog-trinity.2005-06-20_14.30.11
 20-Jun 14:30 galway-sd: Volume trinity0001 previously 
 written, moving
 to end of data.
 20-Jun 14:30 trinity-fd:  Could not stat
 /var/bacula/bacula-trinity.sql: ERR=No such file or directory
 20-Jun 14:30 galway-dir: Bacula 1.36.3 (22Apr05): 20-Jun-2005 14:30:23
   JobId:  58
   Job:BackupCatalog-trinity.2005-06-20_14.30.11
   Backup Level:   Full
 ...
 
 # Backup the catalog database (after the nightly save)
 Job {
   Name = BackupCatalog-trinity
   JobDefs = DefaultJob
   Level = Full
   FileSet=Catalog-trinity
   Client = trinity-fd
   Storage = File-trinity
   Pool = Default-trinity
   Schedule = WeeklyCycleAfterBackup
# This creates an ASCII copy of the catalog
  RunBeforeJob = /etc/bacula/make_catalog_backup bacula bacula-reader
 # RunBeforeJob = /etc/bacula/make_catalog_backup bacula \bacula
 - --password=xxx\
   # This deletes the copy of the catalog
   RunAfterJob  = /etc/bacula/delete_catalog_backup
   Write Bootstrap = /var/bacula/BackupCatalog-trinity.bsr
   Priority = 11   # run after main backup
 }
 
 whoever can write in /var/bacula/ ...
 
 Any trips?
 
 thanks, Fabrizio.
 
 - --
 The public key GPG used in this mail is registered in
 http://www.keyserver.net
 
 - --
   Dott. Fabrizio Sannicolo' phone (Povo): (+39) 0461 88 3947
   (Villazzano): (+39) 0461 88 3386
   Administrator of
   Knowledge Management 
   Distributed Information
   Systems Labs.
   University of Trento   fax: (+39) 0461 88 2093
   Via Sommarive 14   email:[EMAIL PROTECTED]
   38050 Povo (Trento), ITALY web: http://dit.unitn.it/~sannico/
 - --
 - 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.6 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFCtrs8LBv2zGBJ7nYRAlCTAJ4xWqnMH803fJSsrOuUzDwqCWXcmACgjR8i
 bkywA8QEUkgSnWEEtm7/yBQ=
 =7cfT
 -END PGP SIGNATURE-
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] ClientRunBeforeJob script execution

2005-06-20 Thread laczko attila
Hi again, 
I have one more question:
with which user runs bacula a script on a client?
because when I'm trying to shut down mysql with
mysqladmin shutdown command it's say that:

wpmysql-fd: ClientRunBeforeJob: Mysqladmin script
found
 wpmysql-fd: ClientRunBeforeJob: Shutting down mysql  
  server.
 wpmysql-fd: ClientRunBeforeJob: ./usr/bin/mysqladmin:
shutdown failed; error: 'Access denied for user:
'@local
host' (Using password: NO)' 

the wpmysql-fd runs as root on client machine...so i
supose that the script should be runed also as
root,no?
the script does the command mysqladmin shutdoun, so
that i can do a backup of the mysql database.

10x in advance,
Attila

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multiple clients to back up

2005-06-20 Thread Frank Altpeter
2005/6/20, laczko attila [EMAIL PROTECTED]:
 Hi,
 I want to backup a some clients: each client in his
 own directory, having volumes separated by type of the
 job. For each client i wish to do weekly backup for 2
 weeks and daily for a week.

I solved this by having each client its own Pool, Storage, Job and
Client configuration and build this config with some perl hack, which
then gets included in the main configs.

-- 
Le deagh dhùraghd,

Frank Altpeter

Two of the most famous products of Berkeley are LSD and Unix.
I don't think that this is a coincidence.
-- Anonymous


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula BETA version 1.37.25

2005-06-20 Thread Kern Sibbald
Hello,

Due to an unpleasant bug in the SD found by Cedric Tefft (thanks), I have 
released a fixed beta version -- 1.37.25.  It is in the developer's CVS as 
well as released in tar format on Source Forge.  If you are using 1.37.x 
please upgrade to this version.

If you are using version 1.37.24 and would like a patch, you can find it in 
the CVS bacula-source/patches/1.37.24-wrong-tape.patch.  If you don't have 
access to the developer's CVS, please either ask me for the patch or wait 
about 6 hours and it will appear in the public CVS.

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup error on Solaris Box

2005-06-20 Thread Beren Gamble
Bump!! :)

 Beren Gamble [EMAIL PROTECTED] 06/15/05 11:05 am 
Hi Guys,

I've been getting this error every time I try to backup one of our
solaris boxes. It used to work, so I don't know what changed.

This is the error:

15-Jun 07:33 backup1-dir: Start Backup JobId 34,
Job=APLAWS3-Daily.2005-06-14_21.00.33
15-Jun 09:44 backup1-dir: APLAWS3-Daily.2005-06-14_21.00.33 Fatal
error: Network error with FD during Backup: ERR=Connection timed out
15-Jun 09:44 backup1-dir: APLAWS3-Daily.2005-06-14_21.00.33 Fatal
error: No Job status returned from FD.

For the last week, it's gotten 6.5GB through the backup job and
stopped. It happens at different times of the night and it stops at
6.5gb give or take 100mb, so I don't think it's a network issue.

Could it be a corrupted file that Bacula doesn't know how to read? Is
there a bacula log file on the client server that I can view to see
which file it's up to when it hangs?

Thanks,

Beren


**

Harrow Council backs the 2012 Olympic bid.

**
The views expressed within this e-mail are those of the individual and
not necessarily those of the Council. The information in this internet
e-mail is confidential and may contain legally privileged information.
If you are not the intended above named addressee it may be unlawful for
you to read, copy, distribute or otherwise use the information in this
internet e-mail. If you are not the intended recipient of this internet
e-mail please telephone the sender on +44(0)20 8863 5611.
LONDON BOROUGH OF HARROW...
**



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] autochanger problems.

2005-06-20 Thread Nathan R. Valentine


First the background info:

# dpkg -l | grep bacula
hi  bacula-common  1.36.1-1   Network backup, recovery and verification (C
hi  bacula-console 1.36.1-1   Network backup, recovery and verification (M
hi  bacula-directo 1.36.1-1   Network backup, recovery and verification (D
hi  bacula-directo 1.36.1-1   Network backup, recovery and verification (D
hi  bacula-fd  1.36.1-1   Network backup, recovery and verification (F
hi  bacula-sd  1.36.1-1   Network backup, recovery and verification (S

On Ubuntu Hoary.

The Director is having problems rotating tapes in my OverlandLTO
changer. See the following error messages from the console:

20-Jun 10:43 backup.am.internal-sd: thing2.am.internal.2005-06-20_10.42.42 
Warning: Director wanted Volume bacula-linux-13.
Current Volume bacula-linux-12 not acceptable because:
1998 Volume bacula-linux-12 status is Full, but should be Append, Purged 
or Recycle.
20-Jun 10:43 backup.am.internal-sd: 3301 Issuing autochanger loaded drive 0 
command.
20-Jun 10:43 backup.am.internal-sd: 3991 Bad autochanger loaded drive 0 
command: ERR=Child exited with code 1.
20-Jun 10:43 backup.am.internal-sd: 3304 Issuing autochanger load slot 13, 
drive 0 command.
*
20-Jun 10:43 backup.am.internal-sd: 3992 Bad autochanger load slot 13, drive 
0: ERR=Child exited with code 1.
20-Jun 10:43 backup.am.internal-sd: Please mount Volume bacula-linux-13 on 
Storage Device OverlandLTO for Job thing2.am.internal.2005-06-20_10.42.42

This was working for months but broke when I went from Debian to Ubuntu
Hoary but kept the bacula packages intact by placing them on 'hold'. 

If I run the mtx-changer script by hand per the instructions here: 

http://www.bacula.org/rel-manual/Autochangers_Support.html#SECTION0002713000

everything checks out just fine. 

I've done a 'setdebug=100' for 'All' and 'auto on' in the console but
I'm not getting any additional information that indicates why the tape
rotation is failing.

Here is my some more relevant information from the Storage daemon
configs:

Device {
  Name = OverlandLTO
  Media Type = LTO-2
  Archive Device = /dev/nst0
  Changer Device = /dev/sg1
  Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d
  Autochanger = yes
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
}



-- 
---
Nathan Valentine, CISSP - [EMAIL PROTECTED]
Open Source Technician
Venn Technologies, Inc. : http://www.venntech.net


signature.asc
Description: This is a digitally signed message part


RE: [Bacula-users] Backup error on Solaris Box

2005-06-20 Thread Chris Lee
Does this crash bacula-fd on solaris client?  I've caught 1.36.3 doing this
on my SparcStation4 under linux.  Could be a bug with sparc hardware.

To get a better idea of what's happening you can start bacula-fd with -d500
for really verbose debug output and then manually run the job to reproduce
the issue.

Thanks,
Chris  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Beren Gamble
 Sent: Monday, 20 June, 2005 09:37
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Backup error on Solaris Box
 
 Bump!! :)
 
  Beren Gamble [EMAIL PROTECTED] 06/15/05 11:05 am 
 Hi Guys,
 
 I've been getting this error every time I try to backup one of our
 solaris boxes. It used to work, so I don't know what changed.
 
 This is the error:
 
 15-Jun 07:33 backup1-dir: Start Backup JobId 34,
 Job=APLAWS3-Daily.2005-06-14_21.00.33
 15-Jun 09:44 backup1-dir: APLAWS3-Daily.2005-06-14_21.00.33 Fatal
 error: Network error with FD during Backup: ERR=Connection timed out
 15-Jun 09:44 backup1-dir: APLAWS3-Daily.2005-06-14_21.00.33 Fatal
 error: No Job status returned from FD.
 
 For the last week, it's gotten 6.5GB through the backup job and
 stopped. It happens at different times of the night and it stops at
 6.5gb give or take 100mb, so I don't think it's a network issue.
 
 Could it be a corrupted file that Bacula doesn't know how to read? Is
 there a bacula log file on the client server that I can view to see
 which file it's up to when it hangs?
 
 Thanks,
 
 Beren
 
 
 **
 
 Harrow Council backs the 2012 Olympic bid.
 
 **
 The views expressed within this e-mail are those of the individual and
 not necessarily those of the Council. The information in this internet
 e-mail is confidential and may contain legally privileged information.
 If you are not the intended above named addressee it may be 
 unlawful for
 you to read, copy, distribute or otherwise use the information in this
 internet e-mail. If you are not the intended recipient of 
 this internet
 e-mail please telephone the sender on +44(0)20 8863 5611.
 LONDON BOROUGH OF HARROW...
 **
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] autochanger problems.

2005-06-20 Thread Nathan R. Valentine
On Mon, 2005-06-20 at 10:20 -0500, Chris Lee wrote:
 I don't know about Debian or Ubuntu, but the package itself is called mt-st.

FWIW, in Ubuntu and Debian /bin/mt is part of the cpio package. shrug

I'm stracing bacula-sd right now to see if that points me anywhere. 

-- 
---
Nathan Valentine, CISSP - [EMAIL PROTECTED]
Open Source Technician
Venn Technologies, Inc. : http://www.venntech.net


signature.asc
Description: This is a digitally signed message part


[Bacula-users] Re: Is there a way to split the dir-conf file ?

2005-06-20 Thread Romain
Russell Howe russell_howe at wreckage.org writes:

 If you look at the manual, there is a section in here called Including
 other Configuration Files

ooops... fortunately i printed the manual but my printer semms to have ignored
those pages... no i joke... i'll by new glasses ;-)

Thanks
Romain



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger problems.

2005-06-20 Thread Eli K. Breen
I was having this exact problem. Try checking the permissions on both 
the tape and changer devices. The bacula user should be part of the 
Operator group, which should have permission to manipulate these two 
devices.


-E-

Nathan R. Valentine wrote:

On Mon, 2005-06-20 at 10:20 -0500, Chris Lee wrote:


I don't know about Debian or Ubuntu, but the package itself is called mt-st.



FWIW, in Ubuntu and Debian /bin/mt is part of the cpio package. shrug

I'm stracing bacula-sd right now to see if that points me anywhere. 




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger problems.

2005-06-20 Thread Eli K. Breen
I was having this exact problem. Try checking the permissions on both 
the tape and changer devices. The bacula user should be part of the 
Operator group, which should have permission to manipulate these two 
devices.


-E-

Nathan R. Valentine wrote:


On Mon, 2005-06-20 at 10:20 -0500, Chris Lee wrote:


I don't know about Debian or Ubuntu, but the package itself is called mt-st.



FWIW, in Ubuntu and Debian /bin/mt is part of the cpio package. shrug

I'm stracing bacula-sd right now to see if that points me anywhere. 




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger problems.

2005-06-20 Thread Kern Sibbald
On Monday 20 June 2005 17:21, Nathan R. Valentine wrote:
 On Mon, 2005-06-20 at 10:20 -0500, Chris Lee wrote:
  I don't know about Debian or Ubuntu, but the package itself is called
  mt-st.

 FWIW, in Ubuntu and Debian /bin/mt is part of the cpio package. shrug

 I'm stracing bacula-sd right now to see if that points me anywhere.

Your problem is much more likely in mtx-changer -- either it does not have 
enough time to change the tape, it isn't marked as executable, or some other 
thing.  Turning on some of the debug code currently commented out would get 
you to the problem faster (most likely).

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem

2005-06-20 Thread Matt Bettinger
Hello,

I'm running into a problem restoring a home directory on FreeBSD.

I am not sure what to make of the device busy message.  I unmount and
remount the tape and attempt the restore again and it still fails.

Please view the message below let me know if more information is needed.

Thank you.  I did perform a database dump/optimize as suggested in the
handbook a few days earlier.  

helpdesk-dir Version: 1.36.2 (28 February 2005)
Mysql Database

The client I am trying to restore to is the client for 127.0.0.1.

I can telnet to it on port 9102 ok too.

Re,

-mb 



20-Jun 12:34 helpdesk-dir: Start Restore Job
RestoreFiles.2005-06-20_12.34.04
20-Jun 12:34 helpdesk-sd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
acquire.c:116 Device /dev/nsa0 is busy. Job 614 canceled.
20-Jun 12:34 helpdesk-fd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
job.c:1665 Bad response to Read Data command. Wanted 3000 OK data
, got
20-Jun 12:34 helpdesk-dir: RestoreFiles.2005-06-20_12.34.04 Error:
Bacula 1.36.2 (28Feb05): 20-Jun-2005 12:34:10
  JobId:  614
  Job:RestoreFiles.2005-06-20_12.34.04
  Client: helpdesk-fd
  Start time: 20-Jun-2005 12:34:06
  End time:   20-Jun-2005 12:34:10
  Files Expected: 1,694
  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 ***


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2005-06-20 Thread Arno Lehmann

Hello,

Matt Bettinger wrote:


Hello,

I'm running into a problem restoring a home directory on FreeBSD.

I am not sure what to make of the device busy message.  I unmount and
remount the tape and attempt the restore again and it still fails.

Please view the message below let me know if more information is needed.


What you report sounds like the tape device is busy and thus can't be 
used to restore. Now, it would be interesting to see the output of 
`status storage` and, if that indicates that the device is available, 
perhaps the program lsof (available hopefully under BSD, too) can tell 
you if the device is actually used by any other process on your system.


Arno


Thank you.  I did perform a database dump/optimize as suggested in the
handbook a few days earlier.  


helpdesk-dir Version: 1.36.2 (28 February 2005)
Mysql Database

The client I am trying to restore to is the client for 127.0.0.1.

I can telnet to it on port 9102 ok too.

Re,

-mb 




20-Jun 12:34 helpdesk-dir: Start Restore Job
RestoreFiles.2005-06-20_12.34.04
20-Jun 12:34 helpdesk-sd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
acquire.c:116 Device /dev/nsa0 is busy. Job 614 canceled.
20-Jun 12:34 helpdesk-fd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
job.c:1665 Bad response to Read Data command. Wanted 3000 OK data
, got
20-Jun 12:34 helpdesk-dir: RestoreFiles.2005-06-20_12.34.04 Error:
Bacula 1.36.2 (28Feb05): 20-Jun-2005 12:34:10
  JobId:  614
  Job:RestoreFiles.2005-06-20_12.34.04
  Client: helpdesk-fd
  Start time: 20-Jun-2005 12:34:06
  End time:   20-Jun-2005 12:34:10
  Files Expected: 1,694
  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 ***


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autochanger problems.

2005-06-20 Thread Eli K. Breen

Kern,

I don't think so, check out the later replies from Nathan. It's a 
permission prob, something's funky with his Ubuntu install.


Cheers!

-E-

Kern Sibbald wrote:

On Monday 20 June 2005 17:21, Nathan R. Valentine wrote:


On Mon, 2005-06-20 at 10:20 -0500, Chris Lee wrote:


I don't know about Debian or Ubuntu, but the package itself is called
mt-st.


FWIW, in Ubuntu and Debian /bin/mt is part of the cpio package. shrug

I'm stracing bacula-sd right now to see if that points me anywhere.



Your problem is much more likely in mtx-changer -- either it does not have 
enough time to change the tape, it isn't marked as executable, or some other 
thing.  Turning on some of the debug code currently commented out would get 
you to the problem faster (most likely).





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Restore problem

2005-06-20 Thread Matt Bettinger
Hi!

-Original Message-
From: Arno Lehmann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 20, 2005 12:56 PM
To: Matt Bettinger
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restore problem

Hello,

Matt Bettinger wrote:

 Hello,

 I'm running into a problem restoring a home directory on FreeBSD.

 I am not sure what to make of the device busy message.  I unmount and
 remount the tape and attempt the restore again and it still fails.

 Please view the message below let me know if more information is
needed.

What you report sounds like the tape device is busy and thus can't be
used to restore. Now, it would be interesting to see the output of
`status storage` 



Yes thanks.  Status storage indicated the tape was moving to the next
files.  It just took a very long time.  I successfully restored the
whole home directory.  



and, if that indicates that the device is available,
perhaps the program lsof (available hopefully under BSD, too) can tell
you if the device is actually used by any other process on your system.

Arno

 Thank you.  I did perform a database dump/optimize as suggested in
the
 handbook a few days earlier.

 helpdesk-dir Version: 1.36.2 (28 February 2005)
 Mysql Database

 The client I am trying to restore to is the client for 127.0.0.1.

 I can telnet to it on port 9102 ok too.

 Re,

 -mb



 20-Jun 12:34 helpdesk-dir: Start Restore Job
 RestoreFiles.2005-06-20_12.34.04
 20-Jun 12:34 helpdesk-sd: RestoreFiles.2005-06-20_12.34.04 Fatal
error:
 acquire.c:116 Device /dev/nsa0 is busy. Job 614 canceled.
 20-Jun 12:34 helpdesk-fd: RestoreFiles.2005-06-20_12.34.04 Fatal
error:
 job.c:1665 Bad response to Read Data command. Wanted 3000 OK data
 , got
 20-Jun 12:34 helpdesk-dir: RestoreFiles.2005-06-20_12.34.04 Error:
 Bacula 1.36.2 (28Feb05): 20-Jun-2005 12:34:10
   JobId:  614
   Job:RestoreFiles.2005-06-20_12.34.04
   Client: helpdesk-fd
   Start time: 20-Jun-2005 12:34:06
   End time:   20-Jun-2005 12:34:10
   Files Expected: 1,694
   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 ***


 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] storage daemon

2005-06-20 Thread Florian Kieling
Thanks.

The backup with a DVD is running usefull.

kind regards
Florian


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users