Brian Debelius wrote:
> 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
>
>
login as: root
[EMAIL PROTECTED]'s password:
Last login: Wed May 2 11:42:51 2007 from otamate1.demon.co.uk
[EMAIL PROTECTED] ~]# bconsole
Connecting to Director tiger:9101
1000 OK: tiger-dir Version: 2.0.3 (06 March 2007)
Enter a period to cancel a command.
*purge
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 Catalog: MyCatalog
Using Catalog "MyCatalog"
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: 2006
sql_get.c:951 Media record MediaId=2006 not found.
You have messages.
*purge
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.
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: 2001-1
sql_get.c:954 Media record for Volume "2001-1" not found.
*purge
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.
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.
*
--
--------------------------
http://www.phonewebcam.com
[EMAIL PROTECTED]
-------------------------------------------------------------------------
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