Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2009, 05:55 AM   #1
Registered: Jan 2008
Posts: 67

Rep: Reputation: 15
List contents of a tape

Hi all

When I try to list the contents of my backup tape (backed up using bacula), either using the command tar tvf /dev/nst0 or the filesystem backup module of webmin I get the following error:

tar: /dev/nst0: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

How can I fix this, or how do I go about listing the contents, or restoring the backup if for example I wasnt using my backup software - bacula.

Many thanks in advance

Old 08-06-2009, 07:48 AM   #2
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Sorry, Bacula uses a proprietary (albeit open source) backup format. You'll have to use Bacula tools to read the tape. In my opinion, that's a shortcoming, but they do have a variety of tools for reporting on tapes and for building an index from a tape if you have lost the index, and so on. You can use some of them without having the full bacula installed. Check the documentation for details.
Old 08-07-2009, 06:03 AM   #3
Registered: Jan 2008
Posts: 67

Original Poster
Rep: Reputation: 15
Hi choogendyk

Thanks for the response. I'll look into the tools, thanks for letting me know, as I know I'll have to plan for this now!!!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
viewing contents of tape Solaris / OpenSolaris 4 07-11-2009 04:08 PM
tape contents view Ammad Linux - General 1 09-23-2008 08:57 AM
verify tape contents helpmhost Linux - Hardware 5 01-02-2008 02:18 PM
Reading the Contents of a Dump Tape kaplan71 Linux - General 2 11-08-2006 03:34 PM
list contents of directory without listing contents baddah Linux - Newbie 2 06-12-2006 05:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration