Re: Ignite monthly Cleanup (413 Views)
Reply
Advisor
Team_of_5
Posts: 19
Registered: ‎12-14-2010
Message 1 of 7 (549 Views)
Accepted Solution

Ignite monthly Cleanup

Hi,

I wished to keep only one archive image of the server on ignite server. The default value of number of archives is 2, I need to change this default value to 1. Is there any option???

 

Note: we have found there is an option of -n in make_net_recovery for restricting number of archives, other than this any other option to change the default value to 1.

[

* -n number_archives
      Specifies the number of archives that should remain on the
      server at any given time.  The default is two (2).  If
      number_archives is two and there are already two archives
      present when a third is being created, make_net_recovery
      will remove the oldest archive after successfully creating
      the newest archive.]

HP Pro
pradeep m
Posts: 154
Registered: ‎12-08-2010
Message 2 of 7 (527 Views)

Re: Ignite monthly Cleanup

You can also update the number of archives value in the /var/opt/ignite/clients/0xLLA/recovery/defaults file.

 

NOTE: The defaults file stores input specified by interacting with the make_net_recovery GUI. Options are

preserved until the next archive is generated by interacting with the GUI. Command-line options will override settings in the defaults file.

 

The full path for the defaults file is /var/opt/ignite/clients/0xLLA/recovery/defaults on the Ignite-UX server. 

 

Output of Defaults file:
###### defaults file ######
RECOVERY_LOCATION=15.1.2.3:/var/opt/ignite/recovery/archives/client_name
RECOVERY_DESCRIPTION="Recovery Archive"
SAVE_NUM_ARCHIVES=2
ARCHIVE_TYPE=tar

Regards,
Pradeep

I am an HP Employee
Advisor
Team_of_5
Posts: 19
Registered: ‎12-14-2010
Message 3 of 7 (500 Views)

Re: Ignite monthly Cleanup

Hi Pradeep,
This is an informative one, but only few client recovery archive is only "defults" file. Whether we need create the default file or not.
HP Pro
pradeep m
Posts: 154
Registered: ‎12-08-2010
Message 4 of 7 (497 Views)

Re: Ignite monthly Cleanup

The "defaults" file is created automatically for each Ignite-UX client once the make_net_recovery is initiated. The values specified in the make_net_recovery GUI is preserved in the defaults file. 

 

Hope I answered your question.

Regards,
Pradeep

I am an HP Employee
Advisor
Team_of_5
Posts: 19
Registered: ‎12-14-2010
Message 5 of 7 (490 Views)

Re: Ignite monthly Cleanup

Hi Pradeep,

 

thanks for your reply!!

We are taking monthly backup for all the servers which configured in ignite server, but Im not able to see the "defaults" file in any of the client folder [/var/opt/ignite/clients/<Client Mac Address>/recovery/].

 

will it work if we created the file manually.

 

NOTE: we are not at all using GUI method, always firing ignite through command line [Usiing make_net_recovery].

 

Regards,

Team_of_5

Frequent Advisor
Chirag Parikh
Posts: 51
Registered: ‎11-06-2007
Message 6 of 7 (419 Views)

Re: Ignite monthly Cleanup

Hi,

 

Look for /var/opt/ignite/recovery/defaults file, it should have SAVE_NUM_ARCHIVE=2 which means Ignite server will keep two copies of ignite backup for each clients.

 

Thanks & Regards,

Chirag Parikh

Honored Contributor
Bill Hassell
Posts: 14,220
Registered: ‎05-29-2000
Message 7 of 7 (413 Views)

Re: Ignite monthly Cleanup

>> Using make_net_recovery...

 

Since you are running the backup from the command line (I assume from cron), then just add the -n 1 option. You already have the option -x inc_entire=vg00 (I hope you have that option!) so just add -n 1. The usual make_net_recovery command is:

 

make_net_recovery -s server_name -a server_name:/var/opt/ignite/recovery/archives/myHostName -v -n 1 -u -x inc_entire=vg00

 

Note that manually removing backup archives will mess up the automatic removal with the -n option. The CINDEX file must match the actual files that currently exist.

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.