Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Backup
# 1  
Question Backup

I want to know how can i do a backup for two diferents subdirectories ?

For example



i know that i have to do the next....


tar -cvt /dev/st0 ./*

with that i know that test.txt is going to go to the tape but i dont know how can i add the real.txt file in the same file....

In each subdirectorie i have more than one file....

Last edited by sokobans; 08-17-2001 at 01:07 PM..
# 2  
tar -cvf /dev/st0 /home/data/test.txt /public/now/real.txt


Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #964
Difficulty: Medium
HTML4 became a W3C Recommendation in 1994.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

2. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

3. AIX

Need backup

Hello Experts, Can you please help me in archiving below requirement...... I have a folder where files created on daily basis...I need an automated script which can archive the new files or modified files on daily basis and complete backup once in weekend. I went through blogs but not much... (1 Reply)
Discussion started by: aks_1902
1 Replies

4. UNIX for Advanced & Expert Users

backup a file and keep every version of the backup

I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab. 0 0 * * 0,3 cat .bash_history > boo 0 0 * * 0,3 cp .bash_history boo I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
Discussion started by: cokedude
7 Replies

5. Linux


Hello everyone I have a question I have a server with red hat enterprise 3, but I need to backup my information in case that something happen. How can I do this. I usually use Aix but in this flavor I dont know how to backup. Thanks for your tips and comments. (3 Replies)
Discussion started by: lo-lp-kl
3 Replies

6. UNIX for Dummies Questions & Answers


Hi guys need your help!.... i'll have to do a backup of the entire files systems of the one server , but i have to do to another server because we do not have a tape device or some, do you know what instruction i have to use? the backup server is a linux box and the server to being backup is a... (7 Replies)
Discussion started by: clab
7 Replies

7. 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

8. 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

9. UNIX for Dummies Questions & Answers


Dear All I have an HP 9000/800 UNIX machine , I have also Oracle applications 11i installed on it , we tried to take backup using fbackup command but it skipped some files ( was for database and the database was up and running ) but it took the other database files. I need to know also ,... (2 Replies)
Discussion started by: hisham.hamdy
2 Replies

Featured Tech Videos