Octeth Training Center
Octeth Training Center
Maintenance

Maintenance

Getting started

What’s NewWhat’s NewRoadmapRoadmapOcteth Training ProgramOcteth Training Program

Installation & Setup

RequirementsRequirementsArchitectureArchitectureServer SetupServer SetupOempro InstallationOempro InstallationCommunity Edition InstallCommunity Edition InstallSSL CertificatesSSL CertificatesVersion UpgradeVersion UpgradeTroubleshootingTroubleshooting

Video Tutorials

Video TutorialsVideo Tutorials

Administration

Quick WalkthroughQuick WalkthroughSecuritySecuritySub Admin AccountsSub Admin AccountsSettingsSettingsDelivery ServersDelivery ServersGlobal SegmentsGlobal SegmentsGlobal Custom FieldsGlobal Custom FieldsBounce ProcessingBounce ProcessingSpam ComplaintsSpam ComplaintsSuppression ListSuppression ListPlug-InsPlug-InsDelivery ReportDelivery ReportUser ManagementUser ManagementMaintenanceMaintenance

Audience Management

IntroductionIntroductionSubscriber ListsSubscriber ListsCustom FieldsCustom FieldsSegmentsSegmentsSubscribersSubscribersWebhooksWebhooksWebsite Event TrackingWebsite Event Tracking

Email Marketing

IntroductionIntroductionAuto RespondersAuto RespondersEmail CampaignsEmail CampaignsSender Domain Man.Sender Domain Man.Journeys (Automation)Journeys (Automation)Bounce ProcessingBounce ProcessingEmail PersonalizationEmail PersonalizationFBL ProcessingFBL ProcessingEmail Builder IntegrationsEmail Builder IntegrationsEmail DeliverabilityEmail DeliverabilitySender Domain ManagementSender Domain Management

Plug-Ins & Add-Ons

AI Plug-InAI Plug-InRSS Plug-InRSS Plug-InBounce Catcher Add-OnBounce Catcher Add-OnLink Proxy Add-OnLink Proxy Add-On

Developers

IntroductionIntroductionSingle Sign OnSingle Sign OnAPIAPIPlug-In DevelopmentPlug-In DevelopmentDatabaseDatabase

Advanced

Reverse ProxyReverse ProxyCookbookCookbook

Help

TroubleshootingTroubleshootingContact UsContact Us

Maintenance

This article explains what to backup at regular intervals. You may apply a different approach for the backup procedure but instructions in this article will give you a big picture view.

File Backup

Oempro files are stored under /opt/oempro/ directory on the server. A complete backup of this directory can be taken manually:

cd /opt/
tar -cvzf oempro.yyyymmdd.tar.gz oempro/

Or you can create a backup script:

mkdir /root/file_backups
touch /root/file_backups/file_backup.sh
>>> Edit the file_backup.sh
#!/bin/bash

fileName="oempro_files_$(date +%s).tar.gz"

echo "Target file: $fileName"

tar -zcvf /root/file_backups/$fileName /opt/oempro/

MySQL Backup

If you are using Oempro’s built-in MySQL Docker container, MySQL data files are stored inside /opt/oempro/_dockerfiles/mysql directory.

You can take a MySQL backup using many different approaches such as InnoDB backup, or regular MySQL dump backup. Below, you can see an example bash script which takes a MySQL dump backup:

mkdir /root/mysql_backups
touch /root/mysql_backups/mysql_backup.sh
>>> Edit the mysql_backup.sh
#!/bin/bash

fileName="oempro_mysql_$(date +%s).sql.gz"

echo "Target file: $fileName"

mysqldump -u root -p"XXXXXXX" -h 192.168.99.108 oempro --column-statistics=0 --single-transaction --quick --lock-tables=false | gzip -9 -c > /root/mysql_backups/$fileName
ℹ️
The MySQL password can be found inside /opt/oempro/.oempro_mysql_env file.

File Structure

Oempro’s data files are stored under:

  • /opt/oempro/_dockerfiles This directory stores MySQL, Elasticsearch, RabbitMQ and Redis data as well as many configuration files for Docker containers.
  • /opt/oempro/data This directory stores Oempro app data such as temporary import files, attachments, embedded images, logs, etc.

On this page

  • Maintenance
  • File Backup
  • MySQL Backup
  • File Structure
💠
image

Homepage Customer Area Community Portal Contact Us

Footer Social Icons

©Copyright Octeth, Inc. All rights reserved.