ERROR OCURRED

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, October 12, 2010

Bacula:tape Volume purging & deletion steps.

Posted on 9:10 PM by Unknown
Select the Pool (1-2): 1
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000014L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 5 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 2 | test2 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-3 | 0000-00-00 00:00:00 |
| 3 | 000016L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 22 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 4 | 000018L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-3 | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Enter MediaId or Volume name: test2
Volume "test2" has VolStatus Append. It must be Purged or Recycled before relabeling.


Now in this exapmle, steps how to delete volume test2

1st purged the volume name like this

*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
Defined Pools:
1: Default
2: Scratch
Select the Pool (1-2):1

then type volume name or Media Id i.e test2 or 2

now in list volumes you can see test2 makred ad purged.

*list volumes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Pool: Default
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000014L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 5 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 2 | test2 | Purged | 1 | 64,512 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-3 | 0000-00-00 00:00:00 |

Pool: Scratch
No results to list.


Now time to delete test2 volume

*delete test2
In general it is not a good idea to delete either a
Pool or a Volume since they may contain data.

You have the following choices:
1: volume
2: pool
3: jobid
Choose catalog item to delete (1-3): 1
Defined Pools:
1: Default
2: Scratch
Select the Pool (1-2): 1
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000014L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 5 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 2 | test2 | Purged | 1 | 64,512 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-3 | 0000-00-00 00:00:00 |


Enter MediaId or Volume name: test2

This command will delete volume test2
and all Jobs saved on that volume from the Catalog
Are you sure you want to delete Volume "test2"? (yes/no): yes

Deleted ..now you can see in volumes test2 permantly deleted.

*list volumes
Pool: Default
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | 000014L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 5 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 3 | 000016L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 22 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 4 | 000018L4 | Purged | 1 | 64,512 | 0 | 31,536,000 | 1 | 17 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 5 | 000012L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 1 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 6 | 000011L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 8 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 7 | 000013L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 9 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 8 | 000015L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 10 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 9 | 000020L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 16 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 10 | 000019L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 20 | 1 | LTO-3 | 0000-00-00 00:00:00 |
| 11 | 000017L4 | Append | 1 | 64,512 | 0 | 31,536,000 | 1 | 21 | 1 | LTO-3 | 0000-00-00 00:00:00 |
+---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Scratch
No results to list.
*
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • No package 'lua5.1' found
    hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
  • response to SOA query was unsuccessful: solved
    check your zone file [root@inf1sysadm1 data]# pwd /var/named/data # cat ind.raman.com.zone $ORIGIN . $TTL 3600 ; 1 hour ind.raman.com IN SO...
  • can't locate your x11 installation Fedora
    While install Conky, system through this error. Solution:- You need to install X11 Software Dev Package. Login on system with root user ...
  • Qmail Installation & Configuration step by step
    Tested under CentOS 5.8  64bit machine. 1)Packges which i installed for Qmail. httpd-2.2.3-76 php-5.1.6-39 perl-5.8.8 -38 gcc-4.1.2 mysql-5....
  • Dell MD3200 SAS Cabling With Diagram
    I have 2 MD3200 with SAS Ports + 2 Power Edge720. Task to connect Both DAS with Both server and make sure Both server showing  all DAS Parti...
  • It is safe to clean windows prefetch folder and registry folder ?
     It is safe to clean windows prefetch folder and registry folder ? Will this boost Windows operating system capabilities ? Many of you hav...
  • Windows 7 & Windows 8 fail to start
    Windows 7 fail to boot, what should I do? Is Windows 7 failing to boot after you installed the loader or after you just installed a fresh ne...
  • Steps how to change VolStatus in Bacula through bonsole.
    In my example MediaId=4 or Volumename=000018L4 shows volstatus is Purged. *list volumes Pool: Default +---------+------------+-----------+--...
  • Adobe Photoshop CS5 Error 16 , Adobe Photoshop CS5 Error 7
    When you install Adobe Photoshop CS5 you might get some errors. In case you get one you will see a code and a little description. Is very im...
  • X connection to localhost:10.0 broken (explicit kill or server shutdown).
    Solution:- With Xhost, you can solve this issue.

Categories

  • Adobe
  • Players
  • Reviews
  • Windows

Blog Archive

  • ►  2013 (27)
    • ►  October (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (3)
    • ►  February (10)
    • ►  January (9)
  • ►  2012 (29)
    • ►  December (2)
    • ►  November (7)
    • ►  October (10)
    • ►  September (4)
    • ►  August (1)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2011 (36)
    • ►  December (3)
    • ►  November (3)
    • ►  October (1)
    • ►  September (5)
    • ►  August (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (5)
    • ►  February (2)
    • ►  January (7)
  • ▼  2010 (24)
    • ►  December (1)
    • ►  November (1)
    • ▼  October (4)
      • Bacula:tape Volume purging & deletion steps.
      • Steps how to change VolStatus in Bacula through bo...
      • How to find which scsi device you have.
      • response to SOA query was unsuccessful: solved
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
    • ►  January (8)
  • ►  2009 (18)
    • ►  December (6)
    • ►  November (3)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (5)
    • ►  April (2)
    • ►  February (1)
    • ►  January (5)
  • ►  2007 (4)
    • ►  July (3)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile