Back up

Status
Not open for further replies.

Heath

Customer
Advanced Certified
Joined
Aug 12, 2017
Messages
287
Reaction score
3
I have a cloud that I use and have mapped the network drive to drive Z that I would like to use to backup the PBX. The only way to access the clouds drive is either map drive or through the website. Under local disk it won’t let me choose any other drive but C: How can am I able to choose another drive but C
 
Windows, given the letters? Can you back up to a local drive and robocopy to the network drive?
 
How do you robo copy
 
It’s a Windows command…run “robocopy /?”. Similar in concept to rsync. Will see mapped drives if run in the user’s context/as the user.
 
SteveITS actually sort of hit upon the issue in his reply, which is how mapping is happening.

If I login as User 1 and I map the network drive, user 2 is unable to see the drive. That's because the mapping is happening in User space.

3CX on windows runs using the services, which are likely using "Local System". Local System cannot see the drive maps of a user.

You have several ways to deal with this. These first 3 are not so great ideas, but still do-able.

1) The above mentioned xcopy/robocopy options
2) mapping the drive in the context of the user running the 3CX services (open up the services control panel applet, see who the "log on as" is set to. You can setup a scheduled task to run as local system that calls a batch file with net use to map a drive in that context
3) change the service to run as the user you are logging in with.

However, the correct way to solve this is built into 3CX - simply backup to SMB instead of local disk.
See, your network mapped drive is connecting to a SMB server already. Simply load that information into 3CX and away you go.
4) use the backup to SMB option
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet