John Steel wrote:
> Continuing with the longest backup in history... :-[
> Please...what is it asking for?
> I'm only trying to get the first tape going. Another poster said use 
> purge & relabel, once again theres something you need to know before you 
> can even do that.
>
> It looks like it won't do anything until I give it the correct volume 
> name, but having never given it a volume name in the first place thats a 
> bit tricky as its a new tape (well I did the btest  on it - could that 
> affect it?)
>
> *show filesets
> FileSet: name=Full Set
>       O M
>       N
>       I /usr/src/bacula
>       N
>       E /proc
>       E /tmp
>       E /.journal
>       E /.fsck
>       N
> FileSet: name=Catalog
>       O Mf
>       N
>       I /var/bacula/working/bacula.sql
>       N
> FileSet: name=2006
>       O M
>       N
>       I /data/Vol4/Backup_pending_tape/BTMC/Daily/2006
>       I /data/Vol4/Backup_pending_tape/BTMC/Weekly/2006
>       N
> *run jobs
> Job "jobs" not found
> The defined Job resources are:
>      1: tiger
>      2: tiger-2006
>      3: BackupCatalog
>      4: RestoreFiles
> Select Job resource (1-4): 2
> Run Backup job
> JobName:  tiger-2006
> Level:    Full
> Client:   tiger-fd
> FileSet:  Full Set
> Pool:     Default (From Job resource)
> Storage:  SEAGATE-SCORPION (From Job resource)
> When:     2007-05-02 12:33:49
> Priority: 10
> OK to run? (yes/mod/no): yes
> Job queued. JobId=7
> *
> 02-May 12:33 tiger-dir: Start Backup JobId 7, 
> Job=tiger-2006.2007-05-02_12.33.53
> 02-May 12:33 tiger-sd: Job tiger-2006.2007-05-02_12.33.53 waiting. 
> Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>     Storage:      "SEAGATE-SCORPION" (/dev/st0)
>     Media type:   DDS-3
>     Pool:         Default
> *purge volume
>
> This command is can be DANGEROUS!!!
>
> 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.
> Automatically selected Pool: Default
> No results to list.
> Enter MediaId or Volume name: DDS-3
> sql_get.c:954 Media record for Volume "DDS-3" not found.
>
> *purge volume
>
> This command is can be DANGEROUS!!!
>
> 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.
> Automatically selected Pool: Default
> No results to list.
> Enter MediaId or Volume name: Default
> sql_get.c:954 Media record for Volume "Default" not found.
>
> *relabel
> The defined Storage resources are:
>      1: File
>      2: SEAGATE-SCORPION
> Select Storage resource (1-2): 2
> Automatically selected Pool: Default
> No results to list.
> Enter MediaId or Volume name: 2006-1
> sql_get.c:954 Media record for Volume "2006-1" not found.
> *relabel
> The defined Storage resources are:
>      1: File
>      2: SEAGATE-SCORPION
> Select Storage resource (1-2): 2
> Automatically selected Pool: Default
> No results to list.
> Enter MediaId or Volume name: 2006
> sql_get.c:951 Media record MediaId=2006 not found.
> *
>
>   
I have never had success with relabel.

use purge and label.
or purge, then mt -f yourtapedrive rewind, mt -f yourtapedrive weof, mt 
-f yourtapedrive rewind, label

-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to