Go to main content

Configuring an Oracle® Solaris 11.4 System as a Router or a Load Balancer

Exit Print View

Updated: November 2020

Importing and Exporting Configurations

The export and import subcommands are used to move a configuration from one system to another. For example, to set up a back up of ILB using VRRP to have a active-passive configuration, you can just export the configuration to a file and the import it in the back up system.

Unless specifically instructed otherwise, the ilbadm import command deletes the existing configuration before importing. Omission of a file name instructs the command to read from stdin or write to stdout.

The following example exports the current configuration into the file /var/tmp/ilb_config in a format suitable for importing by using the import command.

$ ilbadm export-config /var/tmp/ilb_config

To import an ILB configuration stored in that same file, you would type:

$ ilbadm import-config /var/tmp/ilb_config

The import operation overwrites the existing configuration.