Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Backup of TOMCAT required

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a doubt that should the backup of TOMCAT be taken as we are going to swap our server to a new one with better congifuration. I will explain the environment of our system a little

1) Application server- JBOSS
2) Web server- Apache & tomcat
3) Application details- Java(1.4.2)

Actually, I had taken the backup of TOMCAT around a week back in preparation of the swap for migration. But, one change is going to happen in our application in the form of a hotfix tomorrow and our migration is scheduled for day after. So, should a backup of TOMCAT be taken after our application hotfix is applied. Also, should a back of java($JAVA_HOME) and ant($ANT_HOME) be taken, we use j2sdk1.4.x for java and apache-ant-1.6.1 for ant.

I hope, my question is clear.

Please, help in solving the doubt.

regards
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Randhir,

If you want to take a safe back up I strongly suggest that the server is cleanly shutdown before doing so. Then backing up the entire Jboss server is a good idea. Be aware of file permissions with your backup/restore, you don't want to restore the server with different file permissions than what was there originally (make sure you investigate the tar/zip/unzip options carefully).

If you haven't edited the Java or Ant installs (java you should almost never, Ant you may have added in a few libs) then there's no need to back those up.
 
randhir sethi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, for your answer. Actually, I had taken a copy of JBOSS, TOMCAT, JAVA, ANT on a running server and put it in the new server. It is working fine.

Will try to keep it in mind if next time we require a back-up. Any specific reason why it should be taken from a server which is shutdown because that requires application down-time and has to be justified.

regards
 
Martijn Verburg
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because of state, during your backup you might for example be picking up a transaction going through the transaction data store, it may have unforseen consequences when you then restore that server and start it up again (it may try to complete that txn again...).
 
Look ma! I'm selling my stuff!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!