Backing Up Databases
Backing Up Databases
be/__SBjmHEBfY
To back up a PostgreSQL database, use the same procedure whether the database is
embedded or external:
2. Get the name, user, and password properties for the Cloudera Manager database
from /etc/cloudera-scm-server/db.properties :
3. com.cloudera.cmf.db.name=scm
4. com.cloudera.cmf.db.user=scm
com.cloudera.cmf.db.password=NnYfWIjlbk
5. Run the following command as root using the parameters from the preceding step:
+%Y%m%d)
7. To back up a database created for one of the roles described in Creating Databases
For example, to back up the Activity Monitor database amon created in Creating Databases
for Cloudera Software, on the local host as the root user, with the
password amon_password :
To back up the MySQL database, run the mysqldump command on the MySQL host, as
follows:m
For example, to back up the Activity Monitor database amon created in Creating Databases
for Cloudera Software, on the local host as the root user, with the
password amon_password :
databases.