![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
|||||
|
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. |
![]() |
| Bookmarks |
| Tags |
| cpio |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|