Another user asked me this morning about safely and completely removing all
traces of a given client from their director and storage.

Fortunately, since he uses disk-based volumes this didn't involve erasing a
bunch of tapes.

I'm sure that the method I advised is not the cleanest or most efficient,
but I basically told him the following.

Disable the client's job(s) from the console.  Comment-out, or remove the
job declaration(s) for that client in the director config.  

purge jobs client=foobar-fd
purge files client=foobar-fd

Since the user was not mixing clients in this pool we move on to removing
those volumes.

purge
volume
(repetitively select volumes to purge)

delete
volume
(repetitively select volumes to delete)

delete
pool
<this pool>

Now we should be safe to rm the volume files on disk and free up loads of
space.

The volume purging and deleting could be wrapped in a script to ease that
part, but that means writing out said script and making sure it works
correctly before you execute it.

If any of the above is wrong then *please* correct me.  Otherwise, does
anyone have a better way to do this?  In either case, is there any chance we
could get this documented in the manual and/or wiki?

Thanks,
Chris Lee


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to