...
Code Block | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
echo "CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE('/tmp/db_backup');" > /tmp/db_backup.txt ij /tmp/db_backup.txt |
...