Thankyou Heitor, it's nearly there (the second one) but it fails if any of the 
tapes are already purged:

Connecting to Director tiger:9101
1000 OK: 102 tiger-dir Version: 7.4.0 (16 January 2016)
Enter a period to cancel a command.
purge volume=001-036

This command 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
to retention periods. Normally you should use the
PRUNE command, which respects retention periods.
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

Volume "001-036" has VolStatus "Purged" and cannot be purged.
The VolStatus must be: Append, Full, Used, or Error to be purged.

+----------------------------------------------------------------------
|This was sent by bill.dam...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to