10-10-2012
Quote:
Originally Posted by
fierfek
I would like to get both but datavg is the one i really need. I have tried using mksysb [...]
An "mksysb" is always an image of the
rootvg only. It is used to create a backup set with all the configuration/customization information of a system in place so that it can be set up again fast in case of a machine failure or to clone a system onto another one. In fact mksysb-format backups include boot blocks so it is possible to directly boot a system from such an image and restore it from it in one pass.
There is the more general command "savevg", which creates a backup for any volume group. "mksysb" is in fact using "savevg", but putting a boot block and other information in front of this image. gts1999 already told you about "savevg".
The destination for either a mksysb- or a savevg-image is classically a tape drive, but can be any device or file. Just make sure you have enough room for it on this device/file.
I hope this helps.
bakunin
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
i wanna know that is any such type of backup possible in Solaris or AIX that if my system crashes and i had to format the server.........then i shud be able to build the server with that backup only...........if so how
thx (3 Replies)
Discussion started by: girish_shukla
3 Replies
2. UNIX for Dummies Questions & Answers
Dear All
I have an HP 9000/800 UNIX machine , I have also Oracle applications 11i installed on it , we tried to take backup using fbackup command but it skipped some files ( was for database and the database was up and running ) but it took the other database files.
I need to know also ,... (2 Replies)
Discussion started by: hisham.hamdy
2 Replies
3. UNIX for Dummies Questions & Answers
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
4. SCO
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
5. UNIX for Advanced & Expert Users
hi,
am trying to backup data on cd, cuz i don not have tape device....!!!
i've rewritable CDROM,
am using solaris 10 for x86 on vmware .....
how to make a backup data to a cd_rom againist to tape ?
# ufsdump 0f cd_rom (1 Reply)
Discussion started by: sasame
1 Replies
6. AIX
hi seniors today i took a backup using tar cmd in this i took two files for backup,backup was done succesfully but while viewing using tar -tvf ------- its showiing only one file at a time and i took backup in /etc/hosts,/etc/sen/nes (7 Replies)
Discussion started by: senmak
7 Replies
7. UNIX for Advanced & Expert Users
I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab.
0 0 * * 0,3 cat .bash_history > boo
0 0 * * 0,3 cp .bash_history boo
I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
Discussion started by: cokedude
7 Replies
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
mkimage
MKIMAGE(1) General Commands Manual MKIMAGE(1)
NAME
mkimage - Generate image for U-Boot
SYNOPSIS
mkimage [options]
DESCRIPTION
The mkimage command is used to create images for use with the U-Boot boot loader. These images can contain the linux kernel, device tree
blob, root file system image, firmware images etc., either separate or combined.
mkimage supports two different formats:
The old legacy image format concatenates the individual parts (for example, kernel image, device tree blob and ramdisk image) and adds a 64
bytes header containing information about target architecture, operating system, image type, compression method, entry points, time stamp,
checksums, etc.
The new FIT (Flattened Image Tree) format allows for more flexibility in handling images of various types and also enhances integrity pro-
tection of images with stronger checksums.
OPTIONS
List image information:
-l [uimage file name]
mkimage lists the information contained in the header of an existing U-Boot image.
Create old legacy image:
-A [architecture]
Set architecture. Pass -h as the architecture to see the list of supported architectures.
-O [os]
Set operating system. bootm command of u-boot changes boot method by os type. Pass -h as the OS to see the list of supported OS.
-T [image type]
Set image type. Pass -h as the image to see the list of supported image type.
-C [compression type]
Set compression type. Pass -h as the compression to see the list of supported compression type.
-a [load addess]
Set load address with a hex number.
-e [entry point]
Set entry point with a hex number.
-n [image name]
Set image name to 'image name'.
-d [image data file]
Use image data from 'image data file'.
-x Set XIP (execute in place) flag.
Create FIT image:
-D [dtc options]
Provide special options to the device tree compiler that is used to create the image.
-f [image tree source file]
Image tree source file that describes the structure and contents of the FIT image.
EXAMPLES
List image information:
mkimage -l uImage
Create legacy image with compressed PowerPC Linux kernel:
mkimage -A powerpc -O linux -T kernel -C gzip
-a 0 -e 0 -n Linux -d vmlinux.gz uImage
Create FIT image with compressed PowerPC Linux kernel:
mkimage -f kernel.its kernel.itb
HOMEPAGE
http://www.denx.de/wiki/U-Boot/WebHome
AUTHOR
This manual page was written by Nobuhiro Iwamatsu <iwamatsu@nigauri.org> and Wolfgang Denk <wd@denx.de>
2010-05-16 MKIMAGE(1)