Backup method


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Backup method
# 1  
Old 11-02-2001
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  
Old 11-02-2001
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  
Old 11-05-2001
Bug

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

peterh
Login or Register to Ask a Question

Previous Thread | Next Thread

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

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. [ n

After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks. ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface # ifconfig eg1000g0:2 plumb ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface # ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies

4. Programming

message and method

Differentiate between the message and method. (2 Replies)
Discussion started by: robinglow
2 Replies

5. Solaris

How to get the status of the method

Hi, I have created a services and method to start the processes. Method: #!/sbin/sh . /lib/svc/share/smf_include.sh case "$1" in 'start') /usr/local/proce start sleep 10 ;; 'stop') /usr/local/proce stop ;; *) echo... (5 Replies)
Discussion started by: kalpeer
5 Replies

6. Programming

Regarding Native method

Hi, I am working with solaris 9 and I am using jre1.6. In my application,I am using java and C++ in my application.Basically we are using the java for front end and C/C++ for back hand.So I have to call the C/C++ source code form java code.we are using native methods for it.. So application... (1 Reply)
Discussion started by: smartgupta
1 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. Shell Programming and Scripting

which encryption method?

hello ppl, i've been coding a perl script for xchat and i need to store the nick's passwords. i was wondering which encryption to use. picture this situation: i've got a system flaw and some guy hacks the machine and gets his hands on the passwd file; he has access to the script. what encryption... (2 Replies)
Discussion started by: crashnburn
2 Replies
Login or Register to Ask a Question