- Joined
- Aug 15, 2017
- Messages
- 500
- Reaction score
- 57
3CX makes it difficult to backup the system to a windows network share. only google, ftp or local drive is an option.
If you run 3cx on a windows machine (not on a virtual server) it is not simple to create a backup unless you install a ftp server on your file-server. Even using a symlink mapped to a windows share to backup to a local folder will not work.
However you can use a virtual disk for the backup:
use the diskmgmt.msc snap in to create a vhdx virtual disk on a network share
create a diskpart script on the local machine, contents:
select vdisk file="\\fileserver\pbx-backup\pbx-backup.vhdx
attach vdisk
select part 1
assign letter=D
save that as c:\disk-part-mount.txt on the local disk
create a schedule with the taskschd.msc:
general : create the schedule using a saved local administrators account
trigger: on system start
action: run a program: diskpart
arguments: /s c:\disk-part-mount.txt
save and reboot
the vhdx should now be mounted automatically
run the 3cx backup assistant and point it to the local drive d:
I dont understand why 3cx makes it so hard to create a backup on a windows server , but using this receipe is is possible.
If you run 3cx on a windows machine (not on a virtual server) it is not simple to create a backup unless you install a ftp server on your file-server. Even using a symlink mapped to a windows share to backup to a local folder will not work.
However you can use a virtual disk for the backup:
use the diskmgmt.msc snap in to create a vhdx virtual disk on a network share
create a diskpart script on the local machine, contents:
select vdisk file="\\fileserver\pbx-backup\pbx-backup.vhdx
attach vdisk
select part 1
assign letter=D
save that as c:\disk-part-mount.txt on the local disk
create a schedule with the taskschd.msc:
general : create the schedule using a saved local administrators account
trigger: on system start
action: run a program: diskpart
arguments: /s c:\disk-part-mount.txt
save and reboot
the vhdx should now be mounted automatically
run the 3cx backup assistant and point it to the local drive d:
I dont understand why 3cx makes it so hard to create a backup on a windows server , but using this receipe is is possible.