Backup Ambari

You must backup Ambari.

  1. Create Ambari database dump.
    1. On Postgres
      pg_dump ambari -U ambari > pre_upgrade.sql
    2. On MySQL or MariaDB
      mysqldump -u ambari ambari > pre_upgrade.sql
  2. Backup the following:
    /etc/ambari-server/conf/ambari.properties
    /etc/ambari-agent/conf/ambari-agent.ini