Bacula-users

Re: [Bacula-users] Clean way to remove a client

2013-10-15 11:37:09
Subject: Re: [Bacula-users] Clean way to remove a client
From: "Novosielski, Ryan" <novosirj AT ca.rutgers DOT edu>
To: Christian Garling <christian.garling AT cg-networks DOT de>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 15 Oct 2013 11:33:41 -0400
Removing the definitions and purging the jobs the client has I'd imagine would 
do it. At that point, dbcheck would seem to clear the rest of it.

--
____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences*
 || \\UTGERS      |---------------------*O*---------------------
 ||_// Biomedical | Ryan Novosielski - Sr. Systems Programmer
 || \\ and Health | novosirj AT rutgers DOT edu - 973/972.0922 (2x0922)
 ||  \\  Sciences | OIT/EI-Academic Svcs. - ADMC 450, Newark
      `'
________________________________________
From: Christian Garling [christian.garling AT cg-networks DOT de]
Sent: Tuesday, October 15, 2013 11:30 AM
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Clean way to remove a client

Hi,

nobody who can tell me?

Regards, Christian


Am 08.10.2013 13:24, schrieb Christian Garling:
> Hi There,
>
> I am wondering there is no well documented way to remove a client. I
> have found some information on the internet, but not sure if they are
> safe to use. What I've done:
>
> We have a directory that contains a file for each client, including the
> "Job", "FileSet", "Client", "Storage" and "Pool" definitions.
> Also we have a directory that contains a file each for each device,
> including the "Device" definition. I removed both files for a given
> client and restarted bacula-dir and bacula-sd.
>
> Then I deleted the pools in the bconsole. I found a hint that I should
> manually delete the client in the table named "Client" in the database.
> I did and ran a dbcheck, but there were still a lot of entries in the
> database regarding to the removed client (in the tables "Storage",
> "Pool" and so on). So I removed them to and ran dbcheck again.
>
> Finally I deleted the directory where the archives were saved.
>
> Why is there no built-in function in the bconsole which easily and safe
> removes a client?
> Is there a better way to perform such a task?
>
> Regards, Christian Garling
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
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>