Saving and Restoring Name-Based Mapping Rules
You might need to back up and restore your name-based mapping rules.
How to Back Up and Restore Name-Based Mapping Rules
-
List the name-based mapping rules and save them to a backup file.
# idmap list >output-file
For more information about the idmap list command, see the idmap(1M) man page.
- (Optional)
Remove all the existing name-based mapping rules. If you attempt to restore the existing
rules, duplicate entries might prevent you from restoring the backed up rules.
# idmap remove -a
-
Run the idmap command with the –f option to read and
execute the idmap subcommands from the backup file.
# idmap -f output-file