Operating System - HP-UX
1753758 Members
4876 Online
108799 Solutions
New Discussion юеВ

Golden image with make_sys_image

 
DENJEAN
Occasional Advisor

Golden image with make_sys_image

Hi,

I try to backup my unix system (HPUX 11.11) with the command make_sys_image.
It's ok, but the filesystem created before the backup isn't in then compressed file.
I don't know why?
Version make_sys_image is 10.313
Version ignite C.6.7.79

Can you help me please?
Thank's
12 REPLIES 12
Mustafa Gulercan
Respected Contributor

Re: Golden image with make_sys_image

hi;
/make_sys_image stores the archive image in the default directory /var/tmp. You can also have it save the image to a remote server that allows remote access from this client. Whichever method you choose, you need to have sufficient disk space to hold the image. The amount of disk space needed is approximately one-half the amount of data contained on your golden system (assuming about 50% compression ratio provided by gzip).

regards;
mustafa
V. Nyga
Honored Contributor

Re: Golden image with make_sys_image

Hi,

what's your complete command?

Volkmar
*** Say 'Thanks' with Kudos ***
DENJEAN
Occasional Advisor

Re: Golden image with make_sys_image

Hi,

Command:
/opt/ignite/data/scripts/make_sys_image -v -R -s local -d /var/tmp/image/rahan/archives -n rahan_sys.gz -w rahan_sys.log
V. Nyga
Honored Contributor

Re: Golden image with make_sys_image

Hi,

the new image is created (new time stamp)?
No error messages during creation?
How do you check stored filesystem - with reinstalling the image?

I don't have the '-R' option, what is it for?

The archive directory is not linked or mounted, is it?

V.
*** Say 'Thanks' with Kudos ***
HPCS France
Advisor

Re: Golden image with make_sys_image

Hi

I think you had forgotten 2 options:
make_sys_image ..... -n archive_name
-m (archive format t for tar c for cpio )
-c (compression :g for gzip ,z for compress)

ex: make_sys_image -n archive_name -m t -c g

refer to man make_sys_image for more explains
DENJEAN
Occasional Advisor

Re: Golden image with make_sys_image

Hi,

The backup is created without error.
When I execute the command:
gzcat | tar vft -
I don't see my filesystem in volume vg00
(For example /var/tmp/image)
So, I see the directory /var/tmp/image in the backup, but not the content (All files under the directory)
The first once, the system restore was right, only the filesystem /var/tmp/image (/etc/fstab wasn't good in backup???)

'-R' option it's then level 1 recovery (Network, hostname). I'm surprise because the file archive is small??? (340 Mo).
Without ths option, backup is in level 2 (and file archive is 1,3Go). I don't try the recover whith this backup.

The archive directory is not linked, is in filesystem /var/tmp/image in volume vg00

Thank's for your help.

Didier
V. Nyga
Honored Contributor

Re: Golden image with make_sys_image

Hi again,

if '-R' is level 1 recovery (Network, hostname) then for me it seems to be not a complete image (only network and hostname settings?).

I propose not to use this option and check that 'level 2' image.

From 'man make_sys_image' you don't have to use -m and -c because tar and gzip are default settings.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Enrico P.
Honored Contributor

Re: Golden image with make_sys_image

Hi,
with the command

/opt/ignite/data/scripts/make_sys_image -s local -x |more

you can see the files that will be excluded from the archive.

/etc/fstab and /var/tmp are in the list

Enrico
Scot Bean
Honored Contributor

Re: Golden image with make_sys_image

Just a note, most folks do not use make_sys_image to "backup" the system. This command creates a generic tar ball used create/install cloned machines with ignite.

For backup, most folks use make_net_recovery, which I would recommend if that is what you are trying to do.