Back up Current Data
On the Ambari Server host, stop the original Ambari Server.
ambari-server stopCreate a directory to hold the database backups.
cd /tmpmkdir dbdumps/cd dbdumps/Create the database backups.
pg_dump -U {ambari.db.username} -f ambari.sqlPassword: {ambari.db.password}where the following:
Variable
Description
Default
ambari.db.username
The database username.
ambari
ambari.db.password
The database password.
bigdata
Create a backup of the Ambari Server meta info.
ambari-server backup

