Retrieving Your FreePBX Backup

The backup is created in a directory that is not visible to the comma user. As such, the file must first be moved before it can be retrieved using WinSCP or Filezilla.

To move the backup to the /home/comma/ directory, simply open putty, enter the IP address of the PBX, and selecting SSH , with the appropriate port (default is 22). Then expand the SSH tab in the side menu and paste the command below into the "Remote Command" input field:

sudo cp -R /var/spool/asterisk/backup/3CXconfig /home/comma | sudo chown comma:comma /home/comma/3CXconfig

Enter the IP Address and port, and select SSH

Then select the SSH menu from the side bar, and paste the command into the Remote Command field.

NOTE: The name of the backup needs to be the same as that specified in the instructions on how to create a FreePBX backup for 3CX conversion. If the names do not match, the command above will not work correctly.

After running the command, the backup should now be located in /home/comma/3CXconfig. Access the device using WinSCP and retrieve the .tgz folder inside /home/comma/


After running the command, the 3CXConfig folder will be present in the /home/comma/ folder

Inside the 3CXConfig folder is the backup, named for the date and time at which it was taken. Copy this on to your computer.