ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith wong <ckeiw...@yahoo.com>
Subject Backup before deploy
Date Tue, 22 Nov 2005 00:01:37 GMT
Hello,
I need control remote host thru ssh to tar all backup
file, but I get into problem of "su - " command after
ant <sshexec> in. I not sure how to keep ssh session
and process two steps command to archive. Here is
steps I need to make:
 1. SSH to remote.
 2. su to our user. 
 3. tar all backup and save it to privielge
 restricted location allowed 
 from that "su"ed user.
 4. compress the tar to save space.
 
 Thank you for any input.
 
 Regards,
 Keith


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message