DEV Community

leo
leo

Posted on

openGauss:gs_restore

Background Information
gs_restore is an import tool provided by openGauss for the data exported by gs_dump. The export file generated by gs_dump can be imported by this tool.

The gs_restore utility is executed by the operating system user omm.

Main features include:

import to database

If a database is specified in the connection parameters, the data will be imported into the specified database. Among them, the parallel import must specify the password of the connection. Generated columns are automatically updated on import and saved like normal columns.

Import to script file

If the import database is not specified, create a script containing SQL statements necessary to rebuild the database and write it to a file or standard output. Equivalent to exporting directly to plain text using gs_dump.

Top comments (0)