Re: [Bacula-users] Server Crash on SLES 10

2006-11-17 Thread Kern Sibbald
Hello,

In case you or anyone else on this list are not hooked into the SUSE bug 
report that I reported on the kernel crash, they have now come up with a 
patch that reportedly fixes the problem.

Please see:  

https://bugzilla.novell.com/show_bug.cgi?id=208782

or download the patched kernel directly from:

http://beta.suse.com/private/hare/testing/bug208782

I would appreciate feedback from anyone trying this kernel.

I am currently running my tests against it ...

Best regards,

Kern


On Friday 03 November 2006 11:31, Thomas Traeger wrote:
 Hello list,
 
 Tonight we experienced a server crash during the bacula backup. The last 
 messages from bacula (captured after reboot in bconsole):
 
 03-Nov 00:43 pdc02-sd: backup_ora01.2006-11-02_21.15.02 Error: 
 block.c:538 Write error at 303:4210 on device Quantum_SDLT320 
 (/dev/nst0). ERR=Device or resource busy.
 03-Nov 00:43 pdc02-sd: backup_ora01.2006-11-02_21.15.02 Error: Re-read 
 of last block OK, but block numbers differ. Last block=166408 Current 
 block=0.
 03-Nov 00:43 pdc02-sd: End of medium on Volume IFS_daily_2 
 Bytes=303,252,171,056 Blocks=4,700,710 at 03-Nov-2006 00:43.
 
 At the same time there is a logentry in /var/log/messages:
 
 Nov  3 00:43:16 ifs01 kernel: Unable to handle kernel paging request at 
 virtual address 0524c3f0
 
 We are using SLES 10 with the latest patches, bacula 1.38.11-3 installed 
 using the rpm packages provided for Suse 10.1. The hardware is a Fujitsu 
 Siemens RX300R3 and a Dell PowerVault 122T with a Quantum SDLT320 drive.
 
 This is not the first problem with this combination, in fact we had a 
 similar? problem last weekend. A tape was claimed to be full at the size 
 of around 40GB of 160GB uncompressed. After inserting a new tape and 
 trying to labelling it the Dell PowerVault stopped working and had to be 
 replaced.
 
 Is anyone else experiencing such strange things? Is there a connection 
 to recently reported problems with a stock Suse 10.1 Kernel? AFAIK SLES 
 10 is based on Suse 10.1.
 
 Thanks,
 
 Thomas
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Rif: Re: SUSE SLES 9 bacula client 1.38.11

2006-11-17 Thread Ferdinando Pasqualetti
Hello Kern,

thanks for your answer. I checked the manual again, but I only found how 
to make a client -only version using the tarball sources. I did non find 
any way for building an rpm client-only. Rpmbuild defines only allow to 
set platform, database type and some other.

Obviously I can build the complete package and then use the client rpm 
only, but I need all necessary packages on the system. 

I still have to backup some RedHat 7.3 systems that had the FD client 
installed with an RPM for rev 1.36. I had to build binaries from the 
tarball in order to upgrade to 1.38 (unless setup one of the systems with 
MySQL and all the other necessary stuff). If it would be possible to have 
a %define enable-client-only in the rpm source spec (as in tarball) it 
would be easer. May be this can be easily done modifying the spec file, 
but not by me.

Also a worst situation. A couple of SUSE SLES 9 system do not have 
development installed, but client RPMS for these systems are not on the 
web any more.
I found a 1.38.9 for SLES 9.1 on rpmfind.org, so the problem is over.

What I would like to say is that it would be useful build clients also for 
old platforms (specially when the old clients are not compatible).

Anyway it is a minor issue related to what bacula gives us.

Thanks again

--
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143






Kern Sibbald [EMAIL PROTECTED] 
Inviato da: [EMAIL PROTECTED]
16/11/2006 17.25

Per
bacula-users@lists.sourceforge.net
CC
Ferdinando Pasqualetti [EMAIL PROTECTED]
Oggetto
Re: [Bacula-users] SUSE SLES 9 bacula client 1.38.11






On Wednesday 15 November 2006 16:41, Ferdinando Pasqualetti wrote:
 Hello List,
 have anyone built an RPM of bacula-client 1.38.11 for SuSe SLES 9?
 I have a couple of systems without development software installed and no 

 other system with that distro.
 Does also anyone knows how to lauch the rpmbuild command in order to 
make 
 a client-only version?

This is documented in the manual.

 My attempts to modify the SPEC file never gave a good result.
 Thanks to people providing this software in any case.
 
 
 
--
 Ferdinando Pasqualetti
 G.T.Dati srl
 Tel. 0557310862 - 3356172731 - Fax 055720143
 
 
 
 
 
-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
 opinions on IT  business topics through brief surveys - and earn cash
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Firewalls and bacula

2006-11-17 Thread Chris Sarginson
Hi Guys,

Just a quick query, and sorry if its one thats in the documentation - I 
have had a quick scan and didnt see anything.

Are there any issues with backing up Bacula servers through firewalls? 
I have had issues with Backup software (that shall remain proprietary 
and nameless :/) that took the unusual step of forcing the client to 
announce its IP address to the server as something that could not be 
translated by a firewall

IE

Client  --- FW -- BackupServer

Client would announce its IP to server as 192.168.x.x which meant that 
the backup server (on a public IP) was not able to contact the client.

Basically I want to know if Bacula does the same.  And before anyone 
asks, there was no feasible way aroung the above problem :)

-- 
Cheers

Chris

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job fails if data size reaches more than 2,5GB

2006-11-17 Thread Vitaliy Matuschenko

Hi all.
I'm trying to make a big backup (almost 4 gigs in less than 100 files) over
the Internet. Both storage and file daemons are running on windows 2003
servers, director is running on Fedora Core 4. (bacula-beta-1.39.28; MySQL -
4.1.11)
The job starts well, but when the size of transmitted data from fd to sd
reach i say more than 2,5G job cancels with following error:


16-Nov 13:54 fc3-ua-dir: Start Backup JobId 24, Job=win1.2006-11-16_13.54.40
16-Nov 13:54 fc3-ua-dir: Recycled volume w1_us_full_0002
16-Nov 16:57 w2-us-sd: Labeled new Volume w1_us_full_0002 on device
w2_us (c:\backup).
16-Nov 16:57 w2-us-sd: Wrote label to prelabeled Volume w1_us_full_0002 on
device w2_us (c:\backup)

Everything seems ok until...

16-Nov 18:44 w1-us-fd: win1.2006-11-16_13.54.40 Fatal error:
../../filed/backup.c:845 Network send error to SD. ERR=Input/output error
16-Nov 18:44 w1-us-fd: win1.2006-11-16_13.54.40 Error: ../../lib/bnet.c:393
Write error sending len to Storage daemon:xxx.xxx.xxx.xxx:9103:
ERR=Input/output error
16-Nov 17:43 fc3-ua-dir: win1.2006-11-16_13.54.40 Fatal error: Network error
with FD during Backup: ERR=Connection reset by peer
16-Nov 17:43 fc3-ua-dir: win1.2006-11-16_13.54.40 Fatal error: No Job status
returned from FD.
16-Nov 17:43 fc3-ua-dir: win1.2006-11-16_13.54.40 Error: Bacula
1.39.24(02Oct06): 16-Nov-2006 17:43:03
 JobId:  24
 Job:win1.2006-11-16_13.54.40
 Backup Level:   Full
 Client: w1-us-fd Linux,Cross-compile,Win32
 FileSet:w1_us_set 2006-10-12 15:05:53
 Pool:   w2_us_pool (From Job resource)
 Storage:w2-us-sd (From Job resource)
 Scheduled time: 16-Nov-2006 13:54:39
 Start time: 16-Nov-2006 13:54:57
 End time:   16-Nov-2006 17:43:03
 Elapsed time:   3 hours 48 mins 6 secs
 Priority:   10
 FD Files Written:   0
 SD Files Written:   0
 FD Bytes Written:   0 (0 B)
 SD Bytes Written:   0 (0 B)
 Rate:   0.0 KB/s
 Software Compression:   None
 Volume name(s): w1_us_full_0002
 Volume Session Id:  2
 Volume Session Time:1163688842
 Last Volume Bytes:  2,999,808,064 (2.999 GB)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  Error
 SD termination status:  Error
 Termination:*** Backup Error ***


In this case total amount of transmitted data was 3,561G but none was
written and this is regular error unfortunately. I've encountered this stuff
while using both 1.39.24 and 1.39.26 versions. There's no pattern for backup
size or total amount of files, because every times it comes down with
different size.
Theres enough space on SD server, and there are no limitations on maximum
file size. Both servers are placed at same ISP but on different colo.
Small backups, 1Gb 'r done perfect.

Can anyone help me with this stuff?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula license transfer

2006-11-17 Thread Alain Wolf
On 10.11.2006 09:49, * Kern Sibbald wrote:
 On Wednesday 08 November 2006 01:46, Dan Langille wrote:
 What other projects have gone this way?
 
 I have no idea and am not sure to find out ...
 
 Bacula users are most likely involved in other projects. Perhaps they 
 can inquire and see how that transition went.
 
 I'll ask FSFE what other project have been through this.  At this point, I 
 have no reason to think there will be any down side to this ...
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

I just read this about this in goldem.de, maybe it is of interest in
this matter:

http://www.fsfeurope.org/projects/ftf/

Greetings.
Alain





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error Connecting to (Remote) File Daemon

2006-11-17 Thread Arjun Mukerji
I've got a setup that's fairly simple: a bacula director, sd, and fd on a 
debian box, and an fd on a remote windows box (that is, it's not even on the 
LAN). The relevant sections of the config file are:


/etc/bacula/bacula-dir.conf (on the server):

Director {
  Name = ptnv-dir
  DIRport = 9101
  QueryFile = /etc/bacula/query.sql
  WorkingDirectory = /var/bacula/working
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 1
  Password = jveb**IGHappe
  Messages = Daemon
}

Client {
  Name = carlos-fd
  Address = 66.100.53.72
  FDPort = 9102
  Catalog = MyCatalog
  Password = jveb**IGHappe
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}

Storage {
  Name = File
  Address = [externally resolvable ip address of localhost - not 127.0.0.1]
  SDPort = 9103
  Password = jveb**IGHappe
  Device = FileStorage
  Media Type = File
}




F:\\bacula\\bin\\bacula-fd.conf (on the client, a windows machine not on the 
LAN of the server)

Director {
  Name = ptnv-dir
  Password = jveb**IGHappe
}

FileDaemon {
  Name = carlos-fd
  FDport = 9102
  WorkingDirectory = /bacula/working
  Pid Directory = /bacula/working
  Maximum Concurrent Jobs = 20
}


The director connects fine to the sd (I know this as it spits no errors, and 
local backups - that is to say, backups where the fd is on the same machine are 
the director - work perfectly fine). However, trying to run a job on carlos-fd 
fails with:


Fatal error: Unable to authenticate with File daemon. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).


I've checked the docs (though not the list archive, apologies - gmane was 
behaving strangely earlier), and I'm thoroughly at a loss. Any suggestions? Any 
extra info I need to post?

Thanks,
Arjun






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula FD with FreeBSD Jails

2006-11-17 Thread Alain Wolf
Hello Bacula Users

We run FreeBSD with some Jails, all of them (jails and host system) run
Bacula-FD.

Our problme now is ...

bacula-fd refuses to start on the host system after booting or when
called manually by /usr/local/etc/rc.d/bacula-fd.sh
with the following error:

Local package initialization:
bacula_fd already running? (pid=644 820 993 1170 1344 1554 1886 2099).

The PIDs it complains about are the ones of the bacula-fd processes
already running in the jails.

We use the FreeBSD ports version 1.38.11_1 on FreeBSD 6.0-RELEASE-p15

Regrads

Alain Wolf


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Jaime Ventura
Hello.
   I need to backup some directories on windows client used by a 
user AA.
   The problem is that the user AA have some confidential files 
which cant be accessible by bacula.
   I thought I could create a user BB having permissions to access 
specific directories(the ones that should by backed up) and having 
bacula-fd running as  user BB. The problem with this solution is that 
bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
cant get the icon on AA' systray.
How can I solve this?
   As far as i can see, there isn't a bacula monitor for Windows?
   Is there any client side ACL's.
   Thanks for you help
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Jaime Ventura
Hi Bill,
thank you for your reply.
I know that if install the windows client using default options, it 
will run as a service using the system user.
Since bacula-fd is running using the system user, it will be able 
to access every file on the pc, rigth?
I need to limit the bacula-fd to access to just a few files ( the 
ones I need to backup). The thing is, the pc user (AAA in my previous 
email) have personal information on it and he doesn't want bacula to 
able to access it.
So I thought  of running bacula-fd as a BBB user having permissions 
to access only files I need to backup. That way, bacula-fd doesnt have 
access to all files on the system, but just the ones I need to backup.
This should work just fine.
But, having bacula-fd running as BBB user, it wont have permissions 
to put the icon tray on the AAA systemTray when he is logged in.
I could solve this problem if bacula had a bacula-monitor for 
windows, which  it does not.
So, i don't really know how to solve this :(
Once again, thanks



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Bill Moran wrote:
 In response to Jaime Ventura [EMAIL PROTECTED]:
   
 Hello.
I need to backup some directories on windows client used by a 
 user AA.
The problem is that the user AA have some confidential files 
 which cant be accessible by bacula.
I thought I could create a user BB having permissions to access 
 specific directories(the ones that should by backed up) and having 
 bacula-fd running as  user BB. The problem with this solution is that 
 bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
 cant get the icon on AA' systray.
 How can I solve this?
As far as i can see, there isn't a bacula monitor for Windows?
Is there any client side ACL's.
Thanks for you help
 

 Are you sure?  Have you tried?

 When I installed Bacula on W$ machines, it runs as some meta-user that
 has read rights to the entire system.  Are you doing some sort of
 custom install?  Why not just use the meta-user built into Windows?

   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Kern Sibbald
On Tuesday 14 November 2006 13:28, Jaime Ventura wrote:
 Hello.
I need to backup some directories on windows client used by a 
 user AA.
The problem is that the user AA have some confidential files 
 which cant be accessible by bacula.
I thought I could create a user BB having permissions to access 
 specific directories(the ones that should by backed up) and having 
 bacula-fd running as  user BB. The problem with this solution is that 
 bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
 cant get the icon on AA' systray.
 How can I solve this?
As far as i can see, there isn't a bacula monitor for Windows?
Is there any client side ACL's.
Thanks for you help

I recently added a section to the Win32 chapter of the online development 
manual (1.39.28) that explain how to do this.  It takes the point of view 
that there should be no completely confidential files, so if this is a 
requirement, you should pay close attention to the suggested changes so that 
they do not comprise any specific security you want.

 -- 
 
 
 
  
 
 
 Jaime Ventura
 [Infra-estruturas e Comunicações]
 
 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59
 
 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt 
 
   
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Jaime Ventura
Kern,
thank you very much for your reply.
I will look at it carefully,
Once again, thanks



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Kern Sibbald wrote:
 On Tuesday 14 November 2006 13:28, Jaime Ventura wrote:
   
 Hello.
I need to backup some directories on windows client used by a 
 user AA.
The problem is that the user AA have some confidential files 
 which cant be accessible by bacula.
I thought I could create a user BB having permissions to access 
 specific directories(the ones that should by backed up) and having 
 bacula-fd running as  user BB. The problem with this solution is that 
 bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
 cant get the icon on AA' systray.
 How can I solve this?
As far as i can see, there isn't a bacula monitor for Windows?
Is there any client side ACL's.
Thanks for you help
 

 I recently added a section to the Win32 chapter of the online development 
 manual (1.39.28) that explain how to do this.  It takes the point of view 
 that there should be no completely confidential files, so if this is a 
 requirement, you should pay close attention to the suggested changes so that 
 they do not comprise any specific security you want.

   
 -- 



  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt 

  




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Firewalls and bacula

2006-11-17 Thread Kern Sibbald
On Friday 17 November 2006 14:26, Chris Sarginson wrote:
 Hi Guys,
 
 Just a quick query, and sorry if its one thats in the documentation - I 
 have had a quick scan and didnt see anything.
 
 Are there any issues with backing up Bacula servers through firewalls? 
 I have had issues with Backup software (that shall remain proprietary 
 and nameless :/) that took the unusual step of forcing the client to 
 announce its IP address to the server as something that could not be 
 translated by a firewall
 
 IE
 
 Client  --- FW -- BackupServer
 
 Client would announce its IP to server as 192.168.x.x which meant that 
 the backup server (on a public IP) was not able to contact the client.

That sounds like a rather feeble attempt to maintain security but which is 
destined to all kinds of failures as you saw as well as a gigantic security 
hole.

 
 Basically I want to know if Bacula does the same.  And before anyone 
 asks, there was no feasible way aroung the above problem :)

You should be able to easily guess from my preceding answer -- assuming I 
correctly understand your problem, no Bacula wouldn't be so stupid as to 
request that information from a client, which is much more reliably provided 
by the underlying TCP/IP connection via a system call.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Bill Moran
In response to Jaime Ventura [EMAIL PROTECTED]:

 Hi Bill,
 thank you for your reply.
 I know that if install the windows client using default options, it 
 will run as a service using the system user.
 Since bacula-fd is running using the system user, it will be able 
 to access every file on the pc, rigth?
 I need to limit the bacula-fd to access to just a few files ( the 
 ones I need to backup). The thing is, the pc user (AAA in my previous 
 email) have personal information on it and he doesn't want bacula to 
 able to access it.
 So I thought  of running bacula-fd as a BBB user having permissions 
 to access only files I need to backup. That way, bacula-fd doesnt have 
 access to all files on the system, but just the ones I need to backup.
 This should work just fine.
 But, having bacula-fd running as BBB user, it wont have permissions 
 to put the icon tray on the AAA systemTray when he is logged in.
 I could solve this problem if bacula had a bacula-monitor for 
 windows, which  it does not.
 So, i don't really know how to solve this :(
 Once again, thanks

I have a feeling that you're on the wrong road for the wrong reasons.

First, you need to clearly establish the status of those files:
1) Are they important data?
2) Are they confidential data?

If the answer to #1 is yes, then you need to back them up.

It sounds to me that the answer to #2 is yes and you're using that as
a reason _not_ to back the data up, which is a _VERY_ bad idea.

I could go on and on about foolish assumptions such as the assumption
that your Windows client is more secure than the Bacula server ...

However, I'll cut to the chase:

1) If the data is just personal, then simply exclude those files from
   the backup fileset using a wildcard if necessary.
2) If the data is confidential, then you're putting the cart before the
   horse by trying to teach bacula not to back it up.  Instead, use some
   sort of file-level encryption, such as one of pgp's tools.  Then, you
   can even back up the encrypted files if it makes sense to do so,
   without sacrificing their confidentiality.

The approach you're taking is like trying to fix a flat tire by changing
the spark plugs.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] the DREADED autochanger won't load problem

2006-11-17 Thread Keith Gunderson
Wow that was a helpful reply Arno.  Thank you.  Your btape advice will be 
heeded.  Bacula is fantasic.

Could it be that I was only missing the update slots command?  (see below)

 Message: 1
 Date: Fri, 17 Nov 2006 00:50:27 +0100 (MET)
 From: Arno Lehmann [EMAIL PROTECTED]
 Subject: Re: [Bacula-users] the DREADED autochanger won't load problem
 To: bacula-users@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=windows-1252; format=flowed
 
 
   I?ve been able to get through about 5 tapes of full backup by
  manually loading and mounting the tapes.  That is, the jobs are working
  fine, but the jobs are much bigger than the tapes? and bacula won?t
  change the tapes itself.
 
 Ok, first thing to try: Use the query command and check which volumes
 Bacula thinks are in the changer (hopefully that query is in your
 version...).
 Then: Use the 'Update slots scan' command and see what it reports.

When I ran query, it reported there were only 2 tapes in the changer instead of 
the 11 newly labeled tapes.

I ran update slots without problem and now query reports the tapes correctly.

I started a job and bacula went off and loaded tapes and got things moving.  
Success!

 
  Bacula: 1.38.5  (run as root)
  RHEL4
  We have a 11 slot LTO3 changer with no barcodes on the tapes.
  I?ve manually labeled all of the tapes in bconsole (via mtx /dev/sg8
  load 1,  then label.)
 
 How exactly did your label command look?
 
  My changer.volumes
 
 You mean you've got Bacula set up with the fake autochanger feature? I
 would NOT recommend to use that.

Does that mean you recommend using barcoded labels? Or is there more too the 
fake autochanger setup that 
I'm using?  

 
 ...
  Giving the mtx ?f /dev/sg8 status :
 
 ... looks normal.
 ...
  Starting a job:
 
   
 
  16-Nov 16:52 backup3-dir: Start Backup JobId 537,
  Job=data.2006-11-16_16.52.32
 
  16-Nov 16:52 backup3-sd: 3301 Issuing autochanger loaded drive 0 command.
 
  16-Nov 16:52 backup3-sd: 3302 Autochanger loaded drive 0, result:
  nothing loaded.
 
  16-Nov 16:52 backup3-sd: 3301 Issuing autochanger loaded drive 0 command.
 
  16-Nov 16:52 backup3-sd: 3302 Autochanger loaded drive 0, result:
  nothing loaded.
 
  16-Nov 16:52 backup3-sd: Please mount Volume F06T06 on Storage Device
  drive1 (/dev/nst0) for Job data.2006-11-16_16.52.32
 
 Normal so far, because because it's quite possible that Bacula doesn't
 know the volme it wants is in the autochanger.
 
 ...
  I think we have a stock mtx-changer:
 
 ... then it's time to fix it, erm, to make it better suit your needs :-)
 
 ...
 especially here:
  # Increase the sleep time if you have a slow device
  # or remove the sleep and add the following:
  # wait_for_drive $device
 ... I'd usually recommend to use the wait_for_drive function if it works
 on your system.

How will I know if the wait_for_drive function works?  By uncommenting it and 
testing it with btape?


 
 ...
  Any pointers would be appreciated.
 
 It will probably really help you if you started with btape, checking
 your hardware setup, and learning how it works. Once you really need
 that knowledge there might be people around telling you to get at your
 data really soon..
 

I understand.  Thanks very much.

 Anyway, I suspect you're only missing how to operate Bacula together
 with an autochanger. The key point is that Bacula needs to know which
 volumes are in the autochanger.
 
 Arno
 
 -- 
 IT-Service Lehmann[EMAIL PROTECTED]
 Arno Lehmann  http://www.its-lehmann.de
 









 

Sponsored Link

$420k for $1,399/mo. 
Think You Pay Too Much For Your Mortgage? 
Find Out! www.LowerMyBills.com/lre-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Firewalls and bacula

2006-11-17 Thread Chris Sarginson
Hi Kern,

Thats great, and thanks for the prompt response - I'm sure I'll be on 
again later when I start setting this up ;-)

Chris

Kern Sibbald wrote:
 On Friday 17 November 2006 14:26, Chris Sarginson wrote:
   
 Hi Guys,

 Just a quick query, and sorry if its one thats in the documentation - I 
 have had a quick scan and didnt see anything.

 Are there any issues with backing up Bacula servers through firewalls? 
 I have had issues with Backup software (that shall remain proprietary 
 and nameless :/) that took the unusual step of forcing the client to 
 announce its IP address to the server as something that could not be 
 translated by a firewall

 IE

 Client  --- FW -- BackupServer

 Client would announce its IP to server as 192.168.x.x which meant that 
 the backup server (on a public IP) was not able to contact the client.
 

 That sounds like a rather feeble attempt to maintain security but which is 
 destined to all kinds of failures as you saw as well as a gigantic security 
 hole.

   
 Basically I want to know if Bacula does the same.  And before anyone 
 asks, there was no feasible way aroung the above problem :)
 

 You should be able to easily guess from my preceding answer -- assuming I 
 correctly understand your problem, no Bacula wouldn't be so stupid as to 
 request that information from a client, which is much more reliably provided 
 by the underlying TCP/IP connection via a system call.

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread George R . Kasica
I sure this is a simple answer but I'm not sure how to do it correctly
and as I need to get it correct the first time due to the length of
time it will take to execute, I thought asking first is better than
guessing...

I've backed up a system here first-fd to tape and want to restore the
files back to another system second-fd on a big empty drive so that
the contents can be inspected, copied, etc.

How do I go about this, when I start restore it wants to put it back
on first-fd and switching the Client to second-fd seem to also change
the drive its trying to restore from etc.

Assistance greatly appreciated.

Thanks,
===[George R. Kasica]===+1 262 677 0766
President   +1 206 374 6482 FAX 
Netwrx Consulting Inc.  Jackson, WI USA 
http://www.netwrx1.com
[EMAIL PROTECTED]
ICQ #12862186

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread Jaime Ventura
Hi.
You can change where you want to restore to( where option), the 
same way you change the  client  you want to restore to.
Jaime



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







George R.Kasica wrote:
 I sure this is a simple answer but I'm not sure how to do it correctly
 and as I need to get it correct the first time due to the length of
 time it will take to execute, I thought asking first is better than
 guessing...

 I've backed up a system here first-fd to tape and want to restore the
 files back to another system second-fd on a big empty drive so that
 the contents can be inspected, copied, etc.

 How do I go about this, when I start restore it wants to put it back
 on first-fd and switching the Client to second-fd seem to also change
 the drive its trying to restore from etc.

 Assistance greatly appreciated.

 Thanks,
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread George R . Kasica
Hmmm...not doing so well here with that:

Loaded up the latest restore, selected ALL items with 

mark *

exit

Changed Client to eagle-fd
(I'm assume the system I want to put it back on)
 
Changed Where to /home/user/bacula-restore
(On the above system)

ran the job and see the following:

17-Nov 10:55 eagle-dir: Start Restore Job
RestoreFiles.2006-11-17_10.55.35
*
17-Nov 10:55 eagle-sd: 3301 Issuing autochanger loaded drive 0
command.
17-Nov 10:55 eagle-sd: 3302 Autochanger loaded drive 0, result is
Slot 5.
17-Nov 10:55 eagle-sd: RestoreFiles.2006-11-17_10.55.35 Warning:
acquire.c:146 Wrong Volume mounted on device DDS-3-Drive0
(/dev/nst0): Wanted D1-SB-V0005 have D0-SB-V0005
17-Nov 10:55 eagle-sd: Please mount Volume D1-SB-V0005 on Storage
Device DDS-3-Drive0 (/dev/nst0) for Job
RestoreFiles.2006-11-17_10.55.35

There's my problem.its wanting the D1 volumes which are in Drive1
to be mounted in Drive0 which is the drive normally used by another
system (eagle-fd) why isn't is finding the backups on the drive they
were created on??


Hi.
You can change where you want to restore to( where option), the 
same way you change the  client  you want to restore to.
Jaime



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:   www.isep.ipp.pt http://www.isep.ipp.pt 

   





George R.Kasica wrote:
 I sure this is a simple answer but I'm not sure how to do it correctly
 and as I need to get it correct the first time due to the length of
 time it will take to execute, I thought asking first is better than
 guessing...

 I've backed up a system here first-fd to tape and want to restore the
 files back to another system second-fd on a big empty drive so that
 the contents can be inspected, copied, etc.

 How do I go about this, when I start restore it wants to put it back
 on first-fd and switching the Client to second-fd seem to also change
 the drive its trying to restore from etc.

 Assistance greatly appreciated.

 Thanks,
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   
===[George R. Kasica]===+1 262 677 0766
President   +1 206 374 6482 FAX 
Netwrx Consulting Inc.  Jackson, WI USA 
http://www.netwrx1.com
[EMAIL PROTECTED]
ICQ #12862186

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread Kern Sibbald
On Friday 17 November 2006 17:31, George R.Kasica wrote:
 I sure this is a simple answer but I'm not sure how to do it correctly
 and as I need to get it correct the first time due to the length of
 time it will take to execute, I thought asking first is better than
 guessing...
 
 I've backed up a system here first-fd to tape and want to restore the
 files back to another system second-fd on a big empty drive so that
 the contents can be inspected, copied, etc.
 
 How do I go about this, when I start restore it wants to put it back
 on first-fd and switching the Client to second-fd seem to also change
 the drive its trying to restore from etc.
 
 Assistance greatly appreciated.

It is a bit subtle ...

What is defined in the restore Job definition has little relevance.

When the restore command asks you what client you want to restore (supposing 
you choose an option like #5 rather than specifying JobIds), you answer with 
the client where from which the data was backed up.  Then when you get to the 
yes/mod/no prompt after selecting all the files to restore, you use the mod 
option to change the client to where you want the data restored, and you will 
get just what you want.

 
 Thanks,
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread Kern Sibbald
Most likely you have two storage daemons and did not specify different 
MediaTypes.  If that is the case, solution: remove all but the desired 
Storage Resource from your bacula-dir.conf file, or manually update the 
database to have unique MediaTypes for each SD.

On Friday 17 November 2006 18:24, George R.Kasica wrote:
 It is a bit subtle ...
 
 What is defined in the restore Job definition has little relevance.
 
 When the restore command asks you what client you want to restore 
(supposing 
 you choose an option like #5 rather than specifying JobIds), you answer 
with 
 the client where from which the data was backed up.  Then when you get to 
the 
 yes/mod/no prompt after selecting all the files to restore, you use the 
mod 
 option to change the client to where you want the data restored, and you 
will 
 get just what you want.
 Kern:
 
 That's what I'm doing here and it's not behaving as expected.
 
 Loaded up the latest restore, selected ALL items with 
 
 mark *
 
 exit
 
 Changed Client to eagle-fd
 (I'm assume the system I want to put it back on)
  
 Changed Where to /home/user/bacula-restore
 (On the above system)
 
 ran the job and see the following:
 
 17-Nov 10:55 eagle-dir: Start Restore Job
 RestoreFiles.2006-11-17_10.55.35
 *
 17-Nov 10:55 eagle-sd: 3301 Issuing autochanger loaded drive 0
 command.
 17-Nov 10:55 eagle-sd: 3302 Autochanger loaded drive 0, result is
 Slot 5.
 17-Nov 10:55 eagle-sd: RestoreFiles.2006-11-17_10.55.35 Warning:
 acquire.c:146 Wrong Volume mounted on device DDS-3-Drive0
 (/dev/nst0): Wanted D1-SB-V0005 have D0-SB-V0005
 17-Nov 10:55 eagle-sd: Please mount Volume D1-SB-V0005 on Storage
 Device DDS-3-Drive0 (/dev/nst0) for Job
 RestoreFiles.2006-11-17_10.55.35
 
 There's my problem.its wanting the D1 volumes which are in Drive1
 to be mounted in Drive0 which is the drive normally used by another
 system (eagle-fd) why isn't is finding the backups on the drive they
 were created on??
 
 DDS-3-Drive0 is the drive that has the taped for the system I'm
 restoring TO
 
 DDS-3-Drive1 which holds D1-SB-V0005 is the drive for the system I'm
 trying to restore that has the backup tapes I need. 
 
 It seems by changing the client it somehow changes the drive it looks
 at.
 
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread George R . Kasica
OK..its reading the right tape but now I'm seeing:

17-Nov 11:58 eagle-fd: RestoreFiles.2006-11-17_11.53.43 Error: Win32
data stream not supported on this Client.


Is there an issue with just putting the Win-XP Client files back onto
a Linux system so I can access them or will it still restore or do I
need to load them to a Windows box?

Thanks,


Most likely you have two storage daemons and did not specify different 
MediaTypes.  If that is the case, solution: remove all but the desired 
Storage Resource from your bacula-dir.conf file, or manually update the 
database to have unique MediaTypes for each SD.

On Friday 17 November 2006 18:24, George R.Kasica wrote:
 It is a bit subtle ...
 
 What is defined in the restore Job definition has little relevance.
 
 When the restore command asks you what client you want to restore 
(supposing 
 you choose an option like #5 rather than specifying JobIds), you answer 
with 
 the client where from which the data was backed up.  Then when you get to 
the 
 yes/mod/no prompt after selecting all the files to restore, you use the 
mod 
 option to change the client to where you want the data restored, and you 
will 
 get just what you want.
 Kern:
 
 That's what I'm doing here and it's not behaving as expected.
 
 Loaded up the latest restore, selected ALL items with 
 
 mark *
 
 exit
 
 Changed Client to eagle-fd
 (I'm assume the system I want to put it back on)
  
 Changed Where to /home/user/bacula-restore
 (On the above system)
 
 ran the job and see the following:
 
 17-Nov 10:55 eagle-dir: Start Restore Job
 RestoreFiles.2006-11-17_10.55.35
 *
 17-Nov 10:55 eagle-sd: 3301 Issuing autochanger loaded drive 0
 command.
 17-Nov 10:55 eagle-sd: 3302 Autochanger loaded drive 0, result is
 Slot 5.
 17-Nov 10:55 eagle-sd: RestoreFiles.2006-11-17_10.55.35 Warning:
 acquire.c:146 Wrong Volume mounted on device DDS-3-Drive0
 (/dev/nst0): Wanted D1-SB-V0005 have D0-SB-V0005
 17-Nov 10:55 eagle-sd: Please mount Volume D1-SB-V0005 on Storage
 Device DDS-3-Drive0 (/dev/nst0) for Job
 RestoreFiles.2006-11-17_10.55.35
 
 There's my problem.its wanting the D1 volumes which are in Drive1
 to be mounted in Drive0 which is the drive normally used by another
 system (eagle-fd) why isn't is finding the backups on the drive they
 were created on??
 
 DDS-3-Drive0 is the drive that has the taped for the system I'm
 restoring TO
 
 DDS-3-Drive1 which holds D1-SB-V0005 is the drive for the system I'm
 trying to restore that has the backup tapes I need. 
 
 It seems by changing the client it somehow changes the drive it looks
 at.
 
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
===[George R. Kasica]===+1 262 677 0766
President   +1 206 374 6482 FAX 
Netwrx Consulting Inc.  Jackson, WI USA 
http://www.netwrx1.com
[EMAIL PROTECTED]
ICQ #12862186

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Restore: Building directory tree takes forever

2006-11-17 Thread Frank Mueller
Hi,

I'm having trouble restoring files from a backup job that contains
1,933,009 files. Building the directory tree seems to take forever... at
least I had to interupt it after 30 hours of 100% CPU-usage :-(
I already tried to use bextract, but unfortunately it can't restore
files from a Win32 stream.
Does anybody have an idea how to restore files from such a job???

Thx,

Frank

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Stopping a running job

2006-11-17 Thread Jean-Michel Caricand
Hi,

I want to stop a running job but I can't with delete jobid=... 
Which command makes it possible to do that?

Thanks.

Jean-Michel Caricand 
 
[EMAIL PROTECTED]
 

Accédez au courrier électronique de La Poste 
sur www.laposte.net ou sur 3615 LAPOSTENET (0,34€ TTC /mn) 
1 Giga de stockage gratuit – Antispam et antivirus intégrés 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Restore: Building directory tree takes forever

2006-11-17 Thread Bill Moran
In response to Frank Mueller [EMAIL PROTECTED]:
 
 I'm having trouble restoring files from a backup job that contains
 1,933,009 files. Building the directory tree seems to take forever... at
 least I had to interupt it after 30 hours of 100% CPU-usage :-(

Wow ...

Building directory tree for JobId 4868 ...  
+++
1 Job, 1,316,538 files inserted into the tree.

Took about 1 minute.

I didn't see any excessive CPU usage during the build, but disks ran
at 100% the whole time (loading the database data off disk).

Fast hardware helps.  This system is a Dell 1850 with 2G of RAM and
SCSI 10,000 RPM disks.  Are you sure it was CPU-bound during the
build, and if so, what process was CPU bound?  The DB server?  The
director?

Also, I'm using PostgreSQL as the DB backend.  I've got a bit of
experience tuning Postgres, so I've made sure that it uses all the
system RAM for caching.  Is it possible your DB server would benefit
from some tuning?

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Restore: Building directory tree takes forever

2006-11-17 Thread Frank Mueller
Hi there,

ok, my machine here is not comparable to your hardware, but it still
should work at least within minutes, not hours or even days I think.
Some additional information:

CPU: P4 1,7 GHZ
RAM: 1GB
ATA-Harddisks
OS: FreeBSD
DB: Mysql 4.0.27
bacula: 1.38.11_1

While building the directory tree, top tells me

CPU states: 98.9% user, 0.0% nice, 1.1% system, 0.0% interrupt, 0.0% idle

5463 bacula 3 118 0 14540K 12124K RUN 1:14 96.68% bacula-dir
457 mysql 6  20 0 57580K 32720K kserel  5:15  0.29% mysqld

Looks like the director is using all of CPU, not the database, while it
only takes about 60MB of RAM.

I already checked the db indexes and found em all in place...

I have no idea what the hell's going wrong on that machine.

Thx,

Frank

Bill Moran schrieb:
 In response to Frank Mueller [EMAIL PROTECTED]:
 I'm having trouble restoring files from a backup job that contains
 1,933,009 files. Building the directory tree seems to take forever... at
 least I had to interupt it after 30 hours of 100% CPU-usage :-(
 
 Wow ...
 
 Building directory tree for JobId 4868 ...  
 +++
 1 Job, 1,316,538 files inserted into the tree.
 
 Took about 1 minute.
 
 I didn't see any excessive CPU usage during the build, but disks ran
 at 100% the whole time (loading the database data off disk).
 
 Fast hardware helps.  This system is a Dell 1850 with 2G of RAM and
 SCSI 10,000 RPM disks.  Are you sure it was CPU-bound during the
 build, and if so, what process was CPU bound?  The DB server?  The
 director?
 
 Also, I'm using PostgreSQL as the DB backend.  I've got a bit of
 experience tuning Postgres, so I've made sure that it uses all the
 system RAM for caching.  Is it possible your DB server would benefit
 from some tuning?
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error when restoring with multiple catalogs

2006-11-17 Thread Mark Hazen
Greetings fellow Baculites:

We're reconfiguring our bacula services. We back up several machines to 
disk, and this time around to limit the size of the backups of a couple 
of hosts by splitting into multiple catalogs to give each of these 
servers their own databases (one, for example, is a mail server that 
averages about 45GB spread over 550,000 files).

We also have machines which have smaller backups that have been grouped 
into catalogs all their own, such as one for our desktops. We also have 
a separate catalog for the catalog backups.

Each client (or group) has its own device, storage, pool and volumes. 
I've been naming things in a format such as 'storage.name' and 
'pool.name' to help reduce confusion and make it easier to spot config 
mistakes.

Backups are working, but I'm having trouble restoring files. It appears 
that bacula is attempting to restore files from the catalog I created to 
backup catalogs on our new config (which isn't being used yet, actually).

I've verified my steps in the console a dozen times, to no avail. I do a 
use to change the catalog to catalogs.desktop, type restore, choose 
select the most recent backup for a client, pick the client, mark 
files, then modify the job to look like this:

  JobName:RestoreFiles
  Bootstrap:  /var/bacula/dir.bigdawg.5.restore.bsr
  Where:  C:/restore/
  Replace:always
  FileSet:fileset.desktop.xpsp2
  Client: caughran
  Storage:storage.desktop
  When:   2006-11-17 15:58:28
  Catalog:catalog.desktop
  Priority:   10

But still, I am receiving an error message saying the following:

=-BEGIN-=
17-Nov 15:55 dir.bigdawg: Start Restore Job RestoreFiles.2006-11-17_15.55.21
*
17-Nov 15:55 storage.bigdawg: RestoreFiles.2006-11-17_15.55.21 Fatal 
error: acquire.c:109 Read open device device.catalogs 
(/home3/bacula/pools/catalogs) Volume desktop.01 failed: ERR=dev.c:450 
Could not open: /home3/bacula/pools/catalogs/desktop.01, ERR=No such 
file or directory
=-END-=

Now it should be noted that this isn't the path that bacula should be 
looking for volumes. The volumes for catalog.catalogs (the catalog for 
backups of the catalogs) are under /home3/bacula/pools/catalogs, and 
desktops are under /home3/bacula/pools/desktop. We don't have the path 
listed above anywhere in our configs at all.

Here's the relevant config sections (because of the size of our configs, 
we split out the groups into their own config files and use @includes, 
I've just put them together here for your sanity, and left out the 
nonrelevant sections). The client in this case is a WinXP machine (VSS 
enabled).

[[bacula-dir.conf]]

Client {
   Name = ourclient
   Address = the.client.fqdn
   Catalog = catalog.desktop
   Password = 
}

Job {
   Name = job.ourclient
   Client = ourclient
   JobDefs = jobdef.desktop.xpsp2
}

JobDefs {
   Name = jobdef.desktop.xpsp2
   Type = Backup
   Level = Full
   FileSet = fileset.desktop.xpsp2
   Schedule = schedule.desktop
   Storage = storage.desktop
   Messages = standard
   Pool = pool.desktop
   Priority = 10
   Enabled = yes
}

Storage {
   Name = storage.desktop
   Address = our.server.fqdn
   SDPort = 9103
   Password = xxx
   Device = device.desktop
   Media Type = File
}

Pool {
   Name =  pool.desktop
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 13 days
   Accept Any Volume = yes
   Maximum Volumes = 14
   Volume Use Duration = 23 hours# yes I know this could be bad, but
 # this is a disk-only server config
}

   # {{ fileset not included for reasons of space }}

[[bacula-sd.conf]]

Device {
   Name = device.desktop
   Media Type = File
   Archive Device = /home3/bacula/pools/desktop
   LabelMedia = yes
   Random Access = yes
   AutomaticMount = yes
   RemovableMedia = no
   AlwaysOpen = no
}


When I list the volumes and pools (and anything, really), everything 
looks the way I would expect it to. Could someone kindly take a look at 
the above and let me know if I'm missing something here?

Thanks in advance (and thank you, Kern, for Bacula. We're thankful for 
it, and wouldn't use a different solution if someone paid us to).

-mh.
-- 
Mark Hazen
Systems Support
The University of Georgia

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error when restoring with multiple catalogs

2006-11-17 Thread Kern Sibbald
If you are using multiple disk devices or storage daemons, on Bacula versions 
prior o 1.39.x you will need to give each one a unique MediaType so that 
Bacula can figure out what storage daemon/device to use for restores.
See the manual (MediaType) for more details.


On Friday 17 November 2006 22:42, Mark Hazen wrote:
 Greetings fellow Baculites:
 
 We're reconfiguring our bacula services. We back up several machines to 
 disk, and this time around to limit the size of the backups of a couple 
 of hosts by splitting into multiple catalogs to give each of these 
 servers their own databases (one, for example, is a mail server that 
 averages about 45GB spread over 550,000 files).
 
 We also have machines which have smaller backups that have been grouped 
 into catalogs all their own, such as one for our desktops. We also have 
 a separate catalog for the catalog backups.
 
 Each client (or group) has its own device, storage, pool and volumes. 
 I've been naming things in a format such as 'storage.name' and 
 'pool.name' to help reduce confusion and make it easier to spot config 
 mistakes.
 
 Backups are working, but I'm having trouble restoring files. It appears 
 that bacula is attempting to restore files from the catalog I created to 
 backup catalogs on our new config (which isn't being used yet, actually).
 
 I've verified my steps in the console a dozen times, to no avail. I do a 
 use to change the catalog to catalogs.desktop, type restore, choose 
 select the most recent backup for a client, pick the client, mark 
 files, then modify the job to look like this:
 
   JobName:RestoreFiles
   Bootstrap:  /var/bacula/dir.bigdawg.5.restore.bsr
   Where:  C:/restore/
   Replace:always
   FileSet:fileset.desktop.xpsp2
   Client: caughran
   Storage:storage.desktop
   When:   2006-11-17 15:58:28
   Catalog:catalog.desktop
   Priority:   10
 
 But still, I am receiving an error message saying the following:
 
 =-BEGIN-=
 17-Nov 15:55 dir.bigdawg: Start Restore Job RestoreFiles.2006-11-17_15.55.21
 *
 17-Nov 15:55 storage.bigdawg: RestoreFiles.2006-11-17_15.55.21 Fatal 
 error: acquire.c:109 Read open device device.catalogs 
 (/home3/bacula/pools/catalogs) Volume desktop.01 failed: ERR=dev.c:450 
 Could not open: /home3/bacula/pools/catalogs/desktop.01, ERR=No such 
 file or directory
 =-END-=
 
 Now it should be noted that this isn't the path that bacula should be 
 looking for volumes. The volumes for catalog.catalogs (the catalog for 
 backups of the catalogs) are under /home3/bacula/pools/catalogs, and 
 desktops are under /home3/bacula/pools/desktop. We don't have the path 
 listed above anywhere in our configs at all.
 
 Here's the relevant config sections (because of the size of our configs, 
 we split out the groups into their own config files and use @includes, 
 I've just put them together here for your sanity, and left out the 
 nonrelevant sections). The client in this case is a WinXP machine (VSS 
 enabled).
 
 [[bacula-dir.conf]]
 
 Client {
Name = ourclient
Address = the.client.fqdn
Catalog = catalog.desktop
Password = 
 }
 
 Job {
Name = job.ourclient
Client = ourclient
JobDefs = jobdef.desktop.xpsp2
 }
 
 JobDefs {
Name = jobdef.desktop.xpsp2
Type = Backup
Level = Full
FileSet = fileset.desktop.xpsp2
Schedule = schedule.desktop
Storage = storage.desktop
Messages = standard
Pool = pool.desktop
Priority = 10
Enabled = yes
 }
 
 Storage {
Name = storage.desktop
Address = our.server.fqdn
SDPort = 9103
Password = xxx
Device = device.desktop
Media Type = File
 }
 
 Pool {
Name =  pool.desktop
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 13 days
Accept Any Volume = yes
Maximum Volumes = 14
Volume Use Duration = 23 hours# yes I know this could be bad, but
  # this is a disk-only server config
 }
 
# {{ fileset not included for reasons of space }}
 
 [[bacula-sd.conf]]
 
 Device {
Name = device.desktop
Media Type = File
Archive Device = /home3/bacula/pools/desktop
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
 }
 
 
 When I list the volumes and pools (and anything, really), everything 
 looks the way I would expect it to. Could someone kindly take a look at 
 the above and let me know if I'm missing something here?
 
 Thanks in advance (and thank you, Kern, for Bacula. We're thankful for 
 it, and wouldn't use a different solution if someone paid us to).
 
 -mh.
 -- 
 Mark Hazen
 Systems Support
 The University of Georgia
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and 

Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread Kern Sibbald
On Friday 17 November 2006 19:02, George R. Kasica wrote:
 OK..its reading the right tape but now I'm seeing:
 
 17-Nov 11:58 eagle-fd: RestoreFiles.2006-11-17_11.53.43 Error: Win32
 data stream not supported on this Client.
 
 
 Is there an issue with just putting the Win-XP Client files back onto
 a Linux system so I can access them or will it still restore or do I
 need to load them to a Windows box?

See the Win32 chapter of the manual for a matrix of what can be restored 
where, or upgrade to BETA 1.39.28 where restores *should* work to any 
machine.

 
 Thanks,
 
 
 Most likely you have two storage daemons and did not specify different 
 MediaTypes.  If that is the case, solution: remove all but the desired 
 Storage Resource from your bacula-dir.conf file, or manually update the 
 database to have unique MediaTypes for each SD.
 
 On Friday 17 November 2006 18:24, George R.Kasica wrote:
  It is a bit subtle ...
  
  What is defined in the restore Job definition has little relevance.
  
  When the restore command asks you what client you want to restore 
 (supposing 
  you choose an option like #5 rather than specifying JobIds), you answer 
 with 
  the client where from which the data was backed up.  Then when you get 
to 
 the 
  yes/mod/no prompt after selecting all the files to restore, you use the 
 mod 
  option to change the client to where you want the data restored, and you 
 will 
  get just what you want.
  Kern:
  
  That's what I'm doing here and it's not behaving as expected.
  
  Loaded up the latest restore, selected ALL items with 
  
  mark *
  
  exit
  
  Changed Client to eagle-fd
  (I'm assume the system I want to put it back on)
   
  Changed Where to /home/user/bacula-restore
  (On the above system)
  
  ran the job and see the following:
  
  17-Nov 10:55 eagle-dir: Start Restore Job
  RestoreFiles.2006-11-17_10.55.35
  *
  17-Nov 10:55 eagle-sd: 3301 Issuing autochanger loaded drive 0
  command.
  17-Nov 10:55 eagle-sd: 3302 Autochanger loaded drive 0, result is
  Slot 5.
  17-Nov 10:55 eagle-sd: RestoreFiles.2006-11-17_10.55.35 Warning:
  acquire.c:146 Wrong Volume mounted on device DDS-3-Drive0
  (/dev/nst0): Wanted D1-SB-V0005 have D0-SB-V0005
  17-Nov 10:55 eagle-sd: Please mount Volume D1-SB-V0005 on Storage
  Device DDS-3-Drive0 (/dev/nst0) for Job
  RestoreFiles.2006-11-17_10.55.35
  
  There's my problem.its wanting the D1 volumes which are in Drive1
  to be mounted in Drive0 which is the drive normally used by another
  system (eagle-fd) why isn't is finding the backups on the drive they
  were created on??
  
  DDS-3-Drive0 is the drive that has the taped for the system I'm
  restoring TO
  
  DDS-3-Drive1 which holds D1-SB-V0005 is the drive for the system I'm
  trying to restore that has the backup tapes I need. 
  
  It seems by changing the client it somehow changes the drive it looks
  at.
  
  ===[George R. Kasica]===+1 262 677 0766
  President   +1 206 374 6482 FAX 
  Netwrx Consulting Inc.  Jackson, WI USA 
  http://www.netwrx1.com
  [EMAIL PROTECTED]
  ICQ #12862186
  
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
  
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Restore: Building directory tree takes forever

2006-11-17 Thread Gregory Brauer

Just to give another data point:

6 Jobs, 2,526,246 files
in just under 15 minutes

(about 95% of the files were in the first of the 6 jobs)

Dual Pentium 3 850Mhz
1G Ram
RedHat 9
Bacula 1.36.3
MySQL 3.23.58


We switched to MySQL because it was faster than PostgreSQL, though
it was just about 2x or 3x faster, not an order of magnitude.
Obviously, both databases would be much, much faster than sqlite.

Greg

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Restore: Building directory tree takes forever

2006-11-17 Thread Bill Moran
In response to Frank Mueller [EMAIL PROTECTED]:

 Hi there,
 
 ok, my machine here is not comparable to your hardware, but it still
 should work at least within minutes, not hours or even days I think.
 Some additional information:
 
 CPU: P4 1,7 GHZ
 RAM: 1GB
 ATA-Harddisks
 OS: FreeBSD
 DB: Mysql 4.0.27
 bacula: 1.38.11_1
 
 While building the directory tree, top tells me
 
 CPU states: 98.9% user, 0.0% nice, 1.1% system, 0.0% interrupt, 0.0% idle
 
 5463 bacula 3 118 0 14540K 12124K RUN 1:14 96.68% bacula-dir
 457 mysql 6  20 0 57580K 32720K kserel  5:15  0.29% mysqld
 
 Looks like the director is using all of CPU, not the database, while it
 only takes about 60MB of RAM.
 
 I already checked the db indexes and found em all in place...
 
 I have no idea what the hell's going wrong on that machine.

I'm no MySQL expert, but isn't there something that needs to go in
the my.cnf or whatever in order for MySQL to operate efficiently on
large data sets?

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Retention period trouble

2006-11-17 Thread jerume
Hi,

I have some diffuculty to understand the meaning of file, job and volume
retention... i have read the manual but there is some trouble points. In
fact i have one goal : backup 40 clients in a 1,1 To raid5.
I would like to conserve just one week of history for every client. So
could i put file, job and volume retention to 7 days ? if an employee is
not there during deux weeks, is its previous backup conserved ? should i
create one pool per client ?


regards,

Jerome


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] the DREADED autochanger won't load problem

2006-11-17 Thread Arno Lehmann
Hi,

On 11/17/2006 3:46 PM, Keith Gunderson wrote:
 
 Wow that was a helpful reply Arno.  Thank you.  Your btape advice will 
 be heeded.  Bacula is fantasic.

I'm glad it helped, you're welcome, enjoy learning, and right you are ;-)

 Could it be that I was only missing the update slots command?  (see below)

Yes, in my opinion. And as my advice was based upon my opinion and it 
helped that looks like that command was all you needed.

   Message: 1
   Date: Fri, 17 Nov 2006 00:50:27 +0100 (MET)
   From: Arno Lehmann [EMAIL PROTECTED]
   Subject: Re: [Bacula-users] the DREADED autochanger won't load problem
   To: bacula-users@lists.sourceforge.net
   Message-ID: [EMAIL PROTECTED]
   Content-Type: text/plain; charset=windows-1252; format=flowed
  
  
 I?ve been able to get through about 5 tapes of full backup by
manually loading and mounting the tapes.  That is, the jobs are working
fine, but the jobs are much bigger than the tapes? and bacula won?t
change the tapes itself.
  
   Ok, first thing to try: Use the query command and check which volumes
   Bacula thinks are in the changer (hopefully that query is in your
   version...).
   Then: Use the 'Update slots scan' command and see what it reports.
 
 When I ran query, it reported there were only 2 tapes in the changer 
 instead of the 11 newly labeled tapes.
 
 I ran update slots without problem and now query reports the tapes 
 correctly.
 
 I started a job and bacula went off and loaded tapes and got things 
 moving.  Success!

Good.

  
Bacula: 1.38.5  (run as root)
RHEL4
We have a 11 slot LTO3 changer with no barcodes on the tapes.
I?ve manually labeled all of the tapes in bconsole (via mtx /dev/sg8
load 1,  then label.)
  
   How exactly did your label command look?
  
My changer.volumes
  
   You mean you've got Bacula set up with the fake autochanger feature? I
   would NOT recommend to use that.
 
 Does that mean you recommend using barcoded labels? Or is there more too 
 the fake autochanger setup that
 I'm using? 

Well, the fake barcodes solution - fake autochanger was definitely 
not what I wanted to say - is kind of error-prone because you have to 
manually keep it up to date.

Doing things automatically is much better, I think. Especially if you 
can be sure things are done automatically right, as opposed to manually 
wrong ;-)

In my office, where I don't have barcode capability, I use 'update slots 
scan', which loads each tape, reads the label and updates the catalog. 
This does take longer, strains the tapes, but I can't break anything.

If your changer.volumes is not correct, Bacula won't overwrite any tapes 
it should not overwrite, but it will need manual intervention. Also, 
keeping the changer.volumes up to date also needs to be done manually.

Choose your poison...

  ...
I think we have a stock mtx-changer:
  
   ... then it's time to fix it, erm, to make it better suit your needs :-)
  
   ...
   especially here:
# Increase the sleep time if you have a slow device
# or remove the sleep and add the following:
# wait_for_drive $device
   ... I'd usually recommend to use the wait_for_drive function if it works
   on your system.
 
 How will I know if the wait_for_drive function works?  By uncommenting 
 it and testing it with btape?

No, by uncommenting it and testing it from the shell. At least that's 
what I prefer.

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job fails if data size reaches more than 2,5GB

2006-11-17 Thread Arno Lehmann
Hi,

On 11/16/2006 7:30 PM, Vitaliy Matuschenko wrote:
 Hi all.
 I'm trying to make a big backup (almost 4 gigs in less than 100 files) 
 over the Internet. Both storage and file daemons are running on windows 
 2003 servers, director is running on Fedora Core 4. ( 

You surely noticed that Bacula-sd under windows is a beta version and 
not considered ready for production use?

 bacula-beta-1.39.28; MySQL - 4.1.11)

For that reason I'd recommend to report this in the bacula-devel list. 
It's much more likely to find attention from the developer there.

I'm cc'ing there...

 The job starts well, but when the size of transmitted data from fd to sd 
 reach i say more than 2,5G job cancels with following error:

Start running the SD and FD with debug output. At least under linux/unix 
this is what I'd suggest...

 16-Nov 13:54 fc3-ua-dir: Start Backup JobId 24, Job= 
 win1.2006-11-16_13.54.40
 16-Nov 13:54 fc3-ua-dir: Recycled volume w1_us_full_0002
 16-Nov 16:57 w2-us-sd: Labeled new Volume w1_us_full_0002 on device 
 w2_us (c:\backup).
 16-Nov 16:57 w2-us-sd: Wrote label to prelabeled Volume 
 w1_us_full_0002 on device w2_us (c:\backup)
 
 Everything seems ok until...
 
 16-Nov 18:44 w1-us-fd: win1.2006-11-16_13.54.40 Fatal error: 
 ../../filed/backup.c:845 Network send error to SD. ERR=Input/output error
 16-Nov 18:44 w1-us-fd: win1.2006-11-16_13.54.40 Error: 
 ../../lib/bnet.c:393 Write error sending len to Storage 
 daemon:xxx.xxx.xxx.xxx:9103: ERR=Input/output error
 16-Nov 17:43 fc3-ua-dir: win1.2006-11-16_13.54.40 Fatal error: Network 
 error with FD during Backup: ERR=Connection reset by peer
 16-Nov 17:43 fc3-ua-dir: win1.2006-11-16_13.54.40 Fatal error: No Job 
 status returned from FD.
 16-Nov 17:43 fc3-ua-dir: win1.2006-11-16_13.54.40 Error: Bacula 1.39.24 
 (02Oct06): 16-Nov-2006 17:43:03
   JobId:  24
   Job:win1.2006-11-16_13.54.40
   Backup Level:   Full
   Client: w1-us-fd Linux,Cross-compile,Win32
   FileSet:w1_us_set 2006-10-12 15:05:53
   Pool:   w2_us_pool (From Job resource)
   Storage:w2-us-sd (From Job resource)
   Scheduled time: 16-Nov-2006 13:54:39
   Start time: 16-Nov-2006 13:54:57
   End time:   16-Nov-2006 17:43:03
   Elapsed time:   3 hours 48 mins 6 secs
   Priority:   10
   FD Files Written:   0
   SD Files Written:   0
   FD Bytes Written:   0 (0 B)
   SD Bytes Written:   0 (0 B)
   Rate:   0.0 KB/s
   Software Compression:   None
   Volume name(s): w1_us_full_0002
   Volume Session Id:  2
   Volume Session Time:1163688842
   Last Volume Bytes:  2,999,808,064 (2.999 GB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  Error
   SD termination status:  Error
   Termination:*** Backup Error ***
 
 
 In this case total amount of transmitted data was 3,561G but none was 
 written and this is regular error unfortunately. I've encountered this 
 stuff while using both 1.39.24 and 1.39.26 versions. There's no pattern 
 for backup size or total amount of files, because every times it comes 
 down with different size.
 Theres enough space on SD server, and there are no limitations on 
 maximum file size. Both servers are placed at same ISP but on different 
 colo.
 Small backups, 1Gb 'r done perfect.
 
 Can anyone help me with this stuff?
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Restore: Building directory tree takes forever

2006-11-17 Thread Frank Mueller
As mentioned in the manual
http://www.bacula.org/dev-manual/Catalog_Maintenance.html#SECTION000237000
I tried recreating the MySQL indizes, but it did not change a thing.
I think, it's not a database problem, coz MySQL only takes a 2% CPU load
while bacula-dir is freaking out somewhere around 98 - 100%.
I have no idea what else to try.
If you have any idea, plz let me know.

Thx again,

Frank

Bill Moran schrieb:
 In response to Frank Mueller [EMAIL PROTECTED]:
 
 Hi there,

 ok, my machine here is not comparable to your hardware, but it still
 should work at least within minutes, not hours or even days I think.
 Some additional information:

 CPU: P4 1,7 GHZ
 RAM: 1GB
 ATA-Harddisks
 OS: FreeBSD
 DB: Mysql 4.0.27
 bacula: 1.38.11_1

 While building the directory tree, top tells me

 CPU states: 98.9% user, 0.0% nice, 1.1% system, 0.0% interrupt, 0.0% idle

 5463 bacula 3 118 0 14540K 12124K RUN 1:14 96.68% bacula-dir
 457 mysql 6  20 0 57580K 32720K kserel  5:15  0.29% mysqld

 Looks like the director is using all of CPU, not the database, while it
 only takes about 60MB of RAM.

 I already checked the db indexes and found em all in place...

 I have no idea what the hell's going wrong on that machine.
 
 I'm no MySQL expert, but isn't there something that needs to go in
 the my.cnf or whatever in order for MySQL to operate efficiently on
 large data sets?
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users