09-28-2005
ufsdump backs up a filesystem. You could create a small filesystem with no subdirectories!
Seriously, tar or cpio both possible. I like tar myself.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok I'm trying to backup a HD using ufsdump but no matter what I do it rewinds the tape after the dump. Now the tape isn't full (only 285mb) and I still have 6 more partitions I want to put on this tape.
How can I stop the tape from rewinding because I can't think of anything.
Also is there any... (4 Replies)
Discussion started by: merlin
4 Replies
2. UNIX for Dummies Questions & Answers
Hi Guys,
I'm writing a shell script that presents the user with various options, they select one (numbered 1-9) and it then excecutes the correct code. No problem, but I'm having slight difficulty with one option.
The user can select to backup all the files in the current directory to another... (2 Replies)
Discussion started by: indigoecho
2 Replies
3. Solaris
I need to rlogin to a remote server, execute a usfdump to copy all its files to a 8mm cartridge tape. Take that tape to a local server room and execute a usfrestore to load all the files to the back-up server. The back-up server must also be formatted to look identical to the remote server. ... (1 Reply)
Discussion started by: davels
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm about to start a regular backup schedule for my Linux system.
I need some pointers if I may :)
The system is *mainly* used as a personal home computer (it's actually a laptop running SuSE 9.2) although I do host some client material from it being a PHP developer.
I know that in... (2 Replies)
Discussion started by: d11wtq
2 Replies
5. Solaris
Hello Mentors,
Before anything else I would like to thanks to all expert here especially Pressy as he guided me to recover our server from disk failure. I posted a lot of question from these forum site concerning on how to recover our server and luckly you guys help me. Our server is now up and... (6 Replies)
Discussion started by: eykyn17
6 Replies
6. Solaris
Hello buddy,
I used usfbackup command but error after full backup Solaris 5.5.1
/dev/c0t3d0s0 /
/dev/c0t3d0s6 /usr
I get error when restart after complete full backup
Can't load the root file system
Type 'go' to resume
***FULL MY STORY***
... (1 Reply)
Discussion started by: posky
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I run a web hosting company, and I'm wondering how I can use cPanel's Cron Jobs so that a copy of my entire home directory and a copy all of my MySQL databases can be compressed and emailed to me. I know nothing about Linux, Unix, or whatever that thing with the penguin is called. :)
... (7 Replies)
Discussion started by: millipedeman
7 Replies
8. AIX
we are running aix on are server. we would like to start doing online backups, but the software company that we use is not beeing much help on what files we are backing up. is there a command that will tell me what files that we are backing up. they offer a service that would back it up for use,... (3 Replies)
Discussion started by: shane.hankins
3 Replies
9. Shell Programming and Scripting
Hi,
I am not too familiar with Unix scripting but I have to write code to find all the files under all the sub directories under a parent directory of unix location and move them to the corresponding Windows location.
For eg: I have \home\sreenu\Files\
Under neath this I have multiple sub... (3 Replies)
Discussion started by: raj.sreenu
3 Replies
10. UNIX for Advanced & Expert Users
Are there any recommended methods for Backing up an entire HD? I want to backup my data. I do not care about the OS file. I just want my work, movies, and music. I have about 600 GB of work, movies, and music so a bit worried about fragmentation if I just copy and paste. (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT XFREE86
rpm2cpio
rpm2cpio(1) User Commands rpm2cpio(1)
NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive
SYNOPSIS
rpm2cpio [file.rpm]
DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu-
ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out-
put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility.
EXAMPLES
Example 1: Converting an rpm file
example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
Example 2: Converting from standard input
example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrpm |
+-----------------------------+-----------------------------+
SEE ALSO
cpio(1), attributes(5)
NOTES
rpm2cpio handles versions 3 and 4 RPMs.
SunOS 5.10 20 Aug 2001 rpm2cpio(1)