02-20-2008
I am having the same problem. We have a lot of legacy data written to tape on a Unix system using tar. We now have to be able to access the data on Windows. I tried using tar, but I cannot read the data on Windows. I am getting a "taperead: 1106" error. I can create a regular tar archive on the Unix system, ftp it to my Windows system, and then untar it without a problem, but this will not work with a tape. Any suggestions?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a log file that I would like to copy from my windows pc to my unix pc for further processuon. Is there any command that can help me perform this task?. I already have a cron to fire up the process, but nothing seems to be coming up.
I am trying to use ftp but nothing is coming forth.... (8 Replies)
Discussion started by: odogbolu98
8 Replies
2. Windows & DOS: Issues & Discussions
Hi,
Is there any way to import data files from Unix system to Windows system?
I have many data files on Unix machine generated every night.
I need to pick certain data from each file and plug them into this windows file on the network share drive.
Anyone has any idea?
Thanks in advance! (8 Replies)
Discussion started by: whatisthis
8 Replies
3. UNIX for Dummies Questions & Answers
Dear All
How to read the data on my cd and save these data in a dpecial folder
Regards (0 Replies)
Discussion started by: sak900354
0 Replies
4. UNIX for Advanced & Expert Users
I have 3 columns in an excel sheet.
c1 c2 c3
EIP_ACCOUNT SMALL_TS_01 select A.* from acc;
All the above 3 col shoud be passed a variable in the unix code.
1.How to read an excel file
2.How to pass these data as variable to the unic script (1 Reply)
Discussion started by: Anne Grace
1 Replies
5. UNIX for Dummies Questions & Answers
Dear sir/madam
Could you tell me how to copy or get data from tape to any folder in unix?
Thanks, (2 Replies)
Discussion started by: seyha_moth
2 Replies
6. UNIX for Dummies Questions & Answers
I've been sent a file by a client that has no dot extension, which I'm told should be a MSSQL7 database with information I need to get out and ultimately export for upload to another system. My issue is that I have no idea what to do with this file. The properties indicate it's a Unix executable... (1 Reply)
Discussion started by: buccacom
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have a requirement where in to read the registry value of a windows NT based system from a AIX server which should be automatic. For eg. the script should connect to the Win NT system, read the registry as specified on the input and display the output on the AIX screen?
Eg. <script... (3 Replies)
Discussion started by: sathish57
3 Replies
8. AIX
Hi Everyone,
The machine I'm working on is an AIX 5.3 LPAR running on a P650. oslevel -r shows 5300-08. I'm trying to take a backup to a SCSI tape drive, which has been working up until this point. I know of nothing that has changed recently to cause this problem. But when I try to take a... (0 Replies)
Discussion started by: need2bageek
0 Replies
9. UNIX for Advanced & Expert Users
hi!
my computer is...
System: Digital Personal Workstation 433a
Processor: Digital Alpha 21164, 433 MHz
Memory: 64 MB
OS: Digital Unix Console (SRM), Digital Unix V4.0D
how to erase tape data?
I tried with mt erase but no success.
My tape is 120m.
So, how can i erase tape?
... (5 Replies)
Discussion started by: akz
5 Replies
10. Shell Programming and Scripting
Hi,
I have on Designdocument in that information is stored with in tabular format.I need Perl/unix script to read and write the data
using perl script?
Regards,
Ravi (4 Replies)
Discussion started by: toravi.pentaho
4 Replies
SMBTAR(1) User Commands SMBTAR(1)
NAME
smbtar - shell script for backing up SMB/CIFS shares directly to UNIX tape drives
SYNOPSIS
smbtar [-r] [-i] [-a] [-v] {-s server} [-p password] [-x services] [-X] [-N filename] [-b blocksize] [-d directory] [-l loglevel] [-u user]
[-t tape] {filenames}
DESCRIPTION
This tool is part of the samba(7) suite.
smbtar is a very small shell script on top of smbclient(1) which dumps SMB shares directly to tape.
OPTIONS
-s server
The SMB/CIFS server that the share resides upon.
-x service
The share name on the server to connect to. The default is "backup".
-X
Exclude mode. Exclude filenames... from tar create or restore.
-d directory
Change to initial directory before restoring / backing up files.
-v
Verbose mode.
-p password
The password to use to access a share. Default: none
-u user
The user id to connect as. Default: UNIX login name.
-a
Reset DOS archive bit mode to indicate file has been archived.
-t tape
Tape device. May be regular file or tape device. Default: $TAPE environmental variable; if not set, a file called tar.out .
-b blocksize
Blocking factor. Defaults to 20. See tar(1) for a fuller explanation.
-N filename
Backup only files newer than filename. Could be used (for example) on a log file to implement incremental backups.
-i
Incremental mode; tar files are only backed up if they have the archive bit set. The archive bit is reset after each file is read.
-r
Restore. Files are restored to the share from the tar file.
-l log level
Log (debug) level. Corresponds to the -d flag of smbclient(1).
ENVIRONMENT VARIABLES
The $TAPE variable specifies the default tape device to write to. May be overridden with the -t option.
BUGS
The smbtar script has different options from ordinary tar and from smbclient's tar command.
CAVEATS
Sites that are more careful about security may not like the way the script handles PC passwords. Backup and restore work on entire shares;
should work on file lists. smbtar works best with GNU tar and may not work well with other versions.
DIAGNOSTICS
See the DIAGNOSTICS section for the smbclient(1) command.
VERSION
This man page is correct for version 3 of the Samba suite.
SEE ALSO
smbd(8), smbclient(1), smb.conf(5).
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
Ricky Poulten wrote the tar extension and this man page. The smbtar script was heavily rewritten and improved by Martin Kraemer. Many
thanks to everyone who suggested extensions, improvements, bug fixes, etc. The man page sources were converted to YODL format (another
excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy
Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by
Alexander Bokovoy.
Samba 3.5 06/18/2010 SMBTAR(1)