Re: [Bacula-users] Base = ?

2011-01-11 Thread Paulo Martinez
Am 11.01.2011 um 18:46 schrieb hymie!:
>
> I should have included this other job definition for reference.  It
> uses "Level = Base" which I also cannot find in the documentation.
>
> Job {
>  Name = "db01-base"
>  Type = Backup
>  Messages = Standard
>  Level = Base
>  FileSet="db01-Slash"
>  Storage = File
>  Client = db01-fd
>  Priority = 10
> }
>
> Job {
>  Name = "db01-full"
>  Base = db01-full, db01-base
>  JobDefs = "StandardJob"
>  Client = db01-fd
>  FileSet = "Slash"
> }
>
> Can somebody tell me where to find the documentation and/or what
> this option does?


a quick search gives me:

http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html#SECTION0053

PM



--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Make bacula reacycle and ask for several tapes in autochanger

2011-01-11 Thread Juanra
2011/1/11 Guy 

> On 11 Jan 2011, at 13:12, Juanra wrote:
>
> > Hello all.
> >
> > I have an TS3100 autochanger and I use barcodes with bacula to label
> diferent tapes.
> >
> > The problem is when bacula starts a backup it only ask for one tape, I
> modify operator command to stimate size of backup but I want bacula to
> recycle all tapes that can be recycled.
> >
> > Any ideas
> >
> --
> > Gaining the trust of online customers is vital for the success of any
> company
> > that requires sensitive data to be transmitted over the Web.   Learn how
> to
> > best implement a security strategy that keeps consumers' information
> secure
> > and instills the confidence they need to proceed with transactions.
> > http://p.sf.net/sfu/oracle-sfdevnl___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> Hi,
>
> Can you clarify this.. do you mean that you have two tape drives and it
> only ever uses one?
>
> or that your backup is small enough to fit on one tape and it keeps
> recycling the same tape?
>
> Can you provide some of your configuration data? eg pool data, Storage
> Configuration, What are your retention times set to?
>
> Cheers,
> ---Guy


Our configuration is a lite confusing. We have a multichanger and I want
make bacula ask for multiple tapes. Now bacula only recycle one tape when it
is need and when it is full ask another tape, needing another operator
intervention. I want to make bacula recycle all tapes,  keeping retention
periods, and ask for all of these in one mount request.

Below is part of my bacula-dir.conf with relevant information and the script
that is launched in mail command:

# Definition of file storage device
Storage {
  Name = File
# Do not use "localhost" here
  Address = 172.26.7.201# N.B. Use a fully qualified name
here
  SDPort = 9103
  Password = "9S+AtfMwfjjxuGZA7LJbpXKqk0STWfT4mkYwBxUZOD7O"
  Device = FileStorage
  Media Type = LTO-3
  Maximum Concurrent Jobs = 20
}

Storage {
  Name = TS3100drv0
#  #Do not use "localhost" here
  Address =  172.26.7.201   # N.B. Use a fully qualified name
here
  SDPort = 9103
  Password = "9S+AtfMwfjjxuGZA7LJbpXKqk0STWfT4mkYwBxUZOD7O"#
password for Storage daemon
  Device = TS3100drv0 # must be same as Device in Storage
daemon
  Media Type = LTO-3  # must be same as MediaType in Storage
daemon
  Autochanger = yes   # enable for autochanger device
  Maximum Concurrent Jobs = 20
}

Messages {
  Name = Standard
#
  mailcommand = "/usr/bin/bsmtp -h 172.26.7.13 -f \"
cop...@bacula.adimposp.eu\" -s \"Bacula: %t %e of %c %l\" %r"
#  operatorcommand = "/usr/bin/bsmtp -h 172.26.7.13 -f \"
cop...@bacula.adimposp.eu\" -s \"Bacula: Atencion requerida para  %j\" %r"
#   mailcommand = "/bin/bash -c '(cat;baculadone -n)|/usr/sbin/bsmtp -h
localhost -f \"Bacula Backup %d \<%cop...@bacula.adimposp.eu\>\" -s
\"Bacula: %t %e of %c %l\" %r '"
operatorcommand = "bash -c \"(cat;/etc/bacula/scripts/asktapes.sh %t %n)|
/usr/bin/bsmtp -h 172.26.7.13 -f 'cop...@bacula.adimposp.eu' -s 'Bacula:
Atencion requerida para  %j' %r\" "
# operatorcommand = "/etc/bacula/scripts/asktapes.sh %t %n | /usr/bin/bsmtp
-h 172.26.7.13 -f \"cop...@bacula.adimposp.eu\" -s \"Bacula: Atencion
requerida para  %j\" %r"
  mail = adminbac...@adimpo.eu = all, !skipped
  operator = adminbac...@adimpo.eu = mount
  console = all, !skipped, !saved
 append = "/var/lib/bacula/log" = all, !skipped
}

Pool {
  Name = LTO
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 15 days # one year
  Volume Use Duration = 22 hours
  #Accept Any Volume = yes
  Recycle Oldest Volume = yes
  Recycle Pool = Scratch
  Scratch Pool = Scratch
  Cleaning Prefix = "CLN"
  Storage = TS3100drv0
}

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 2 days # one year
  Volume Use Duration = 22 hours
  #Accept Any Volume = yes
  Recycle Oldest Volume = yes
  #Maximum Volume Jobs = 4#numero de maquinas a copiar. Para que
se pasen los datos a cinta.
  Maximum Volumes = 5 #Para limitar el tamano del disco.
  #Maximum Volume Bytes = 131941395333
  LabelFormat = "Vol"
  Storage = File
  ActionOnPurge=Truncate
  Next Pool = LTO
  #Recycle Pool = Scratch
  #Scratch Pool = Scratch
  #Cleaning Prefix = "CLN"
  #Label Format =
"Full-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}"
}


# Default pool definition
Pool {
  Name = Anual
  Pool Type = Backup
  Recycle = yes

Re: [Bacula-users] Base = ?

2011-01-11 Thread hymie!

I should have included this other job definition for reference.  It
uses "Level = Base" which I also cannot find in the documentation.

Job {
  Name = "db01-base"
  Type = Backup
  Messages = Standard
  Level = Base
  FileSet="db01-Slash"
  Storage = File
  Client = db01-fd
  Priority = 10
}

Job {
  Name = "db01-full"
  Base = db01-full, db01-base
  JobDefs = "StandardJob"
  Client = db01-fd
  FileSet = "Slash"
}

Can somebody tell me where to find the documentation and/or what
this option does?

Thanks.

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director crash- again with traceback

2011-01-11 Thread jerry lowry

I really hate when I do that!!!

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f8362bfd710 (LWP 9002)]
[New Thread 0x7f8363fff710 (LWP 3111)]
[New Thread 0x7f8368c49710 (LWP 3110)]
0x003377a0e91d in nanosleep () from /lib64/libpthread.so.0
$1 = '\000'
$2 = 0x1fe2068 "bacula-dir"
$3 = 0x1fe20a8 "/usr/bacula/bin/bacula-dir"
$4 = 0x7f834c004328 "MySQL"
$5 = 0x7f836eadbd9e "5.0.1 (24 February 2010)"
$6 = 0x7f836eadbdb7 "x86_64-unknown-linux-gnu"
$7 = 0x7f836eadbdd0 "redhat"
$8 = 0x7f836eadba7c ""
$9 = "distress", '\000'
#0  0x003377a0e91d in nanosleep () from /lib64/libpthread.so.0
#1  0x7f836eaae6f7 in bmicrosleep (sec=60, usec=0) at bsys.c:61
#2  0x0042e1d5 in wait_for_next_job (
one_shot_job_to_run=) at scheduler.c:131
#3  0x0040d93d in main (argc=,
argv=) at dird.c:338

Thread 4 (Thread 0x7f8368c49710 (LWP 3110)):
#0  0x0033772d7393 in select () from /lib64/libc.so.6
#1  0x7f836eab0ad4 in bnet_thread_server (addrs=,
max_clients=, client_wq=,
handle_client_request=) at bnet_server.c:161
#2  0x004468fc in connect_thread (arg=0x1fe3ee8) at ua_server.c:82
#3  0x003377a06a3a in start_thread () from /lib64/libpthread.so.0
#4  0x0033772de62d in clone () from /lib64/libc.so.6
#5  0x in ?? ()

Thread 3 (Thread 0x7f8363fff710 (LWP 3111)):
#0  0x003377a0b3b9 inpthread_cond_timedwait@@GLIBC_2.3.2  ()
   from /lib64/libpthread.so.0
#1  0x7f836ead402c in watchdog_thread (arg=)
at watchdog.c:308
#2  0x003377a06a3a in start_thread () from /lib64/libpthread.so.0
#3  0x0033772de62d in clone () from /lib64/libc.so.6
#4  0x in ?? ()

Thread 2 (Thread 0x7f8362bfd710 (LWP 9002)):
#0  0x003377a0ec8d in waitpid () from /lib64/libpthread.so.0
#1  0x7f836eacb7ad in signal_handler (sig=11) at signal.c:229
#2
#3  0x003377a0c280 in pthread_kill () from /lib64/libpthread.so.0
#4  0x00420eba in cancel_storage_daemon_job (jcr=0x7f834c01c2f8)
at job.c:515
#5  0x00410b50 in wait_for_job_termination (jcr=0x7f834c01c2f8,
timeout=) at backup.c:538
#6  0x004116f0 in do_backup (jcr=0x7f834c01c2f8) at backup.c:456
#7  0x00421fd4 in job_thread (arg=0x7f834c01c2f8) at job.c:314
#8  0x00423624 in jobq_server (arg=0x673b40) at jobq.c:450
#9  0x003377a06a3a in start_thread () from /lib64/libpthread.so.0
#10 0x0033772de62d in clone () from /lib64/libc.so.6
#11 0x in ?? ()

Thread 1 (Thread 0x7f836ea7b7e0 (LWP 3106)):
#0  0x003377a0e91d in nanosleep () from /lib64/libpthread.so.0
#1  0x7f836eaae6f7 in bmicrosleep (sec=60, usec=0) at bsys.c:61
#2  0x0042e1d5 in wait_for_next_job (
one_shot_job_to_run=) at scheduler.c:131
#3  0x0040d93d in main (argc=,
argv=) at dird.c:338
#0  0x003377a0e91d in nanosleep () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x7f836eaae6f7 in bmicrosleep (sec=60, usec=0) at bsys.c:61
61 stat = nanosleep(&timeout, NULL);
timeout = {tv_sec = 60, tv_nsec = 0}
tv = {tv_sec = 90194313216, tv_usec = 140202474247679}
tz = {tz_minuteswest = 372, tz_dsttime = 0}
stat =
#2  0x0042e1d5 in wait_for_next_job (
one_shot_job_to_run=) at scheduler.c:131
131   bmicrosleep(next_check_secs, 0); /* recheck once per minute */
jcr =
job =
run =
now =
prev =
first = false
next_job =
#3  0x0040d93d in main (argc=,
argv=) at dird.c:338
338while ( (jcr = wait_for_next_job(runjob)) ) {
jcr =
test_config = false
ch =
no_signals = false
uid = 0x0
gid = 0x0
mode =
#0  0x in ?? ()
No symbol table info available.
#0  0x in ?? ()
No symbol table info available.
#0  0x in ?? ()
No symbol table info available.
#0  0x in ?? ()
No symbol table info available.



 Original Message 
Subject:Director crash
Date:   Tue, 11 Jan 2011 09:11:17 -0800
From:   jerry lowry 
To: bacula-users@lists.sourceforge.net



Hi list,

I came in this morning and found that my director had died last night 
after doing two of the backups.  The traceback follows at the end.

This is the scenario:

I noticed yesterday that the only two jobs that were scheduled to 
be performed last night were a monthly backup and the catalog backup.  
Given that I did not have the time to research why the other 5 backups 
were not scheduled I started BAT and selected the jobs to run at the 
appropriate times they normally run each night ( supposed to anyway ).  
So, when I looked at the director status I saw the two that were 
scheduled and 5 jobs that were waiting for the selected time to run.


The two jobs that were scheduled ran without any errors.  The director 
crashed when running the first job that I selected to run from BAT.  
From BAT
I selected the JOBS tab and then selected the job which I wanted to 
run.  I modified only the "when" ( or start time ) by highlighting the 

[Bacula-users] Director crash

2011-01-11 Thread jerry lowry

Hi list,

I came in this morning and found that my director had died last night 
after doing two of the backups.  The traceback follows at the end.

This is the scenario:

I noticed yesterday that the only two jobs that were scheduled to 
be performed last night were a monthly backup and the catalog backup.  
Given that I did not have the time to research why the other 5 backups 
were not scheduled I started BAT and selected the jobs to run at the 
appropriate times they normally run each night ( supposed to anyway ).  
So, when I looked at the director status I saw the two that were 
scheduled and 5 jobs that were waiting for the selected time to run.


The two jobs that were scheduled ran without any errors.  The director 
crashed when running the first job that I selected to run from BAT.  
From BAT
I selected the JOBS tab and then selected the job which I wanted to 
run.  I modified only the "when" ( or start time ) by highlighting the 
hour and minute
and inserting the time I wanted the job to run.  Did this for each of 
the jobs that did not get scheduled.


Made sure they were all showing up in the DIRECTOR tab and went on home.

Restarted bacula this morning and all the jobs were scheduled as normal.

Any clues or ideas as to the problem would be great.

OS:  Fedora 12 ( 2.6.32.11-99.fc12)
MySQL: 5.1.45 ( source distribution )
Bacula: 5.0.1

--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Base = ?

2011-01-11 Thread Javier Camilo Forero Rodríguez
Hi

This guide is awesomehttp://crysol.org/node/400

Regards




On Tue, Jan 11, 2011 at 12:19 PM, hymie! wrote:

>
> Greetings.
>
> I'm taking over the bacula administration from an ex-co-worker.
>
> He has some jobs configured with the "Base" option, such as:
>
> Job {
>  Name = "db01-full"
>  Base = db01-full, db01-base
>  JobDefs = "StandardJob"
>  Client = db01-fd
>  FileSet = "Slash"
> }
>
> I cannot find any reference in the "Configuring the Director" manual
> http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html
> to this option.  Am I looking in the wrong place?
>
> The closest thing I can find is
> basejob=options
>The options letters specified are used when running a Backup
>Level=Full with BaseJobs. The options letters are the same than in
>the verify= option below.
>
> But this is the only reference to BaseJobs that I can find, and the
> options don't match.
>
> Can somebody tell me where to find the documentation and/or what
> this option does?
>
> Thanks.
>
> --hymie!
> http://lactose.homelinux.net/~hymie
> hy...@lactose.homelinux.net
>
> ---
>
>
> --
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
Javier Camilo Forero Rodriguez
Information Technologies Senior
Mobile   3133007356
Mobile   3182855399
Skypejavier_n26
Msn  javier_...@hotmail.com
Linux user number #494014
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Base = ?

2011-01-11 Thread hymie!

Greetings.

I'm taking over the bacula administration from an ex-co-worker.

He has some jobs configured with the "Base" option, such as:

Job {
  Name = "db01-full"
  Base = db01-full, db01-base
  JobDefs = "StandardJob"
  Client = db01-fd
  FileSet = "Slash"
}

I cannot find any reference in the "Configuring the Director" manual
http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html
to this option.  Am I looking in the wrong place?

The closest thing I can find is
basejob=options
The options letters specified are used when running a Backup
Level=Full with BaseJobs. The options letters are the same than in
the verify= option below.

But this is the only reference to BaseJobs that I can find, and the
options don't match.

Can somebody tell me where to find the documentation and/or what
this option does?

Thanks.

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net
---

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Behavior with symlinks

2011-01-11 Thread Daniel Bareiro
Hi all!

I'm using the following generic FileSet for various clients. The server
has Bacula 5.0.2 and the clients have Bacula 2.4.4 (Debian repositories)


# DGB - 20100729
FileSet {
  Name = "StandardBackup"
  Include {
Options {
  signature = SHA1
  compression=GZIP
}
File = /etc
File = "\\|bash -c \"find /space/ -name backup -o -name log\""
  }
}


I wonder if there is any option that can be used in a FileSet on which I
can set the way to treat symlinks when they are found. My idea is to
have something like the --copy-links option of rsync that can be used
with Bacula, although I do not know if this should be supported by both
the server and the clients (so I put the versions).

Since not all clients have symbolic links in these directories, would be
ideal to use a option with this generic FileSet.


Thanks for your reply.

Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598


signature.asc
Description: Digital signature
--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula configration for FC LTO-5 tape drive, centos 5.5 rpm's

2011-01-11 Thread Arunav Mandal
Hi,

I have installed the bacula rpm sources and have build the rpm's using
"rpmbuild -bb --define "build_x86_64 1" --define build_mysql=1 --define
"build_centos5 1" --define "build_bat 1" --define "build_rescue 1"
bacula.spec" I see that it won't create all the packages.

Can you let me know how do you compile rpm packages?

Arunav.

-Original Message-
From: Juergen Gotteswinter [mailto:j...@internetx.de] 
Sent: Tuesday, January 04, 2011 1:42 PM
To: Arunav Mandal
Cc: a...@mssl.ucl.ac.uk; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Bacula configration for FC LTO-5 tape drive

we created bacula rpms for centos that we use in our hosting company. 
you can get them from

http://download.obs.j0ke.net//server:/backup/CentOS_5/



Am 04.01.11 13:10, schrieb Arunav Mandal:
>
> Thx for your reply. I did used Centos 5.5 for our old SDLT tape loaders
but then there is no bacula repo for Redhat/Centos and I have to compile
which I want to avoid. Since you use Redhat is there any bacula RPM's for
Redhat? Do you use stinit.def for your tape drive?
>
> Arunav.
>
>
>
>> Date: Tue, 4 Jan 2011 10:48:17 +
>> From: a...@mssl.ucl.ac.uk
>> To: di...@hotmail.com
>> CC: bacula-users@lists.sourceforge.net
>> Subject: Re: [Bacula-users] Bacula configration for FC LTO-5 tape drive
>>
>> Arunav Mandal wrote:
>>> I have a Tandberg T40+ Tapeloader with HP LTO-5 tape drive connected to
>>> "QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA" on a
Dell
>>> 2950 running Ubuntu Server 10.10. The kernel version is
2.6.35-24-server.
>>> The autoloader device number changes sometimes with reboot. When I
installed
>>> the server it was /dev/sg4 and now it is /dev/sg2. The tape drive is at
>>> /dev/st0 and /dev/nst0.
>>
>> the SG number depends entirely on the order things are picked up in. So
>> does ST/NST for that matter. The trick there is to use a script to link
>> each detecetd ST to a WWID entry and use that in bacula-sd.conf
>>
>> Bacula does use ST - more specifically it locks to whatever you have
>> defined in bacula-sd - which means if you put an incorrect entry it will
>> use it (GIGO)
>>
>>> My question is how can I fix the problem of device number changing with
>>> reboots?
>>
>> Like this (from my configuration on RHEL5.5):
>>
>> bacula-sd.conf
>>
>> [snip]
>> Device {
>> Name = MSSLY8-0
>> Drive Index = 0
>> Device Type = Tape
>> Media Type = LTO5
>> AutoChanger = yes;
>> Changer Device = /etc/bacula/DEVICES/MSSLY8-changer
>> Archive Device = /etc/bacula/DEVICES/MSSLY8-0
>> AutomaticMount = yes; # when device opened, read it
>> AlwaysOpen = yes;
>> LabelMedia = yes; # lets Bacula label unlabeled media
>> RemovableMedia = yes;
>> RandomAccess = no;
>> Volume Poll Interval = 7200
>> Alert Command = "sh -c '/usr/local/bin/gettapeinfo.sh
>> /etc/bacula/DEVICES/MSSLY8-0'"
>> Spool Directory = /var/bacula/spool/MSSLY8-0
>> Maximum File Size = 10GB
>> Maximum Network Buffer Size = 65536
>> Maximum Spool Size = 250G
>> Maximum Job Spool Size = 50G
>> }
>> [snip]
>>
>> The /etc/bacula/DEVICES entries are there simply for readability and are
>> symlinks to the WWIDs of the tapes:
>>
>> # ls -l /etc/bacula/DEVICES
>> total 0
>> lrwxrwxrwx 1 root root 42 Nov 18 14:45 MSSLY8-0 ->
>> /dev/tape/by-id/scsi-3500110a001313fee-nst
>> lrwxrwxrwx 1 root root 42 Nov 18 14:45 MSSLY8-1 ->
>> /dev/tape/by-id/scsi-3500110a0013141aa-nst
>> lrwxrwxrwx 1 root root 42 Nov 18 14:45 MSSLY8-2 ->
>> /dev/tape/by-id/scsi-3500110a001314b4a-nst
>> lrwxrwxrwx 1 root root 42 Nov 18 14:42 MSSLY8-3 ->
>> /dev/tape/by-id/scsi-3500110a001314b12-nst
>> lrwxrwxrwx 1 root root 42 Nov 18 14:50 MSSLY8-4 ->
>> /dev/tape/by-id/scsi-3500110a0013144e2-nst
>> lrwxrwxrwx 1 root root 42 Nov 18 15:00 MSSLY8-5 ->
>> /dev/tape/by-id/scsi-3500110a0013132b6-nst
>> lrwxrwxrwx 1 root root 42 Nov 18 15:04 MSSLY8-6 ->
>> /dev/tape/by-id/scsi-3500110a00131426e-nst
>> lrwxrwxrwx 1 root root 38 Oct 29 20:47 MSSLY8-changer ->
>> /dev/tape/by-id/scsi-200900d071022
>>
>> # ls -l /dev/tape/by-id/
>> total 0
>> lrwxrwxrwx 1 root root 10 Dec 23 19:15 scsi-200900d071022 ->
../../sg46
>> lrwxrwxrwx 1 root root 10 Dec 23 19:15 scsi-3500110a0013132b6-nst ->
>> ../../nst9
>> lrwxrwxrwx 1 root root 10 Dec 23 19:14 scsi-3500110a001313fee-nst ->
>> ../../nst4
>> lrwxrwxrwx 1 root root 11 Dec 23 19:15 scsi-3500110a0013141aa-nst ->
>> ../../nst11
>> lrwxrwxrwx 1 root root 10 Dec 23 19:14 scsi-3500110a00131426e-nst ->
>> ../../nst6
>> lrwxrwxrwx 1 root root 10 Dec 23 19:14 scsi-3500110a0013144e2-nst ->
>> ../../nst3
>> lrwxrwxrwx 1 root root 11 Dec 23 19:15 scsi-3500110a001314b12-nst ->
>> ../../nst10
>> lrwxrwxrwx 1 root root 11 Dec 23 19:16 scsi-3500110a001314b4a-nst ->
>> ../../nst13
>>
>> Note that only the SG of trhe changer is listed above. That's where
>> /usr/local/bin/gettapeinfo.sh comes in to find the sg of individual tape
>> drives for reporting purposes:
>>
>> ===
>> #!/bin/bash
>> export INDIRECT=`ls -l $1 | cut -f2 -d\>`
>> export DEVICE=`ls -l

Re: [Bacula-users] Make bacula reacycle and ask for several tapes in autochanger

2011-01-11 Thread Guy
On 11 Jan 2011, at 13:12, Juanra wrote:

> Hello all.
> 
> I have an TS3100 autochanger and I use barcodes with bacula to label diferent 
> tapes.
> 
> The problem is when bacula starts a backup it only ask for one tape, I modify 
> operator command to stimate size of backup but I want bacula to recycle all 
> tapes that can be recycled.
> 
> Any ideas 
> --
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to 
> best implement a security strategy that keeps consumers' information secure 
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


Hi,

Can you clarify this.. do you mean that you have two tape drives and it only 
ever uses one? 

or that your backup is small enough to fit on one tape and it keeps recycling 
the same tape?

Can you provide some of your configuration data? eg pool data, Storage 
Configuration, What are your retention times set to?

Cheers,
---Guy
--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Make bacula reacycle and ask for several tapes in autochanger

2011-01-11 Thread Juanra
Hello all.

I have an TS3100 autochanger and I use barcodes with bacula to label
diferent tapes.

The problem is when bacula starts a backup it only ask for one tape, I
modify operator command to stimate size of backup but I want bacula to
recycle all tapes that can be recycled.

Any ideas
--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users