Complete backup of system spanning all filesystems


 
Thread Tools Search this Thread
Operating Systems SCO Complete backup of system spanning all filesystems
# 8  
Old 01-23-2009
I don't remember the exact format for the command. I'm at another job site and don't have access to a SCO box here. I will get into a SCO box later ad confirm the commands. One thing you can do is get a listing ofthe tape to make sure the directories you want aer there.

run
cpio -ivt < /dev/rStp0 > /tmp/tape.list

-ivt willjust read the names off of the tape and te /tmp/tape.list is just a name for the file.

Once the file is created then vi the file and you should be able to search it for what you want. Another thing we need to check is the format. let me know if each line starts with ./ or with just a / this will be important during the restore.
# 9  
Old 01-23-2009
hey it looks like this:

Code:
60640  root        0  May 09 15:48:26 2003  dev/usr     
20640  root        0  May 09 15:48:26 2003  dev/rtech1
60640  root        0  May 09 15:48:26 2003  dev/tech1

etc...
# 10  
Old 04-30-2009
i have a question regarding the use of the 'find' command.... wouldn't i be duplicating some directories in my backup if the parent directory is listed with all its child directories? here is a sample output:

find . -depth
/repod/log/rman_29.log
/repod/log
/repod/huk7kik0_1_1
/repod/i4k7n700_1_1
/repod

so if i pipe this to cpio, i would get the child /repod/log/rman_29.log and then it would be repeated with /repod/log? i would get the childs /repod/huk7kik0_1_1 and /repod/i4k7n700_1_1 and then everything would repeat again with /repo?

is there a way to just get the last depth?
# 11  
Old 04-30-2009
SCO and cpio

Not sure what your asking but cpio works fine for SCO.

A typical command would be

" find . -print | cpio -ocumvdB -O/dev/rStp0

This backs up the folders and the child folders and files only once.
Your just seeing the absolute path from the pwd.
# 12  
Old 04-30-2009
tests have shown you are correct. thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

2. Solaris

How to backup ZFS filesystems to files on USB drive?

Dear Solaris 10 Experts, I need to carry out a manual backup of all zpool/zfs filesystems on a Solaris 10 x86 server in order to port it onto VM Ware hardware but don't know how to do it. Past exercises have been smooth using ufsdump & ufsrestore for small standalone servers. Below are the zfs... (22 Replies)
Discussion started by: gjackson123
22 Replies

3. HP-UX

File system full, won't complete boot

Hello, I have a very old hp rp2450 running 11i2 that I had to power off. When turning it back on it hangs with the following message. Would booting into SUM get me any further? I've never used SUM, so I'm asking before I go down that rabbit hole. Thanks for the help. # ## extra content... (1 Reply)
Discussion started by: calabaria
1 Replies

4. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

5. SCO

how to backup the system?

hello friends, which are the directories and files should I backup in case of re-installation of the system? SCO OpenServer 6.0 operating system I have cdrom and floppy media regards (3 Replies)
Discussion started by: Edgar Guevara
3 Replies

6. Solaris

Making backup with ufsdump to remote mounted filesystems

Hi Unix members. I am trying to make a backup to remote mounted filesystems : fileraseing:/vol/oracliente_revap01 10G 1.3G 8.7G 13% /orarev_ap01 fileraseing:/vol/bobje 10G 5.9G 4.1G 60% /bobje But I am receiving the follow message when use the ufsdump command: :$PWD>ufsdump 0fu... (8 Replies)
Discussion started by: aggadtech08
8 Replies

7. UNIX for Dummies Questions & Answers

BASH complete-filename & menu-complete together

Hi, Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab? Right now this is what I have in my .bashrc: bind "set show-all-if-ambiguous on" bind \\C-o:menu-complete This allows... (0 Replies)
Discussion started by: Mithu
0 Replies

8. UNIX for Dummies Questions & Answers

backup spanning multiple DVDs

Fedora Core 6 2.6.20-1.2962.fc6 I have about 15 GB of data that I need to backup to Single-Layer DVDs. Is there a backup method that will allow me to backup spanning multiple DVDs? (0 Replies)
Discussion started by: dangral
0 Replies

9. Solaris

Solaris System State & filesystems backup

Hi , We are using Veritas Net Backup , I want to create a new policy for backing up the (Solaris Operating System & the file systems) only the OS. not Full backup because we have an other policy for Oracle Apps and it takes full backup for all Partitions. I need the OS backup to be in... (2 Replies)
Discussion started by: adel8483
2 Replies

10. Solaris

System Backup

Hi All, Is it possible for us to do the Solaris system backup online without shutdown the system to another disk and if any disaster of hardware failure then we can boot the system up from the that backup disk? Thanks. (2 Replies)
Discussion started by: efang
2 Replies
Login or Register to Ask a Question