User`s guide

Table Of Contents
Procedure
1. Log in as the fsrepo user.
# su - fsrepo
2. Run the backup command to backup the repository files to /temp/fs-backup.
[fsrepo@localhost~]$ mkdir /tmp/fs-backup
[fsrepo@localhost~]$ db2 CONNECT TO FSREPO;
[fsrepo@localhost~]$ db2 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
[fsrepo@localhost~]$ db2 CONNECT RESET;
[fsrepo@localhost~]$ db2 BACKUP DATABASE FSREPO TO /tmp/fs-backup WITH 2
BUFFERS BUFFER 1024 PARALLELISM 1 COMPRESS WITHOUT PROMPTING;
[fsrepo@localhost~]$ db2 CONNECT TO FSREPO;
[fsrepo@localhost~]$ db2 UNQUIESCE DATABASE;
[fsrepo@localhost~]$ db2 CONNECT RESET;
[fsrepo@localhost~]$ exit
# service FastScale restart
3. Using a backup manager, one that preserves siblings, permissions, and ownership of files, create
backup copies of the required files and directories.
n /opt/FastScale/homebase-server/deployment
n /opt/FastScale/homebase-server/etc/
n /opt/FastScale/homebase-server/keys/
n /opt/FastScale/homebase-server/packages
n /opt/FastScale/homebase-server/profiles
n /opt/FastScale/var/fsadmin/basic
4. Go to /opt/FastScale/homebase-server/bin and run the command to make a snapshot of the
database contents.
./hbs.sh db dump –u admin -p admin <zip file>
Restore the OS Provisioning Repository From Backup
To recover from a OS Provisioning server failure, you reload the databases and restore the files you back
up as part of your recovery plan.
Prerequisites
Verify that the OS Provisioning Server is installed.
Procedure
1. Log in as the fsrepo user.
# su - fsrepo
2. Run the command to restore the database from the backup directory.
[fsrepo@localhost~]$ db2 CONNECT TO FSREPO;
[fsrepo@localhost~]$ db2 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
vCenter Configuration Manager Installation and Getting Started Guide
38 VMware, Inc.