Veritas NetBackup™ Appliance Commands Reference Guide
- Overview
- Appendix A. Main > Appliance commands
- Appendix B. Main > Manage > FibreChannel commands
- Appendix C. Main > Manage > HighAvailability commands
- Appendix D. Main > Manage > Libraries commands
- Appendix E. Main > Manage > Libraries > Advanced > ACS commands
- Appendix F. Main > Manage > License commands
- Appendix G. Main > Manage > MountPoints commands
- Appendix H. Main > Manage > NetBackup CLI commands
- Appendix I. Main > Manage > OpenStorage commands
- Appendix J. Main > Manage > Software commands
- Appendix K. Main > Manage > Storage commands
- Appendix L. Main > Manage > Tapes commands
- Appendix M. Main > Manage > Certificates commands
- Appendix N. Main > Monitor commands
- Appendix O. Main > Network commands
- Appendix P. Main > Network > Security commands (IPsec)
- Appendix Q. Main > Reports commands
- Appendix R. Main > Settings commands
- Appendix S. Main > Settings > Alerts commands
- Appendix T. Main > Settings > Notifications view commands
- Appendix U. Main > Settings > Security commands
- Appendix V. Main > Support commands
Name
Main > Support > FactoryReset — Reset the appliance to factory default settings.
SYNOPSIS
FactoryReset
FactoryReset ResetAll
DESCRIPTION
Use this command to reset the appliance to the factory default settings. If you changed the default factory-set password, this command resets it back to the default value.
Note:
If you upgrade to version 4.0 from versions 3.1 through 3.3.0.1, you cannot perform a factory reset and retain the backup data. The backup data cannot be retained because the data format was updated during a previous upgrade. The new data format cannot be reverted and the older software versions cannot recognize the new data format. Therefore, the software version still reverts back to an older version, but all of the data will be removed. If you upgrade to version 4.0 from version 3.0, you can perform a factory reset and retain the backup data, but the software version is not reverted and remains at 4.0.
For appliance nodes in a high availability (HA) setup, you must first remove the node from the HA setup and disconnect its Ethernet and Fibre Channel (FC) cables before a factory reset.
Note:
If you attempt to run a factory reset or initiate a rollback to a non-HA checkpoint on a node in an HA setup, the HA setup can malfunction.
Before a factory reset on any HA node, perform the following tasks in the order as they appear:
On the node that you do not want to remove, run the following command to remove the other node from the HA setup:
Manage > High Availability > Remove Node HostName
Where HostName is the host name of the node you want to remove.
Disconnect the Ethernet cables and the FC cables from the removed node.
After completing the previous tasks, you can run the FactoryReset command.
Note:
If you do not remove the node from the HA setup and disconnect the Ethernet and FC cables before a factory reset, the command fails. An error message appears to remind you to perform the previous tasks and then try the factory reset again.
OPTIONS
- FactoryReset
Use this command to reset the appliance to the factory default settings.
- FactoryReset ResetAll
Use this command to reset the appliance factory installed image in non-interactive mode.
EXAMPLES
To begin a factory reset from the appliance shell menu
- Open an SSH session and log on to the appliance as an administrator.
- Enter Main_Menu > Support > FactoryReset. This command shows the following messages and requires you to answer the questions that follow, before the factory reset begins:
[Info] Disable interrupt (CTRL-C), quit, and suspend signals.
[Info] The IPMI sysadmin user and its associated password, status, and permissions have been reset to the default values.
Appliance Factory Reset
Appliance factory reset will reset the entire system to the factory installed image. The appliance will have the following components reset to the factory restored settings/image: 1) Appliance Operating System 2) Appliance Software 3) NetBackup Software 4) Tape media configuration on the primary server 5) Networking configuration (optionally retain) 6) Storage configuration and backup data (optionally retain) 7) Fibre Transport Deduplication target port configuration - [Info] Successfully copied /usr/openv/netbackup/bp.conf to /cat/conf. - [Info] Running factory reset validation...please wait (approx 2 mins) - [Info] Successfully copied /usr/openv/netbackup/bp.conf to /cat/conf. - [Info] Factory reset validation successful. RESET NETWORK CONFIGURATION [Optional] -- Resets the IP and routing configuration. -- Resets the DNS configuration. >> Do you want to reset the network configuration? [yes/no] (yes) no >> WARNING: You are trying to reset the system back to an older software version. The backup data cannot be preserved because the data format was updated during a previous upgrade. The new data format cannot be reverted and the older software version cannot recognize the new data format. ALL DATA WILL BE REMOVED!!! Do you want to continue with the factory reset without preserving the data?? (yes/no) yes >> Resetting the storage configuration will remove all backup data on the storage partitions and any connected expansion units. This is not reversible. Are you sure you want to reset storage configuration? [yes/no] (yes) yes >> A reboot of the appliance is required to complete the factory reset. Reboot automatically after reset? [yes/no] (no) yes >> Automatically rebooting after the reset will not provide you with an opportunity to review the progress/final status of the reset. Are you sure you would like to automatically reboot? [yes/no] (no) yes
- After you respond to these questions, the following summary information is shown:
FACTORY RESET SUMMARY --------------------- Reset Appliance OS, software configuration : [YES] Reset Appliance network configuration : [NO] Reset Appliance storage configuration (REMOVE DATA) : [YES] Auto reboot after reset? : [YES] Appliance will make the following version changes: +------------------------------------------------------------------------------+ | Appliance | Version before factory reset | Version after factory reset | |------------+--------------------------------+--------------------------------| |n40-h129 | NetBackup 8.2 Appliance 3.2 | NetBackup 9.0 Appliance 4.0 | +------------------------------------------------------------------------------+
- The following warning appears. If you want to begin the factory reset operation, enter Yes.
WARNING: An appliance factory reset cannot be reversed! Continue with factory reset? (yes/no) yes
The following summary messages appear as the factory reset continues:
Performing factory reset. This operation could take 15-20 mins. Please wait... - [Info] Skipping NetBackup configuration reset for primary server 'n40-h129'. - [Info] PERFORMING APPLIANCE RESET TO FACTORY STATE - [Info] Delete checkpoints (type: NON_FACT) succeeded - [Info] Successfully copied /usr/openv/netbackup/bp.conf to /cat/conf. - [Info] Reset of the appliance to FACTORY STATE successful. - [Info] Stopping NetBackup processes... (6 mins approx) - [Info] Moving NetBackup Appliance Directory to n40-h129... - [Info] Acquired lock on the storage. - [Info] Resetting the storage configuration... - [Info] Checking whether the 'MSDP' partition exists... - [Info] Initiating deletion of 'MSDP' storage partition... - [Info] Removing the mount point for the 'MSDP' partition '0'... - [Info] Deleting the 'MSDP' partition '0'... - [Info] Checking whether the 'NetBackup Catalog' partition exists... - [Info] Initiating deletion of 'NetBackup Catalog' storage partition... - [Info] Removing the mount point for the 'NetBackup Catalog' partition '0'... - [Info] Deleting the 'NetBackup Catalog' partition '0'... - [Info] Checking whether the 'Share' partition exists... - [Info] The 'Share' partition does not exist. - [Info] Checking whether the 'MSDP Catalog' partition exists... - [Info] Initiating deletion of 'MSDP Catalog' storage partition... - [Info] Removing the mount point for the 'MSDP Catalog' partition '0'... - [Info] Deleting the 'MSDP Catalog' partition '0'... - [Info] Checking whether the 'Configuration' partition exists... - [Info] Initiating deletion of 'Configuration' storage partition... - [Info] Removing the mount point for the 'Configuration' partition '0'... - [Info] Deleting the 'Configuration' partition '0'... - [Info] Checking whether the 'NetBackup VxUpdate Repository' partition exists... - [Info] Initiating deletion of 'NetBackup VxUpdate Repository' storage partition... - [Info] Removing the mount point for the 'NetBackup VxUpdate Repository' partition '0'... - [Info] Deleting the 'NetBackup VxUpdate Repository' partition '0'... - [Info] Checking whether the 'AdvancedDisk' partition exists... - [Info] Initiating deletion of 'AdvancedDisk' storage partition... - [Info] Removing the mount point for the 'AdvancedDisk' partition '0'... - [Info] Deleting the 'AdvancedDisk' partition '0'... - [Info] Checking whether the 'NetBackup Cloud Catalyst Cache' partition exists... - [Info] The 'NetBackup Cloud Catalyst Cache' partition does not exist. - [Info] Optimized Share Reserve does not exist. - [Info] Removing the storage configuration... - [Info] Starting NetBackup processes... (6 min approx) - [Info] Successfully started NetBackup services. Rebooting the appliance now... - [Info] Rebooting appliance to complete the reset. Please reconnect to the appliance shell menu to continue using this appliance. Broadcast message from root@n40-h129 (pts/1) (Sun Jan 12 17:55:22 2020): The system is going down for reboot NOW!