Restore Your System
When you need to restore the Appliance Controller configuration in a clustered NAS environment, you will need to synchronize the sync data to all nodes in the NAS cluster, and then recreate the NAS cluster. However, you can only run the "system restore" command on the master node, and only if it's first removed from the NAS cluster before attempting using the system restore command
on the master node.
- Log in to the Appliance Controller CLI.
- Enter:
- Record current NAS cluster settings.
- Delete the NAS cluster. See Delete a NAS Cluster (return to non-clustered state).
- Perform a "system restore" on the master node. At the prompt, enter:
- Recreate the NAS cluster (using the settings recorded earlier in step 3). See Task 1: Create a NAS Cluster.
nascluster show
system restore
> system restore
Are you sure you want to restore the configuration from backup (Yes/no)? Yes
Restore of configuration in-progress ...
Restore of configuration successful
Restarting services ...
Stopping all services . . .
keepalived
haproxy
winbind
smbd
ctdb
console
appliance_controller
Starting all services . . .
appliance_controller
console
ctdb
smbd
winbind
haproxy
keepalived
If you need to restore the Appliance Controller's configuration file from a previous backup, run the system restore
command. The most recent configuration file will be in the /var directory. However, if you do not want to restore from the most recent configuration file, make sure that the file from which to restore system configuration is in the /var directory.
- Log in to the Appliance Controller CLI.
- Enter:
system restore
> system restore
Are you sure you want to restore the configuration from backup (Yes/no)? Yes
Restore of configuration in-progress ...
Restore of configuration successful
Restarting services ...
Stopping all services . . .
keepalived
haproxy
winbind
smbd
ctdb
console
appliance_controller
Starting all services . . .
appliance_controller
console
ctdb
smbd
winbind
haproxy
keepalived