4716 Tenmile Desert Center, CA 92239
760-227-0534 info@techdatapros.com

Automatically backing up your 3CX system

One thing you need to think of with running a 3CX system is making sure you have a current backup of your system. The phone system for a business is usually the single most critical system and without a current backup, you could find yourself in a real world of hurt if you have a client’s system go down and you need to get it back up and running quickly. What most people don’t know is just how easy it is to do automated backups of a 3CX system. In this article, I will show you exactly how to set up a very simple, and yet complete backup of a 3CX IP PBX system.

Getting Setup

Surprisingly enough, everything you need to do an automated backup of your 3CX system is included with the basic 3CX installation. What you may not know is that the 3CX Backup and Restore tool can be called with command line parameters so you that you can easily do a backup from a very simple batch file.


You can actually customize your backup to suite your needs. For example, you may only need to backup the configuration once a week or even once a month, but you may want CDR data and voicemails to be backed up every night. The different options available at:

  • /callrecordings
    • Backs up call recordings for extensions
  • /voicemails
    • Backs up stored voicemails
  • /voiceprompts
    • Backs up voice prompts and music on hold files
  • /callhist
    • Backs up call history tables from the 3CX database
  • /exit
    • Exit the 3CXBackup.exe program when finished

Using these parameters we can create a simple backup script and even have the backup file stored on a network share.

@echo off
echo Launching 3CX backup system…
“C:\Program Files\3CX PhoneSystem\Bin\3cxbackup” backup \\fileserver\backups\3CXBackup.zip /callrecordings /voicemails /voiceprompts /callhist /exit

Once you have this backup script you can then schedule the task using Windows’ Scheduled Tasks manager.