Ask a question
IBM TechXchange Dev Day: Virtual Agents
Join us 23 January from 11 AM - 6 PM ET as over 30 speakers from IBM and key AI industry leaders discuss the latest AI trends.
powervc-backup
powervc-restore
#uname -arLinux ipx-x-x-x.pok.stglabs.ibm.com 3.10.0-862.2.3.el7.ppc64 #1 SMP Mon Apr 30 12:43:39 EDT 2018 ppc64 ppc64 ppc64 GNU/Linux
powervc backup
#powervc-backupContinuing with this operation will stop all PowerVC services. Do you want to continue? (y/N):yStopping PowerVC services...Backing up the databases and data files...Database and file backup completed. Backup data is in archive /var/opt/ibm/powervc/backups/20191113034328611738/powervc_backup.tar.gzStarting PowerVC httpd services...Starting PowerVC bumblebee services...Starting PowerVC services...PowerVC backup completed successfully.
#uname -arLinux ipx-x-x-x.pok.stglabs.ibm.com 3.10.0-957.10.1.el7.ppc64le #1 SMP Thu Feb 7 07:19:03 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux
#powervc-restore --targetdir=/root/powervc_backup.tar.gzContinuing with this operation will stop some PowerVC services and overwrite critical PowerVC data in both the database and the file system. Do you want to continue? (y/N):yUsing archive /root/powervc_backup.tar.gz for the restore.Starting restore of PowerVC from backup file..Stopping services: panko, swift, gnocchi, validator, clerk, health, ceilometer, nova, neutron, ego, cinder, glance ...Stopping services: bumblebee ...Restoring the databases and data files...Stopping db services...Starting db services...Updating data to use management address of ipx-x-x-x.pok.stglabs.ibm.com...Updating data to reflect the management system has changed...Updating configuration files from version 1.4.3.0...Starting all PowerVC services...PowerVC restore completed successfully.