Hello


I need little help to Catalog one old Tape that was from Bacula 5.

Now running with new infrastructure and Bacula 9.4.2, Debian 10.



today i was in truble, then i need to catalogise this Tape, to restore any
data.



./bscan -V A00079L6 -v -D CarCatalog -n bacula -u bacula -P **********  -s
-m -c /etc/bacula/bacula-sd.conf /dev/nst0

or this

./bscan -V A00079L6 -v -s -m -c /etc/bacula/bacula-sd.conf /dev/nst0



both version will nearly output the same.... iam not shure if this setup was
with "bacula-common-pgsql" or "postgresql"



bscan: butil.c:292-0 Using device: "/dev/nst0" for reading.

13-Apr 19:40 bscan JobId 0: No slot defined in catalog (slot=0) for Volume
"A00079L6" on "LTO-6" (/dev/nst0).

13-Apr 19:40 bscan JobId 0: Cartridge change or "update slots" may be
required.

13-Apr 19:40 bscan JobId 0: Ready to read from volume "A00079L6" on Tape
device "LTO-6" (/dev/nst0).

bscan: bscan.c:312-0 Could not open Catalog "NULL", database "bacula".



13-Apr 19:40 bscan JobId 0: Fatal error: postgresql.c:332 Unable to connect
to PostgreSQL server. Database=bacula User=bacula

Possible causes: SQL server not running; password incorrect; max_connections
exceeded.



bscan: bscan.c:315-0 postgresql.c:332 Unable to connect to PostgreSQL
server. Database=bacula User=bacula

Possible causes: SQL server not running; password incorrect; max_connections
exceeded.



13-Apr 19:40 bscan ERROR TERMINATION Could not open Catalog "NULL", database
"bacula".



i dont understod why "Could not open Catalog "NULL", database "bacula"





bacula-dir.conf [snip]



# Generic catalog service

Catalog {

  Name = CarCatalog

  dbname = bacula; user = bacula; Password = "**********"





Debian 10.9 - installed bacula packages

bacula                                  9.4.2-2+deb10u1

bacula-bscan                     9.4.2-2+deb10u1

bacula-client                      9.4.2-2+deb10u1

bacula-common               9.4.2-2+deb10u1

bacula-fd                            9.4.2-2+deb10u1

bacula-sd                            9.4.2-2+deb10u1

bacula-server                    9.4.2-2+deb10u1

bacula-common-pgsql  9.4.2-2+deb10u1

bacula-console                 9.4.2-2+deb10u1

bacula-director                 9.4.2-2+deb10u1

bacula-director-pgsql    9.4.2-2+deb10u1



Thanks for possible update

Mauri



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to