How to use 3CXBackupCmd in Debian

Oleksii

SOHO User
Joined
Oct 3, 2024
Messages
34
Reaction score
8
Hi!

I'm trying to backup 3CX using the 3CXBackupCmd command in 3CX version 20 on Debian.

The help states that you need to run this command as the phonesystem user:
https://www.3cx.com/docs/backup-restore-command-line/

I'm logging in as root.
But either way, I get an access error.
root@3cx:~# sudo -u phonesystem 3CXBackupCmd --help
find: Failed to restore initial working directory: /root:

Can you tell me how to find out the password of a phonesystem user?
How do I properly archive from a command line in version 20?
 
Run it outside of /root:
/root# sudo -u phonesystem 3CXBackupCmd --help
find: Failed to restore initial working directory: /root: Permission denied


:/# sudo -u phonesystem 3CXBackupCmd --help
Info: 3CX Backup command line tool.
(...)
 
  • Like
Reactions: Oleksii

Forum statistics

Threads
111,954
Messages
589,922
Members
164,852
Latest member
priya