Following is the list of directories and files to back up and recover.
Item |
Control Panel Server |
/hsphere/local/home/cpanel/shiva/psoft_config/ |
H-Sphere configuration and properties files |
/hsphere/shared/SiteStudio/psoft_config/ |
SiteStudio configuration and properties files |
/hsphere/local/home/cpanel/apache/etc/ |
Apache configuration and properties files |
/hsphere/local/home/cpanel/shiva/shiva-templates/IMAGES |
Control Panel icons and images |
/hsphere/local/home/cpanel/shiva/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 |
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 (H-Sphere 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/horde.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 |
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: