The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 12:41 PM
SSH Public key method roshanjain2 Shell Programming and Scripting 1 02-14-2007 05:47 AM
Optimized Method matrixmadhan UNIX for Dummies Questions & Answers 2 12-14-2006 10:26 AM
FTP--some method wherein password need not be harcoded shiral Shell Programming and Scripting 1 02-20-2006 06:43 AM
which encryption method? crashnburn Shell Programming and Scripting 2 08-01-2002 11:41 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-02-2001
synamics synamics is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 3
Question Backup method

Hi

I'm trying to work out the best method for creating a backup under SCO OpenServer. I would like to perform unattended backups to tape of various file systems, possibly using a script etc.

So far I've looked at the Backup Manager that comes with SCO and that cannot perform unattended backups. I will also need to span multiple tapes, so I just need the backup to start from CRON and then when it reaches the end of the tape it will prompt to change the tape and continue with the backup.

I have seen a cpio command that will span multiple multiple media but it then prompts for the next tape and you need to type your response to continue. But if I run this from CRON I don't know how to get the prompt onto the screen to allow the operator to continue. Below is an example of the command just spanning across floppy disks.

You can create a multivolume archive of the entire filesystem on floppies using the -O option of cpio:

find / -depth -print | cpio -ovcBK 1200 -O /dev/rfd096ds15

Any ideas??

Thanks in advance
  #2 (permalink)  
Old 11-02-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
  
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
You seem to be asking to do confilcting things...

automated, multi-volume backup with cpio and do it in cron job

...the problem is that if you were to redirect output of cpio...

find / -depth -print | cpio -ovcBK 1200 -O /dev/rfd096ds15 > /dev/console 2>&1

...if you run this from cron, you will not have a controlling tty
and cpio will not be "reading" from the tty you are at.

I might suggest using some other backup utility. Take a look at...
http://www.backupcentral.com/software-backup.html

...you might find somthing that suits you here.
  #3 (permalink)  
Old 11-05-2001
Peterh Peterh is offline
Registered User
  
 

Join Date: Feb 2001
Location: Frankfurt Germany
Posts: 61
Smile

Just for info.. I liked 'unix Backup & Recovery' from Oreilly is a good book..

peterh
Closed Thread

Bookmarks

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0