GFDUMP.POSTGRESQL(8) | Gfarm | GFDUMP.POSTGRESQL(8) |
gfdump.postgresql - dump/restore Gfarm metadata
gfdump.postgresql -d [options]
gfdump.postgresql -r [options]
gfdump.postgresql dumps/restores metadata of Gfarm, managed by PostgreSQL running as a backend database. You need to execute this command on the host that the backend database of PostgreSQL is running. The command reads gfmd.conf, the configuration file of gfmd to get access information about the backend database. If gfmd is configured in the non-private mode, the root privilege is required to read the file.
When gfdump.postgresql is executed with -d option, it dumps the database to the file db.out at the current directory.
When it is executed with -r option, it restores the database from the dump file, db.out at the current directory. More specifically, it does the followings.
--prefix path
-P prefix
-l
If the backend database is PostgreSQL, the directory is commonly called PGDATA directory. The default is PREFIX/var/gfarm-pgsql where PREFIX is a prefix given by --prefix option.
-f file
--help
-t
-d
-n
-r
%%SYSCONFDIR%%/gfmd.conf
30 Jan 2015 | Gfarm |