Ambari Reference Guide
Also available as:
PDF
loading table of contents...

Back up Current Data

  1. On the Ambari Server host, stop the original Ambari Server.

    ambari-server stop

  2. Create a directory to hold the database backups.

    cd /tmp

    mkdir dbdumps/

    cd dbdumps/

  3. Create the database backups.

    pg_dump -U {ambari.db.username} -f ambari.sql

    Password: {ambari.db.password}

    where the following:

    Variable

    Description

    Default

    ambari.db.username

    The database username.

    ambari

    ambari.db.password

    The database password.

    bigdata

  4. Create a backup of the Ambari Server meta info.

    ambari-server backup