backup in tape with a password


 
Thread Tools Search this Thread
Operating Systems Solaris backup in tape with a password
# 1  
Old 07-06-2011
backup in tape with a password

dear experts,
usually when i backup to my tape drive i use
Code:
tar cv [directory]

now is there a way to add a password to that tape drive i cant use hardware encryption because we are using LTO3.
another question if i would like to add a compression to the backup directory while backing up how can i do that?
# 2  
Old 07-06-2011
it seems tar cannot encrypt files. you can use gpg, or perhaps 7z or rar together with tar.
its a good idea to add 'real' archiver anyway, to shrink the backup. (even though tape might compress it in hardware)
# 3  
Old 07-06-2011
so what do u recommend to install gpg or 7z?

---------- Post updated at 01:15 AM ---------- Previous update was at 12:58 AM ----------

yeah and i just install p7zip in my server now could you please tell me the right syntax to do this ?
# 4  
Old 07-06-2011
something like this should work:
tar cf - directory | 7za a -p -si directory.tar.7z

check if its AES-256
( 7zip in Solaris | Unixpin )

edit: um, I don't know if 7z can send backup directly to tape. perhaps you could simply copy the resulting file to tape.
another option that might help is this: -so Write data to StdOut (eg: 7z x -so directory.tar.7z | tar xf -)

edit2: check this out: http://www.shell-fu.org/lister.php?id=44

Last edited by orange47; 07-06-2011 at 04:17 AM..
# 5  
Old 07-06-2011
great thanks for the help Smilie i am trying it now will update you with the result.
# 6  
Old 07-06-2011
the last option: ( [shell-fu:view-44]$ )
seems most elegant, hope you make it work. just be sure it preserves all permissions and stuff.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to backup when there is no tape available?

Hi All! Letīs say there are a few solaris servers connected to a NetApp storage device, but with no tape library or tape device attached to none of them. Assuming the O.S. is installed on the root disks, how to recover if the O.S. failed in one of the systems? Please share your ideas. (13 Replies)
Discussion started by: fretagi
13 Replies

2. AIX

Backup on Tape

Hi, I am very new to AIX, i have a development and a production server with AIX 6.1. I am using following command to backup my system /usr/bin/mksysb '-m' '-V' '-i' /dev/rmt0 You can what i have in my root volume group in the atached file and and you can also see the backup information of... (14 Replies)
Discussion started by: salmanucit
14 Replies

3. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

4. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

5. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

6. Solaris

backup using tape

hello everybody... i need some help ... so... i need to do some backups from one solaris system and i dont know whitch is the best solution....to use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 sessions....how can i access second session....? enough... (4 Replies)
Discussion started by: nich007
4 Replies

7. UNIX for Dummies Questions & Answers

Tape Backup

I have a script which runs overnight to backup a database into a tar file. I then gzip the file and send it off to a tape device. The command I'm using for the tape backup is tar cvf /dev/rmt/0n /var/dbbackup/${FILE}.gz I thought the n meant no rewind so the next file is copied to tape... (4 Replies)
Discussion started by: mattd
4 Replies

8. UNIX for Dummies Questions & Answers

Tape Backup Problem?

Hi. Can someone please tell what the following tape error message means: Read end of medium on output If you want to go on, type device/file name when ready This message comes after the terminal displays a few files from the directory I'm trying to backup. The command I'm running is: ... (1 Reply)
Discussion started by: cstovall
1 Replies

9. UNIX for Dummies Questions & Answers

tape backup error

Hello everyone, I like to start off by saying thank-you all. You guys have saved my butt alot of time. Well I have a problem in which I can't find in the search. I'm trying to do a tar backup to a DDS3 tape as root: tar -cvf /dev/rmt/0 /home/larry the error tar:... (8 Replies)
Discussion started by: larry
8 Replies

10. UNIX for Dummies Questions & Answers

Tape Backup

Can someone please.... help me how to install tape backup I am using FreeBSD Unix version running on I386 PC box. My IDE tape device is made by HP (Colorado 5GB). Thank you in advance! (15 Replies)
Discussion started by: jackpotp
15 Replies
Login or Register to Ask a Question