Difference between revisions of "Appliance Backup FAQ"

From Swivel Knowledgebase
Jump to: navigation, search
m (1 revision imported)
(Appliance Backup FAQ)
Line 36: Line 36:
  
 
A). No
 
A). No
 +
 +
 +
Q). What items are backed up / restored by the "Application Only" backup
 +
 +
A). The "Application Only" backup includes:
 +
* The Tomcat server configuration: /usr/local/tomcat/server.xml
 +
* The Tomcat keystore: /home/swivel/.keystore
 +
* All web applications: subdirectories of /usr/local/tomcat/webapps and /usr/local/tomcat/webapps2
 +
* The MariaDB database as generated by mysqldump. This includes the databases TODO
 +
* The Swivel Home directory: /home/swivel/.swivel
 +
 +
 +
Q). What items are backed up / restored by the "Full" backup
 +
 +
A). The "Full" backup includes everything in the "Application Only" backup plus
 +
* Swivel configuration: /etc/swivel/swivel_config
 +
* The networking configuration: /etc/sysconfig/network-scripts/ifcfg-eth* and route-eth0, /etc/sysconfig/iptables and iptables-config
 +
* The webmin configuration: /etc/webmin
 +
* The mon configuration: /etc/mon, /usr/lib64/mon
 +
* The heartbeat configuration: /etc/ha.d
 +
* The sendmail configuration: /etc/mail/sendmail.mc
 +
* All scripts: /usr/local/bin
 +
* DRBD: /etc/drbd.conf
 +
* SSH: /home/admin/.ssh
 +
* SNMP: /etc/snmp
 +
* Profile: /etc/profile.d/swivel.sh
 +
* User Home: /home/admin
 +
* Database configuration: /etc/my.cnf.d
 +
* Tomcat logs: /var/log/tomcat

Revision as of 09:54, 17 February 2022

Appliance Backup FAQ

For further information see Backup PINsafe How to Guide.

Q). Do Swivel appliances make backups?

A). Yes, every day at 04.00


Q). What does the Swivel appliance backup on its daily backup

A). The daily backup makes a copy of all pinsafe, the MySQL DB where used, all logs and config files from the OS. By default it runs at 4am. If using A/P or internal Swivel data store it shuts down Tomcat for the time it takes to copy the db directory. When backing up a MySQL Db system, it does not stop Tomcat as this is not required.


Q). Do I need to stop Tomcat to backup Swivel

A). If the internal Db is being used then Tomcat MUST be stopped. Failure to do so can result in an invalid data set when the PINsafe is restored. If an external Db such as MySQL, MSSQL, or Oracle is used, the the Tomcat service does not need to be stopped.


Q). Can I make a copy of the backups onto another server

A). Yes Swivel appliances support backups to a remote FTP server, see Automated FTP Backups and Automated SCP Backups


Q). Should I backup all appliances?

A). All Standalone, A/A, A/P and DR appliances should be backed up as they contain configuration information unique to that system


Q). Does the Purge Backups remove local backups

A). Yes


Q). Does the Purge Backups remove remote backups copied by FTP

A). No


Q). What items are backed up / restored by the "Application Only" backup

A). The "Application Only" backup includes:

  • The Tomcat server configuration: /usr/local/tomcat/server.xml
  • The Tomcat keystore: /home/swivel/.keystore
  • All web applications: subdirectories of /usr/local/tomcat/webapps and /usr/local/tomcat/webapps2
  • The MariaDB database as generated by mysqldump. This includes the databases TODO
  • The Swivel Home directory: /home/swivel/.swivel


Q). What items are backed up / restored by the "Full" backup

A). The "Full" backup includes everything in the "Application Only" backup plus

  • Swivel configuration: /etc/swivel/swivel_config
  • The networking configuration: /etc/sysconfig/network-scripts/ifcfg-eth* and route-eth0, /etc/sysconfig/iptables and iptables-config
  • The webmin configuration: /etc/webmin
  • The mon configuration: /etc/mon, /usr/lib64/mon
  • The heartbeat configuration: /etc/ha.d
  • The sendmail configuration: /etc/mail/sendmail.mc
  • All scripts: /usr/local/bin
  • DRBD: /etc/drbd.conf
  • SSH: /home/admin/.ssh
  • SNMP: /etc/snmp
  • Profile: /etc/profile.d/swivel.sh
  • User Home: /home/admin
  • Database configuration: /etc/my.cnf.d
  • Tomcat logs: /var/log/tomcat