1. Back up Current Data

  1. 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.SERVER.USERNAME> ambari > ambari.sql Password: <AMBARI.SERVER.PASSWORD> pg_dump -U <MAPRED.USERNAME> ambarirca > ambarirca.sql Password: <MAPRED.PASSWORD>

    where <AMBARI.SERVER.USERNAME>, <MAPRED.USERNAME>, <AMBARI.SERVER.PASSWORD>, and <MAPRED.PASSWORD> are the user names and passwords that you set up during installation. Default values are: ambari-server/bigdata and mapred/mapred.


loading table of contents...