Bacula-users

[Bacula-users] Purge all volumes in a pool

2016-04-04 04:15:43
Subject: [Bacula-users] Purge all volumes in a pool
From: bdam <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 04 Apr 2016 01:10:40 -0700
Thanks, and hope everything is ok re hospital.

It now fails when it finds a volume with VolStatus "Recycle":

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-011-000061

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"
0 File on Volume "001-011-000061" purged from catalog.
There are no more Jobs associated with Volume "001-011-000061". Marking it 
purged.

You have messages.
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-013-000059

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-013-000059" has VolStatus "Recycle" and cannot be purged.
The VolStatus must be: Append, Full, Used, or Error to be purged.

+----------------------------------------------------------------------
|This was sent by bill.damage AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users