Article ID: 3196, created on Nov 30, 2007, last review on Apr 30, 2014

  • Applies to:
  • H-Sphere


Following is the list of directories and files to back up and recover. Backup can be done by means of the H-Sphere backup script on the CP server or manually on other H-Sphere servers.

Item Comment

Control Panel Server
/hsphere/local/home/cpanel/hsphere/WEB-INF/classes/psoft_config/ H-Sphere configuration and properties files
/hsphere/shared/SiteStudio/studio/WEB-INF/classes/psoft_config/ SiteStudio configuration and properties files
/hsphere/local/home/cpanel/apache/etc/ Apache configuration and properties files
/hsphere/local/home/cpanel/hsphere/WEB-INF/classes/shiva-templates/IMAGES/ Control Panel icons and images
/hsphere/local/home/cpanel/hsphere/WEB-INF/classes/custom/ Custom Control Panel templates, etc.
/hsphere/shared/SiteStudio/var/websites/ SiteStudio user data
/var/lib/pgsql/ H-Sphere and SiteStudio system databases and database settings
H-Sphere knowledge bases

Web Server
/hsphere/local/home/ User Home Directories
/usr/local/frontpage/ FrontPage Extensions settings
/hsphere/local/config/ httpd and ftp configs
/var/spool/cron/ (Linux)
/var/cron/tabs/ (FreeBSD)
Customer Crontabs
/hsphere/shared/apache/htdocs/phpMyAdmin/ phpMyAdmin configuration file
/hsphere/shared/apache/htdocs/phpPgAdmin/conf/ (HS 2.4.2+)
/hsphere/shared/apache/htdocs/phpPgAdmin/ (before 2.4.2)
phpPgAdmin configuration file
/hsphere/local/network/ ips file, etc.
/hsphere/shared/awstats/wwwroot/cgi-bin/ AWS configs et al.

Mail Server
/hsphere/local/var/vpopmail/etc/ vpopmail settings
/hsphere/local/var/vpopmail/domains/ Mail domains
/var/qmail/control/ Settings for qmail addons
/var/qmail/users/ qmail users
/hsphere/local/config/ httpd and ftp configs
/var/lib/mysql/ (Linux)
/var/db/mysql/ (FreeBSD)
MySQL databases (used to store user settings
for integrated antispam and antivirus software)
/hsphere/shared/apache/htdocs/horde/config/conf.php Horde settings

DNS Server
/etc/named.conf Main DNS config
/hsphere/local/var/named/ DNS zone files

MySQL Server
/var/lib/mysql/ (Linux)
/var/db/mysql/ (FreeBSD)
MySQL settings and databases

User PostgreSQL Server
/var/lib/pgsql/ (Linux)
/usr/local/pgsql/ (FreeBSD)
User postgres settings and databases

System DB Dump

In addition to backing up the pgsql directory on the CP server, the backup script can also create a dump of H-Sphere system database and SiteStudio databases. For this, make sure the following directories are listed:

          PROP_FILE   /hsphere/local/home/cpanel/shiva/psoft_config/
          PROP_FILE   /hsphere/shared/SiteStudio/psoft_config/
          PROP_FILE   /hsphere/shared/SiteStudio/psoft_config/
          PROP_FILE   /hsphere/shared/SiteStudio/psoft_config/
If H-Sphere database is large, the dump can take several hours to complete. You can speed it up by setting
in postgresql.conf. When you are done, unset this option back for safety reasons.

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF