NAME

tabrestore - replaces the contents of an xCAT database table with the contents in a csv file.


SYNOPSIS

tabrestore table.csv

tabrestore [-? | -h | --help]


DESCRIPTION

The tabrestore command reads the contents of the specified file and puts its data in the corresponding table in the xCAT database. Any existing rows in that table are replaced. The file must be in csv format. It could be created by tabdump. Only one table can be specified.

This command can be used to copy the example table entries in /opt/xcat/share/xcat/templates/e1350 into the xCAT database.


OPTIONS

-?|-h|--help

Display usage message.


RETURN VALUE

  1. The command completed successfully.

  2. An error has occurred.


EXAMPLES


FILES

/opt/xcat/sbin/tabrestore


SEE ALSO

tabdump(8), tabedit(8), dumpxCATdb(1)