John Drescher schrieb:
> > It purges (deletes) all Files from a Job,
> > JobId, Client or Volume; or it purges (deletes)
> > all Jobs from a Client or Volume without regard
> > for retention periods. Normally you should use the
> > PRUNE command, which respects retention periods.
> > You have the following choices:
> >      1: files
> >      2: jobs
> >      3: volume
> > Choose item to purge (1-3): 3
> > Automatically selected Pool: Default
> > No results to list.
> > Enter MediaId or Volume name: WHAT THE F**K DO YOU WANT ME TO TYPE????
> > sql_get.c:954 Media record for Volume "WHAT THE F**K DO YOU WANT ME TO
> > TYPE????" not found.
> > *
> 
> Ok.It looks like you have deleted all media from the Default pool. I
> assume the backup complains that the tape you want to use is already
> bacula labeled or something like that so it will not use it.
> 
> To get around this you need to wipe the label off the tape externally
> using the mt command:
> mt -f yourtapedrive rewind
> mt -f yourtapedrive weof
> 
> This is usually:
> 
> mt -f /dev/nst0 rewind
> mt -f /dev/nst0 weof
> 
> Then you should be able to label the tape in bacula.

To check if the tape really has an old bacula lable, he could also use
btape with the readlable command.

Ralf

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to