Bacula-users

Re: [Bacula-users] Migrating to Newer Version of PGSQL

2013-03-26 03:21:44
Subject: Re: [Bacula-users] Migrating to Newer Version of PGSQL
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: Doug Sampson <dougs AT dawnsign DOT com>
Date: Tue, 26 Mar 2013 08:18:27 +0100
Hello,

2013/3/26 Doug Sampson <dougs AT dawnsign DOT com>
>
> You might run Baculas "dbcheck" to prune unused entries in the
> database before migration.
>

I ran:
root@pisces:/~# su -m bacula -c '/usr/local/sbin/dbcheck -B -c /usr/local/etc/bacula-dir.conf'
catalog=MyCatalog
db_name=bacula
db_driver=
db_user=bacula
db_password=
db_address=
db_port=0
db_socket=
db_type=PostgreSQL
working_dir=/var/db/bacula
root@pisces:/~#

It completed within seconds. Looks good, no?


No, :)

Option '-B' just print catalog configuration and exit. Check a manual, documentation or in application help. 
Use it without '-B' parameter and supply database connection parameters. Then check your instance.

best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users