[Bacula-users] bscan on postgresql database
2010-08-11 10:39:11
Hello,
is it possible to connect bscan to a postgresql database? I try to scan my tapes
but bscan could not find the bacuala.db which says to me, that bscan do not try
to connect to the postgresql db I given in the command line:
root@backup:/etc/bacula# bscan -vv -d 99 -c bacula-sd.conf -n bacula -u bacula
-P Mrdu9E4rlMO4lQ -h localhost:5433 -s -m -V
DLT-IV-034\|DLT-IV-035\|DLT-IV-036\|DLT-IV-037\|DLT-IV-038\|DLT-IV-039\|DLT-IV-040
/dev/nst2m
bscan: stored_conf.c:675-0 Inserting director res: backup-mon
bscan: stored_conf.c:675-0 Inserting device res: SDLT-1
bscan: stored_conf.c:675-0 Inserting device res: DEC TZ89
bscan: stored_conf.c:675-0 Inserting device res: QUANTUM DLT8000
bscan: butil.c:282 Using device: "/dev/nst2m" for reading.
bscan: acquire.c:107-0 MediaType dcr= dev=DLT IV
11-Aug 16:28 bscan JobId 0: Invalid slot=0 defined in catalog for Volume
"DLT-IV-034" on "QUANTUM DLT8000" (/dev/nst2m). Manual load my be required.
11-Aug 16:28 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 1" command.
11-Aug 16:28 bscan JobId 0: 3302 Autochanger "loaded? drive 1", result is Slot
7.
bscan: acquire.c:209-0 opened dev "QUANTUM DLT8000" (/dev/nst2m) OK
bscan: acquire.c:212-0 calling read-vol-label
bscan: reserve.c:313-0 jid=0 reserve_volume DLT-IV-034
bscan: reserve.c:238-0 jid=0 new Vol=DLT-IV-034 at 80da140 dev="QUANTUM
DLT8000" (/dev/nst2m)
bscan: reserve.c:181-0 jid=0 List from end new volume: DLT-IV-034 at 80da140 on
device "QUANTUM DLT8000" (/dev/nst2m)
Volume Label:
Id : Bacula 1.0 immortal
VerNo : 11
VolName : DLT-IV-034
PrevVolName :
VolFile : 0
LabelType : VOL_LABEL
LabelSize : 162
PoolName : Scratch
MediaType : DLT IV
PoolType : Backup
HostName : backup
Date label written: 25-Mai-2010 23:58
11-Aug 16:28 bscan JobId 0: Ready to read from volume "DLT-IV-034" on device
"QUANTUM DLT8000" (/dev/nst2m).
11-Aug 16:28 bscan: ERROR TERMINATION at bscan.c:284
sqlite.c:177 Database /var/lib/bacula/bacula.db does not exist, please create
it.
I modified the -h -P -u and -n differently but nothing helps. Any idea?
I know the release is allready deprecated, but at the moment it works and I
need some time
to spend for an upgrade which I not have at the moment.
Cheers..
Pierre
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] bscan on postgresql database,
Pierre Bernhardt <=
|
|
|