09-03-2012 10:57 PM
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.]
Solved! Go to Solution.
09-04-2012 05:29 AM
You can also update the number of archives value in the /var/opt/ignite/clients/0xLLA/recovery/defaults file.
NOTE: The defaults ﬁle stores input speciﬁed 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 ﬁle.
The full path for the defaults ﬁle is /var/opt/ignite/clients/0xLLA/recovery/defaults on the Ignite-UX server.
Output of Defaults file:
###### defaults ﬁle ######
I am an HP Employee
09-10-2012 11:09 PM
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.
I am an HP Employee
09-11-2012 12:49 AM
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].
11-05-2012 02:59 AM
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,
11-07-2012 06:27 PM
>> 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/myHo
stName -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.