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 |
/hsphere/local/home/cpanel/.kb/
/hsphere/local/home/cpanel/.attachments/ |
H-Sphere knowledge bases |
| /hsphere/local/home/cpanel/shiva/packages |
H-Sphere packages |
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/config.inc.php |
phpMyAdmin configuration file |
/hsphere/shared/apache/htdocs/phpPgAdmin/conf/config.inc.php (HS 2.4.2+)
/hsphere/shared/apache/htdocs/phpPgAdmin/config.inc.php (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
/etc/rndc.conf |
Main DNS config files |
| /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 |
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: