Bacula-users

Re: [Bacula-users] New start from scratch

2010-10-26 07:24:55
Subject: Re: [Bacula-users] New start from scratch
From: mayak-cq <mayak AT australsat DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 26 Oct 2010 13:22:47 +0200
On Tue, 2010-10-26 at 12:23 +0200, Alex Huth wrote:
> Hello!
> 
> After a period of testing i want to use bacula now for production level.
> I thought it would be enough to drop the database in mysql and remove
> the metadata and the working dir. But after creating the database and
> tables again, i see in the status of a client the old backups.
> 
> Where have i missed something to get a clear start?
> 
> Thanks in advance!
> 
> Alex
hi Alex,

here's a redhat script that I wrote to nuke everything ...

cheers

m



service bacula-dir stop; service bacula-fd stop; service bacula-sd stop
rm -rf /var/lib/bacula/*

echo will be prompted twice for mysql password
cd /usr/lib64/bacula
./drop_mysql_tables -p
./make_mysql_tables -p

service bacula-dir start; service bacula-fd start; service bacula-sd
start

echo MUST LABEL A VOLUME IN A DIRECTORY OWNED BY BACULA



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-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>