1834450 Members
2612 Online
110067 Solutions
New Discussion

ignite script

 
Richard_115
Frequent Advisor

ignite script

my ignite server is configured to backup images of other servers. I need to automate this process. But since I have space limitation and that I keep 2 copies of the client image on the server, I wonder if there is a way I can script to get onto the server automatically and remove the older image before I begin to dump the new image onto the server.
2 REPLIES 2
Jairo Campana
Trusted Contributor

Re: ignite script

with shell script y crontab ,if know the hour the execution of ignite ,before run script to get onto the server automatically and remove the older image before of begin to dump the new image onto the server.


legionx
John Meissner
Esteemed Contributor

Re: ignite script

you could either have a cron job set to run at certain times to remove the old image....

or you have 2 other options:

telnet (ssh) in and remove it ...or...

install expect
http://expect.nist.gov/
create an expect script that will telnet to the server and remove the image then create a second script that 1st calls the expect script and then launches you ignite process.

hope that helps

All paths lead to destiny