10-17-2001
Thanks Perderabo,
To make things a bit more clear,
I use:
<pre>
mt -f /dev/rmt/0cn rewind // no rewind, so I have everything in the same dat tape
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s0 //mounted on /
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s3 //mounted on /var
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s4 //mounted on /home
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s5 //mounted on /u01
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s0 //mounted on /u02
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s1 //mounted on /u03
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s3 //mounted on /u04
</pre>
So the above commands back up the root filesystem. When it finishes, the tape is left positioned after the root backup.
How do I backup the rest (inside files). I mean when for instance I backup /var/ does this mean that I back up everything inside the /var directory including all the sub-directories?
So I have several backups on the same tape. When I put the tape on and do a ufsrestore, you see only the first backup.(I suppose I have to rewind the tape before the restore , correct?
"Want to see the second backup? Do:
<pre>
mt -f /dev/rmt/0cn fsf 1
</pre>
first. This will skip the first backup and leave you positioned at the second."
what happens when I do a ufsrestore -i
Am I able to choose ??
Thank you for your help
5 More Discussions You Might Find Interesting
1. HP-UX
Hi this is Ramana.sv new to this group, please help me about my question,
i am using HP-UX11.11i with oracle 10G this server is in india and i have another server in US with same HP-UX with oracle10G, what i want is i want to rename the local database in local HP server and copy the database from... (0 Replies)
Discussion started by: mcseramana
0 Replies
2. Shell Programming and Scripting
hi all
i need to transfer files from one server to another,but i have to make up a backup with a datestamp on the destination server beore i move the new files from the source to the destination server.
example
source server destination server
a.sun a.sun
b.sun ... (0 Replies)
Discussion started by: bkan77
0 Replies
3. AIX
Hi ,
Can you suggest me how to back to back printing in UNIX? Is there any way?
Kindly advise.
Regards
Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies
4. IP Networking
Hi every body,
Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber.
Note it is direct connection & there is no switches between the servers.
I'm concern about using HBA adapters, it is possible or not.
Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies
5. What is on Your Mind?
Hi all,
I used to post here years ago, and was a moderator, my old username: zazzybob.
Anyway, after a few years away focusing on my career, I'm back and keener than ever to get involved in the unix.com community again.
I'm looking forward to getting back into the swing of things, helping... (11 Replies)
Discussion started by: tokiwinter
11 Replies
LEARN ABOUT MOJAVE
mkdevmaps
mkdevmaps(1M) System Administration Commands mkdevmaps(1M)
NAME
mkdevmaps - make device_maps entries
SYNOPSIS
/usr/sbin/mkdevmaps
DESCRIPTION
The mkdevmaps command writes to standard out a set of device_maps(4) entries describing the system's frame buffer, audio, and removable
media devices.
The mkdevmaps command is used by the init.d(4) scripts to create or update the /etc/security/device_maps file.
Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevmaps command
checks for the following files under /dev:
audio /dev/audio, /dev/audioctl, /dev/sound/...
tape /dev/rst*, /dev/nrst*, /dev/rmt/...
floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
removable disk /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
frame buffer /dev/fb
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
allocate(1), bsmconv(1M), attributes(5)
NOTES
mkdevmaps might not be supported in a future release of the Solaris operating system.
SunOS 5.10 8 Oct 2003 mkdevmaps(1M)