5.3

Table Of Contents
Managing Planned and Unplanned
Outages
51
VMware vFabric Suite 5.3 51
VMware recommends that you always take cold backups of your instances, which means you ZIP or TAR up the instance
directory after stopping the instance.
A hot backup refers to creating a ZIP or TAR file of the instance directory without first stopping the instance. On Unix this
method might be possible, and you likely can fully restore the instance from the hot backup. However, Windows may prevent
you from even creating the hot backup in the first place if Web Server processes are holding locks on files that you are trying to
back up. For this reason, VMware does not recommend hot backups.
The procedure describes how to perform a cold backup.
Procedure
1. Fully shut down the Web Server instances as described in Managing Planned Outages.
2. Create a ZIP or a TAR file of each Web Server instance directory. For example, if your instances are located in the /opt/
vmware/vfabric-web-server directory, and you want to create a TAR file on Unix of the myserver instance:
prompt$ cd /opt/vmware/vfabric-web-server
prompt$ tar cvf myserverBackup-20120922.tar myserver
This creates a TAR file called myserverBackup-20120922.tar with the top-most level being the instance directory
(myserver in this case.)
When using tar, optionally use the j or z option to compress the result using bz2 or gzip, respectively. Compression
results in more efficient tarballs. For example:
prompt$ tar cjvf myserverBackup-20120922.bz2 myserver
prompt$ tar czvf myserverBackup-20120922.gz myserver