Sponsored Content
Full Discussion: Roll back the code
Top Forums Shell Programming and Scripting Roll back the code Post 302719039 by Purushotham on Monday 22nd of October 2012 02:38:08 AM
Old 10-22-2012
Roll back the code

Hi

is there any shell script to roll back the code when the code is deployed in a wrong way in production servers

Last edited by Purushotham; 10-22-2012 at 03:46 AM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Comparison, which way to roll?

Hello All, I have been trying to find the right *nix for me. I'm *nix proficient, but not pure admin like a lot of you here. I love FreeBSD, I would only setup FreeBSD systems for work for the longest time. I played with some Linux, not very impressed, until I found Gentoo. I'm now in love with... (0 Replies)
Discussion started by: edua
0 Replies

2. Shell Programming and Scripting

Roll back problem

Hi, I have 5 sub processes which are updating and commiting different records of a single table.I have a problem here.I want to rollback all the transaction if any one of processes fails.Can any one of you gurus suggest how to go about it ? Thanks Tushar Johri (3 Replies)
Discussion started by: tushar_johri
3 Replies

3. Solaris

Patching Roll-back

What is the easiest or preferred way to roll back the solaris cluster patches? My guess is to do a flash archive pre-patch and then install off of that if it doesn't work. Any other ideas? (4 Replies)
Discussion started by: adelsin
4 Replies

4. Solaris

Roll back latest Solaris Patches

Is there an easy way to roll back or uninstall the latest Solaris patch cluster? I'm hoping I don't have to go into each patch that was applied and uninstall them one-by-one. Thanks! (0 Replies)
Discussion started by: bluescreen
0 Replies

5. Red Hat

Roll back patches for RHEL 5

Hi, I want to roll back the packages that are installed during the patch installation of RHEL 5 server. There are in all 110 packages including the kernel package... kernel-2.6.18-274.el5.x86_64.rpm kernel-headers-2.6.18-274.el5.x86_64.rpm How should I proceed ? I don't want to run rpm... (4 Replies)
Discussion started by: aksijain
4 Replies

6. Shell Programming and Scripting

Send correct exit code from child script back to parent

Hello all; hope someone can help me cause I am going crazy trying to find a solution for (what I think is simple) issue...looked hard up and down this forum and tried several "solutions" with no avail...so here's my issue: I have this (parent) script: copylsofdcmcadefttosftpwithmove.sh ... (3 Replies)
Discussion started by: gvolpini
3 Replies

7. Shell Programming and Scripting

Pass back return code for file delete failure

Hello Experts, This script to delete a file is submitted from an SAP system which has 2 servers. When it happens to run on server 1, the delete is successful. When it runs on server 2, the delete always fails. All user accounts and permissions have been adjusted to match on both servers. Is it... (5 Replies)
Discussion started by: SAPDEVEL
5 Replies
PREFIX(1)                                                     General Commands Manual                                                    PREFIX(1)

NAME
prefix - Script that allows you to reconfigure environment variables for multiple installations of a set of software installed on the same machine SYNOPSIS
prefix DESCRIPTION
It is assumed that the software for each installation is all under a single directory whose name is assigned to an environment variable called PREFIX. This arrangement of enabling multiple installations of software on a single machine is useful at many times. On a single server, it can provide for development, test, and production installations of software. Alternatively, on development servers, it allows for multiple development "sandboxes", one for each developer. On production servers, it allows for multiple versions of the production software to be installed. One might be the currently running software, one the previous software kept online as a fall-back, and one a new release of software wich is scheduled to be brought online soon. There are three usages of the prefix script: (1) The interactive usage should be placed as the last line of a user's ".profile". The user must be running the Korn shell (ksh) or the Bourne Again shell (bash). The user is prompted to enter one of the known PREFIX locations, specified in the $HOME/.prefixes file or the /etc/prefixes file. During configuration, the $PREFIX/.prefixrc file is sourced in order to accomplish environment-specific configurations. (2) The non-interactive user configuration does not consult $HOME/.prefixes or /etc/prefixes or prompt the user, but merely configures the environment in accordance with the cmd line argument. (3) The batch command usage is mainly for running commands from cron or running commands in another environment without changing to that environment. Usage (1): . prefix (sets up environment) (2): . prefix <prefix> (non-interactive setup) (3): prefix <prefix> <cmd> <args> (runs cmd configured for PREFIX) This manual page was written for the Debian distribution because the original program does not have a manual page. AUTHOR
Prefix was written by Stephen Adkins <spadkins@gmail.com>, and is part of the App-Options distribution. This manual page was written by Jotam Jr. Trejo <jotamjr@debian.org.sv>, for the Debian systems (but may be used by others). Oct 07, 2010 PREFIX(1)
All times are GMT -4. The time now is 12:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy