Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-25-2006, 02:30 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Question Tar to tape in SuSE Ent. hosted on iSeries

I'm relatively new to the Linux world, although I've figured out several things this backup to tape with tar has me stumped. Below is a copy of a backup script used to backup the contents of the Linux partition hosted on the iSeries. The backup "seems" to work however I don't know how to restore the contents or a specific file from the tape. I'm quite frustrated with this so any help would be greatly appreciated. Thanks

# full backup to tape on iSeries
# created 4/29/04 modified 09/22/06

# The following line will debug the tape drive shared between linux and os400
# on SuSE Linux Enterprise Server. These lines were added at the recommendation
# of SuSE support on 4/29/04.

fuser -v /dev/iseries/vt0 | logger -t fuser

# ***********DIRS line needs to be readdressed. It is condensed for testing

# Change the three variables below.
DIRS="/junk" # Directories to backup
BACKUPTO=/dev/iseries/vt0 # where to store the backup
TAR=/bin/tar # name and location of tar command

# The lines below use the parms above to complete a backup.

echo "***** start time:"
echo "********** removing old sockets entries"
rm /var/sockets.txt
echo "************** finding sockets..."
find $DIRS -type s > /var/sockets.txt
echo "******************** archiving..."
$TAR -b 40 -cvf $BACKUPTO $DIRS --exclude-from=/var/sockets.txt --absolute-names --totals
echo "*************************************** End Time:"

"" 31L, 1038C 15,31 All


backup, suse, tape

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with dd and tar to tape hastur Linux - Software 0 10-22-2004 07:38 AM
Help restoring from tape and tar...... TheDirtyPenguin Linux - Software 1 02-17-2004 07:42 AM
HELP, corrupted tar tape Paul_assheton Linux - General 1 01-20-2004 10:37 AM
tar or cpio - Which is better for tape backups? Br. Nicholas Linux - Software 2 07-02-2003 04:06 PM
SuSE Linux 7.1 installation on iSeries gsundeep Linux - Distributions 1 03-28-2003 08:38 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration