Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are several types of components in the DPOD appliance that should be backed up :

...

Backup software and Static configuration 

For complete software and configuration backup directory /app

you can use the following command :

Code Block
languagebash
themeRDark
 tar zcvf DPOD-bck-full.tar.gz /app

this command will produce archive file of about 1GB.


For partial backup (configuration and specific application files) using the following command :

Code Block
languagebash
themeRDark
tar zcvf DPOD-bck.tar.gz /app/elasticsearch_nodes /app/flume/aggregator_agents /app/flume/balancer_agent /app/flume/syslog_agents /app/flume/wsm_agents /app/hk_keepalive/MonTier-HK-SyslogKeepalive/webapps/MonTier.war /app/hk_keepalive/MonTier-HK-SyslogKeepalive/conf /app/hk_keepalive/MonTier-HK-WsmKeepalive/webapps/MonTier.war /app/hk_keepalive/MonTier-HK-WsmKeepalive/conf /app/hk_resources/MonTier-HK-WdpDeviceResources/webapps/MonTier.war /app/hk_resources/MonTier-HK-WdpDeviceResources/conf /app/hk_resources/MonTier-HK-WdpServiceResources/webapps/MonTier.war /app/hk_resources/MonTier-HK-WdpServiceResources/conf /app/hk_retention/MonTier-HK-ESRetention/webapps/MonTier.war /app/hk_retention/MonTier-HK-ESRetention/conf /app/reports/MonTier-Reports/webapps/MonTier.war /app/reports/MonTier-Reports/conf /app/ui/MonTier-UI/webapps/MonTier.war /app/ui/MonTier-UI/conf /app/scripts 

this command will produce archive file of about 200MB.

...

Backup user configuration data

use the following command example for full backup of the internal DB (change the backup destination directory to your backup directory) :

Code Block
languagebash
themeRDark
echo "CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE('/tmp/db_backup');" > /tmp/db_backup.txt
ij /tmp/db_backup.txt


Backup the Store

Note

It is not recommended to backup the big data store using regular backup software due to its size . You should follow the instruction on how to create snapshot and export the data to HDFS.

...