Operating System - HP-UX
1834395 Members
1518 Online
110066 Solutions
New Discussion

how to automate to do system backup in cron job in ignite server

 
apple
Super Advisor

how to automate to do system backup in cron job in ignite server

dear hpux gurus,
we have ignite server, and there are 4 servers connected to it. currently we are backing up manually doing make net recovery. how can automate the command inside cron job to take the make_net_recovery for the 4 servers fortnight. would appreciate you can share you experience may be u have the more less like the setup. hope to hear from you. thank you
5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: how to automate to do system backup in cron job in ignite server

First create a script to do an automated backup from client to the Ignite server. After checks for sucessfull backups - run script from crontab, redirect the output to log files, analyze log files and so on ...

After that create a cronjob on the Ignite server or wherever you want (can be locally) to create make_net_recovery archives.


regards,
ivan
SKR_1
Trusted Contributor

Re: how to automate to do system backup in cron job in ignite server

SKR_1
Trusted Contributor

Re: how to automate to do system backup in cron job in ignite server

You can check below link too

http://www.governmentsecurity.org/articles/articles2/5187-4555.pdf_fl/5187-4555-106.html

Put this entry in the crontab of root of the clients.

make_net_recovery -smyserver-x inc_entire=vg00 -x inc_entire=vg01-x exclude=/depots


Thanks

SKR
Steven E. Protter
Exalted Contributor

Re: how to automate to do system backup in cron job in ignite server

Shalom,

Take your normal make_net_recovery script.

whence make_net_recovery

Modify your script to insure the path of make_net_recovery is on the PATH variable of the script or that it is run directly with full path.

That is all.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
d_bachelor01
Frequent Advisor

Re: how to automate to do system backup in cron job in ignite server

Hi,

You can add the lines below to your crontab to automate your backup. You can just change to your preferred schedule


30 3 * * 0 /opt/ignite/bin/make_net_recovery -s IGNITE_SERVER -a IGNITE_SERVER:/directory -P s -x inc_entire=vg00 -x exclude=/tmp -x exclude=/var/tmp -d ARCHIVE_NAME -v > /usr/local/logs/ignite.log 2>&1


Regards,
-jef