06-08-2007
Quote:
Originally Posted by onthetopo
1.I want to have a cloned disk as bootable backup
2.When booting using the master drive, I also want to mount the cloned backup disk so I can do incremental backup of certain files
![Roll Eyes (Sarcastic) Smilie](https://www.unix.com/images/smilies/rolleyes.gif)
. and use the clone disk as free disk space.
I think you're looking at this the wrong way.
You have 2 disks, one is larger (backup disk) than the other (primary disk) from what i understand.
In that case, you will partition the primary disk as you wish, but will make them Software RAID volumes. On disk 2 - the backup - you'll create the exact same partitions of the same size, with partition type = Software Raid.
At this point you have one disk fully allocated - the primary, and one which is an exact copy (man sfdisk for the easy way to make an exact copy) plus some free space at the end. Go ahead and create an extra partition for the free space, this will be your backup area.
Configure the software raid (there's thousands of docs on this so i wont repeat), configure your boot loader to boot disk 2 if disk 1 fails, then setup your backup process (rsnapshot?) to backup to the "spare" partition at the end of disk 2.
Hope this helps you see the concept & a more workable way to achieve.
-c
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
hi all
how to find the file duplication in a windows 2000 server
as usual replies are sincerely appreciated.
thanks
raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
2. Shell Programming and Scripting
hi
how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX?
thanks (0 Replies)
Discussion started by: nokia1100
0 Replies
3. UNIX for Dummies Questions & Answers
Hi, I'm stuck in an awkward situation please help
I have two identical Seagate 80GB harddrives.
My objective is a bit strange.
1.I want to have a cloned disk as bootable backup
2.When booting using the master drive, I also want to mount the cloned backup disk so I can do incremental backup of... (2 Replies)
Discussion started by: onthetopo
2 Replies
4. Filesystems, Disks and Memory
Hi, I work offshore and we have a system that records excessive amounts of data (Terabytes), therefore we changed the 16 x 400GB drives to 16 x 1TB drives. However, since doing this, upon bootup, the system does not recognize the new drives. These drives are external drives in a chassis which is... (5 Replies)
Discussion started by: shamrocks
5 Replies
5. HP-UX
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Discussion started by: lamoul
4 Replies
6. Shell Programming and Scripting
Hi there
i need a way ( some sort of script maybe) to check if a mont point exist when but the physical drive does not
for example if i look in / and see that user_data2 directory exist but there is no user_data2 drive.
another hurdle would be that some of the machines have raided drives... (3 Replies)
Discussion started by: ab52
3 Replies
7. UNIX for Dummies Questions & Answers
Hi Guys,
I m using redhat 6, I have installed root partition as non-LVM .
Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies
8. Linux
Hello,
I have install 2 HDD in my server and now installing the Centos6.4.
I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list.
Same problem if i tried to make Software RAID with creating LVM.
Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies
9. Linux
Hi all,
I download and install lessfs for deduplication,
I copy files in /SharedFiles directory and lessfs work right and not store again copy files,
but, when i delete all files in /SharedFiles , not return free space to total space,
files not show in /SharedFiles , but not copy new files in... (3 Replies)
Discussion started by: saeedha
3 Replies
10. UNIX for Beginners Questions & Answers
So while this seemed totally trivial it turned out to be much more difficult than I had thought.
I have a file with 3 rows, and I "just" want to add each field n number of times. E.g.
> cat file.txt
0.5
-0.1
0.6
for n=3 into:
cat newfile.txt
0.5 0.5 0.5
-0.1 -0.1 -0.1
0.6 0.6 0.6
I... (4 Replies)
Discussion started by: Glorp
4 Replies
LEARN ABOUT DEBIAN
bootcdbackup
BOOTCDBACKUP(1) bootcd utils BOOTCDBACKUP(1)
NAME
bootcdbackup - create a bootable offline backup of a unix system
SYNOPSIS
bootcdbackup [-i] [-v] [-s] [-c <config directory>] [-url <url] [-nomount] [-2diskconf <file>] <dev> <name> <builddir>
DESCRIPTION
bootcdbackup creates a offline backup from a installed system. You need a running bootcd to boot the system with. This CD/DVD is booted on
the system and bootcdbackup creates a bootable CD/DVD with the bootcd kernel and the backup disk as tar-file.
To restore or clone the system, boot the CD/DVD image and install it with bootcd2disk -c <name> on the system.
bootcdbackup can try to discover the disk partition by searching for fstab on the given partition. A other way to backup the partition ta-
ble is the program bootcdmk2diskconf which creates a configuration file on a running system.
OPTIONS
-i The bootcdbackup runs in interactive mode and you can run each function manually. This option is useful for debugging.
-v The option "-v" (verbose) adds messages on running.
-s This option can be used to disable interactive questions and to try to ignore errors.
-c <config directory>
The configuration directory which includes the file "bootcdbackup.conf", default is "/etc/bootcd".
-url <url>
If bootcdbackup is slow on your system (because of a slow CD/DVD drive or the HP ILO virtual CD interface), you can use an image server
to get the image from.
bootcdbackup use the SWAP partition of your upcoming system as temporary space and copy the image from the configured image server to
this partition and use it as image. The image server url is configured with this option.
-nomount
The target disk should not be mounted and no search for fstab is done.
--cpio
Normally as backup tool star will be used if selinux files have to be backed up and cpio will be used if not. With this option the
usage of cpio can be forced.
--star
Normally as backup tool star will be used if selinux files have to be backed up and cpio will be used if not. With this option the
usage of star can be forced.
-2diskconf <file>
The parameter configures a bootcd2disk.conf for the restore of the system done by bootcd2disk. The configuration file can be created
with the command bootcdmk2diskconf.
<dev>
Configures the device where bootcdbackup finds the file "fstab" and discover the configuration for the restore.
<name>
The name of the backup (no blanks!) is used on the creation time and to restore the backup with bootcd2disk -c <name>.
<builddir>
Builddir is an directory on the backup system where bootcdbackup build the backup CD/DVD. Space for the CD/DVD image, for compression
and the data is needed!
All other configuration has to be done in the config files.
FILES
/etc/bootcd/bootcdbackup.conf
Configuration for bootcdbackup.
SEE ALSO
Documentation in bootcdbackup.conf
bootcdbackup.conf(5), bootcd(1), bootcdflopcp(1), bootcdwrite(1)
AUTHOR
This manual page was written by Bernd Schumacher <bernd.schumacher@hp.com> and Carsten Dinkelmann <Carsten.Dinkelmann@foobar-cpa.de> for
the Debian GNU/Linux system (but may be used by others).
bootcdbackup 2007-07-05 BOOTCDBACKUP(1)