Yes, that seems a good plan. There are such scripts in the /etc/bacula
folder.

Many thanks
Chris Wilkinson

On Sun, 31 Jan 2021, 2:10 pm Timo Neuvonen, <timo-n...@tee-en.net> wrote:

> > I backup to a NAS drive which has failed this morning.
> > I can replace the drive and rerun the jobs with the existing resource
> defs
> > but wonder how I should I reset the catalog since all those volumes are
> > now lost but are still in the database.
> >
> > One option is perhaps to delete all the volumes using Baculum. Would
> that
> > work, is there a better way ?
>
> I think somewhere in the directory tree there's a script
> "drop_bacula_tables", and probably also "create_bacula_tables".
>
> I haven't used them for more than a decade, but I think manual mentions
> them
> (in addition to classic tarball install) in some beginners guide, so you
> could drop all the traces of initial error-and-trial experiments before
> switching to "production use".
>
>
> Of course, you'd better to consider first if there might ever be any
> conflict caused by the same job numbers etc. again. For example, if you
> have
> an archieve of old bootstrap files, you'd better to get rid of those files
> too at the same time so they won't confuse you in the future.
>
> --
> TiN
>
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to