To store data from the netinfo-database nidump can be used. This data can be imported again by using niload. The following example shows how to store the /mounts-section from netinfo and import it again.
# nidump -r /mounts . > mounts.raw # cat mounts.raw { "name" = ( "mounts" ); CHILDREN = ( { "name" = ( "gate:/data" ); "dir" = ( "/gate" ); "vfstype" = ( "nfs" ); "opts" = ( "-s", "-P", "-b" ); } ) } # niload -r /mounts . < mounts.raw