backup of projects on daily basis to a backup server in network
posted 4 years ago
I would like to do projects backup from one location to another location in network.This sample application has been written in struts.This was achieved by using "org.apache.commons.io.FileUtils"/"Files".My problem here is, when I run this application in netbeans 6.9 IDE tomcat server its working fine. but when I tried to run this application in apache tomcat 7.0 server by deploying this application WAR file,I am getting exception like "java.io.Exception : Destination "destination path" directory can not be created" , this destination path is the another machine in our local network.But it is working fine in the netbeans.But unable to find out the another system path after deployment.I assume some kind of netbeans IDE options are enabling tomcat server to copy folder to a destination directory when i ran it in netbeans tomcat. where as, if i run this application in tomcat server some kind of tomcat file permissions are blocking.
Here both source and destination are shared folders.