This topic describes the components of PolarTools. This topic also describes how to download and install PolarTools.
PolarTools is a set of PolarDB client tools for Linux. PolarTools consists of the following tools:
- psql: the tool used by clients to connect to native PostgreSQL databases.
For more information, see the psql topic on the PostgreSQL official site.
- pg_dump: the logical backup tool of PostgreSQL. You can use this tool to back up a database of a cluster.
For more information, see pg_dump.
- pg_dumpall: the logical backup tool of PostgreSQL. You can use this tool to back up all databases of a cluster at a time.
For more information, see the pg_dumpall topic on the PostgreSQL official site.
- pg_restore: the tool used to restore PostgreSQL databases from backup files that are created by pg_dump and pg_dumpall.
For more information, see the pg_restore topic on the PostgreSQL official site.
Download and install PolarTools
- Download the PolarTools installation package by clicking one of the following links:
- PolarDB for PostgreSQL(Compatible with Oracle) 1.0: PolarTools
- PolarDB for PostgreSQL(Compatible with Oracle) 2.0: PolarTools
- Run the following command to install PolarTools:
rpm -ivh PolarDB-O-Tools-0200-2.0.0-.alios7.x86_64.rpm
After the tool is installed, the tool appears in the /u01/polardb_o_tools_current/bin/ directory of the system.Note Use the name of your installation package to replace the sample name used in the preceding command.