Hi everyone,

I'm new at capistrano, and I'm involved in a (not rails) jboss and
oracle deployment.
As part of the deployment process I need to upload somr tables to be
imported to the production system.

My plan (this part already working) is to create tasks to export the
needed oracle tables on the devel servers to the local capistrano
repository, then let the dump file upload and management to
capistrano.
Then, my idea is to launch some tasks after deploy to import the dump
files on the production oracle servers.
My plan is also to let the capistrano rollback event to re-apply the
previous state if anything fails.

For that, I could just reimport previously deployed files, but the
thing is that some changes can be applied on oracle after the last
deploy, so I would preffer to create a "backup" of the files on the
capistrano remote repository previous import.

The task looks simple, just export the tables to the previous version
directory on the repository but I want to do it following all
capistrano standards as possible.
So, what is the best way to do this? Which maybe can be reduced to:

* Can I directly put things on the remote capistrano repositories? (Im
thinking of locks or any file control capistrano can setup there)
* There's an easy/canonical way to get the "previous version path" on
the remote server?

Many thanks in advance, hope I explained the issue well enough :)

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to