Restoring
PowerFlex Manager returns user-created data to an earlier configuration that is saved in a backup file. To restore from a backup, you need to run a script outside of
PowerFlex Manager. The user interface does not support the ability to restore from a backup.
Prerequisites
Before you begin the restore procedure, you need to satisfy these prerequisites:
The restore cluster must be exactly the same
PowerFlex version and Kubernetes version.
The restore cluster must have exactly the same IP addresses and configuration.
The cluster configuration must be the same as the cluster configuration where the backup was taken.
All Kubernetes nodes must have the same IP addresses.
All Kubernetes nodes must have the same names.
All LoadBalancer IP addresses must be the same.
About this task
CAUTION:Restoring an earlier configuration restarts
PowerFlex Manager and deletes data created after the backup file to which you are restoring. Any running jobs could be terminated as well.
Steps
Login to the node where the
PowerFlex Manager platform (PFMP) installer was initially run.
Run the restore script that is included with the installer bundle:
./restore_backup.sh
Provide details as needed to complete the execution of the script.
You will be prompted to provide the SSH username and password. In addition, you will be asked to specify whether the passwords are the same for all nodes, and also provide the location of the backup file and the encrypted password for the file. You may also be asked to provide the CIFS username and password. The CIFS credentials may not be required for a CIFS share that allows for anonymous access.
NOTE:The passwords must be in base64 encoded format.
To complete the execution of the restore script, you must specify whether the restore operation will be performed on an existing cluster or a new cluster.
Here is a snippet that shows a sample run of the restore script:
[root@sheetal-installer scripts]# ./restore_backup.sh
/usr/local/lib/python3.8/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Installation logs are available at <Bundle root>/PFMP_Installer/logs/ directory. More detailed logs are available at <Bundle root>/atlantic/logs/ directory. PFMP Installer is about to reset a PFMP cluster based on the configuration specified in the PFMP_Config.json.
Please enter the ssh username for the nodes specified in the PFMP_Config.json[root]:root
Are passwords the same for all the cluster nodes[Y]?:Y
Please enter the ssh password for the nodes specified in the PFMP_Config.json. Password:
Please enter backup file location - Example CIFS: \\1.2.3.4\Lab\backup\file.tgz
Please enter CIFS username. Press enter to skip if username is not required:administrator
Please enter CIFS password(base64 encoded). Press enter to skip if username is not required: UmFpZDR1cyE=
Please enter encryption password for backup file (base64 encoded): UmFpZDR1cyE=
Perform restore on existing cluster? Please enter yes/y or no/n :
Results
The restore process prints out status information until the restore is complete.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\