Sponsored Content
Full Discussion: Tapes
Top Forums UNIX for Dummies Questions & Answers Tapes Post 38843 by art_malabanan on Monday 28th of July 2003 11:39:59 PM
Old 07-29-2003
hi there ,

Well if u tried to tar to the tape it should automatically overwrite what ever is there .
so u dont need to delette the one on the tape . now is it a very huge files or do u want to compress it first .
1st option using tar : compress :
for example u will back up and compress the directory /u/db
at /u directory

tar cvf - db | compress > filename
then the filename will be compress on the diretory
tar cv8 filename
this will copy the compress file to the tape

2nd option if it is a small file just copy it to tape, at the directory just type
tar cv8 *
this will just copy all files straight to tape

3rd option u can just go to administration shell and run backup utility .



regards
 

10 More Discussions You Might Find Interesting

1. HP-UX

ignite tapes

can any1 tell me how to make ignite tapes for the HP-ux. this company said it was: "make_tape_recovery_A", but that don't work. (4 Replies)
Discussion started by: JBX
4 Replies

2. UNIX for Dummies Questions & Answers

tapes

is there a command to check unoccupied space on a tape ? AIX 3.2 (1 Reply)
Discussion started by: cubicle^dweller
1 Replies

3. UNIX for Dummies Questions & Answers

Partitioning DDS Tapes

Does anyone know how to partition 4mm DDS tapes in any flavor of UNIX besides HP-UX? My HP-UX box died and I have bunch of backup tapes with two partitions on them and I can't figure out how to read the second partition using other kinds of UNIX. Thanks in advance, Darren (1 Reply)
Discussion started by: dhaverstick
1 Replies

4. UNIX for Advanced & Expert Users

Partitioning DDS Tapes

Does anyone know how to partition 4mm DDS tapes in any flavor of UNIX besides HP-UX? My HP-UX box died and I have bunch of backup tapes with two partitions on them and I can't figure out how to read the second partition using other kinds of UNIX. Thanks in advance, Darren (1 Reply)
Discussion started by: dhaverstick
1 Replies

5. SCO

New backup tapes do not work

We are using Lone-tar to back up an old SCO UNIX System V/386 3.2. It was working fine until I inserted new data cartridges. I bought the exact same ones that I was using: HP DDS-1 Data Cartridge Compressed Capacity: 4GB Order number- C5706A If I insert a new tape and backup (done by... (0 Replies)
Discussion started by: ariepul
0 Replies

6. UNIX for Advanced & Expert Users

Get files from sdlt tapes

Hi everybody, I'm new using unix/linux and I have a sdlt tape wich has 2 segy files. I realise the tape isn't tar so when I use dd if=/dev/rmt/*bn of=filename bs=100000 to get the files after 10 Gb for file 1 an error message appear I/O error and I'm sure that I didn't get completly the first... (5 Replies)
Discussion started by: Titas
5 Replies

7. Solaris

vxdump with more tapes

Hi Community, I've a V440 Sun Server with 2 device tape of 72GB. I have to backup a folder of 80 GB, so I have to use 2 tapes of 72GB (144 GB); If I use vxdump command which are the options that I have to use? When the first tape finishes does the system stop the backup? Please help me... (1 Reply)
Discussion started by: Sunb3
1 Replies

8. HP-UX

duplicating ignite tapes

I have a B180L controller running HP-UX 10.2 with an internal DDS2 tape drive and an external Surestore DDS (24gb) tape drive. I want to make duplicate copies of ignite tapes from one tape drive to another. What is the best way to do this? (1 Reply)
Discussion started by: garyb
1 Replies

9. Solaris

ioscan -En how to exclude tapes?

i would like to list all disks, but this command with these options list tapes too. i donīt find out an option which list only the class like ioscan in hp-ux. could anybody help me? thanks a lot. (2 Replies)
Discussion started by: pabloli150
2 Replies

10. AIX

Moving tapes

Hello, anybody out there that is using itdt to manage tape changes in a tape library. The help of itdt show a move subcommand but I can't get it to work. Env: AIX5.3 Dell PowerVault TL2000 tape library -> rmt1 Available 01-08-02 IBM 3580 Ultrium Tape Drive (FCP) # itdt says it finds the... (3 Replies)
Discussion started by: petervg
3 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)
All times are GMT -4. The time now is 09:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy