backup openbravo

2
Tuesday, 10 April 2012 19:10 Wirabumi Software Backup Openbravo How to Back up Openbrav o ERP This article describes how to backup your Openbravo. Openbravo backup is an important activity, since you do not want to lose your Openbravo operational data and configuration. When you backup your Openbravo, you need to use snapshoot.xml as a tool which is available on a form of files that can be downloaded he re. After downloading, copy your snapshoot.xml file to your Openbravo installation folder (OPENBRAVO_HOME). Backup 1. open ter minal, go to OPEN BRAVO_H OME 2. if running on Windows, run command bellow : ant -f snapshoot.xml 3. if running on Linux, run comm and bellow: sudo ant -f snapshoot.xml Wait for moment, snapshoot.xml is doing backup your Openbravo. Backup file (zip) will be located in parent folder of OPENBRAVO_HOME with file name format <context_name>_<timestamp>.zip. In this backup file, will include all source and SQL script of your Openbravo database. But, not included any classes that deployed on your Tomcat. Restore 1. delete all files on OPENBRAVO_HOME 2. extract all files on your Openb ravo backup file to OPEN BRAV O_HOM E 3. open ter minal, go to OPEN BRAVO_H OME 4. if run on Window s, run command bellow: ant -f snapshoot.xml restore 5. if running on Linux, run comm and bellow: sudo ant -f snapshoot.xml restore 6. deploy your Openbravo, run comm and bellow: ant smartbuild Create Another Openbravo Instance Your Openbravo backup file can be used as a tool for creating new Openbravo instance. This is very usefull, for example: you have been developing Openbravo, and you want to apply your development to other machine. Run steps bellow to create another Openbravo Instance: 1. create new OPENBRAVO_H OME , you can d o it on the same or different machine 2. extract all files on your Openb ravo backup file to this new OPE NBRAVO_HOME 3. edit openbra vo.properties o n OPEN BRAV O_HOM E/config, Set their variable according to this new database and Tomcat, especially database name and context name 4. open te rminal, go to this new OPEN BRAVO_HOM E 5. if running on Windows, run command bellow : ant -f snapshoot.xml restore 6. if running on Linux, run comm and bellow: sudo ant -f snapshoot.xml restore Indonesian (ID) English (United Kingdom) CONTACT US -------------------------------------- Zaien Aji Trahutomo [email protected] + 62 89 777 20002 -------------------------------------- Putra Agung Harlan Jayadi [email protected] +62 817 333 990 --------------------------------------  LOGIN Username Password Remember Me LOGIN Forgot your password? Forgot your username? Create an account  WIRABUMI SOFTWARE Openb rav o ERP, Openb rav o POS, Pentaho BI, Ac tiviti BPM. World Best Syst em Integrator  search... Home De velopme nt Tutorial Product Blog Openbravo Indonesia

Upload: achrefo-mh

Post on 10-Oct-2015

16 views

Category:

Documents


0 download

TRANSCRIPT

  • 19/01/13 Backup Openbravo

    www.wirabumisoftware.com/en/installopenbravoerp/53-backupopenbravowindows 1/2

    Tuesday, 10 April 2012 19:10 Wirabumi Software

    Backup Openbravo

    How to Backup Openbravo ERP

    This article describes how to backup your Openbravo. Openbravo backup is an important activity, since

    you do not want to lose your Openbravo operational data and configuration. When you backup your

    Openbravo, you need to use snapshoot.xml as a tool which is available on a form of files that can be

    downloaded here . After downloading, copy your snapshoot.xml file to your Openbravo installation

    folder (OPENBRAVO_HOME).

    Backup

    1. open terminal, go to OPENBRAVO_HOME

    2. if running on Windows, run command bellow:

    ant -f snapshoot.xml

    3. if running on Linux, run command bellow:

    sudo ant -f snapshoot.xml

    Wait for moment, snapshoot.xml is doing backup your Openbravo. Backup file (zip) will be located in parent folder of

    OPENBRAVO_HOME with file name format _.zip. In this backup file, will include all source

    and SQL script of your Openbravo database. But, not included any classes that deployed on your Tomcat.

    Restore

    1. delete all files on OPENBRAVO_HOME

    2. extract all files on your Openbravo backup file to OPENBRAVO_HOME

    3. open terminal, go to OPENBRAVO_HOME

    4. if run on Windows, run command bellow:

    ant -f snapshoot.xml restore

    5. if running on Linux, run command bellow:

    sudo ant -f snapshoot.xml restore

    6. deploy your Openbravo, run command bellow:

    ant smartbuild

    Create Another Openbravo Instance

    Your Openbravo backup file can be used as a tool for creating new Openbravo instance. This is very usefull, for

    example: you have been developing Openbravo, and you want to apply your development to other machine. Run steps

    bellow to create another Openbravo Instance:

    1. create new OPENBRAVO_HOME, you can do it on the same or different machine

    2. extract all files on your Openbravo backup file to this new OPENBRAVO_HOME

    3. edit openbravo.properties on OPENBRAVO_HOME/config, Set their variable according to this new database and

    Tomcat, especially database name and context name

    4. open terminal, go to this new OPENBRAVO_HOME

    5. if running on Windows, run command bellow:

    ant -f snapshoot.xml restore

    6. if running on Linux, run command bellow:

    sudo ant -f snapshoot.xml restore

    Indonesian (ID)

    English (United Kingdom)

    CONTACT US

    --------------------------------------

    Zaien Aji Trahutomo

    [email protected]

    + 62 89 777 20002

    --------------------------------------

    Putra Agung Harlan Jayadi

    [email protected]

    +62 817 333 990

    --------------------------------------

    LOGIN

    Username

    Password

    Remember Me

    LOGIN

    Forgot your password?

    Forgot your username?

    Create an account

    WIRABUMI SOFTWAREOpenbravo ERP, Openbravo POS, Pentaho BI, Activiti BPM. World Best System Integrator

    search...

    Home Development Tutorial Product Blog Openbravo Indonesia

  • 19/01/13 Backup Openbravo

    www.wirabumisoftware.com/en/installopenbravoerp/53-backupopenbravowindows 2/2

    1000 symbols left

    Send

    JC omments

    Last Updated on Monday, 21 May 2012 14:26

    7. deploy your Openbravo, run command bellow:

    ant smartbuild

    ADD COMMENT

    Name (required)

    E-mail (required, but will not display)

    Website

    Notify me of follow-up comments

    Refresh

    OPENBRAVO ERP

    Install

    Configure

    User Guide

    OPENBRAVO POS

    Install

    Configure

    User Guide

    OPENBRAVO JAVA POSTGRESQL APACHE TOMCAT

    Copyright 2013 Wirabumi Openbravo Indonesia. All Rights Reserved.