Solved Backup to USB drive on Debian Linux

Status
Not open for further replies.

Foiler

Free User
Joined
Jul 31, 2020
Messages
47
Reaction score
6
Is it possible to back up to a local drive and specify a mounted USB memory stick for the Location?

I get System.UnauthorizedAccessException error .. does that just mean I need to set new permissions on /media/usb?

Here is what I did ..

sudo mkdir /media/usb
sudo mount /dev/sda1 /media/usb

Then I set the Location folder to /media/usb

Hoping someone can assist here ..
 
3CX runs as the user 'phonesystem' so that user would need permissions.
 
thanks for that .. I am logged into Debian with root, and battling with the chmod and cannot work how to add new permissions for the user phonesystem .. do I need to first create a user group maybe?
 
thanks for that .. I am logged into Debian with root, and battling with the chmod and cannot work how to add new permissions for the user phonesystem .. do I need to first create a user group maybe?
Look this up on Linux tutorials, Google is your friend ;)

If you ensure that phonesystem has access then you should be fine

PS: USB memory sticks are not known for their reliability, you might want to consider a USB hard drive / SSD drive instead.
 
Is it possible to log into the Debian Linux console with the phonesystem user? I just need the password .. is that available to inspect from the 3CX console?
 
For the safety of your system do not modify the phonesystem user or try to add/change its password!

There are better ways to achieve what you want. It's best to get someone who is familiar with Linux to help you.
 
Solved .. the usb stick was formatted FAT32 which does not support permissions and the default was read-only .. changed the format to ext4 and the backup to USB now works.

ext4 was the only format option I could get to work with the command "mkfs.ext4 /dev/sdb1" .. for some reason the ntfs and vfat format options will not run.
 
  • Like
Reactions: JohnS_3CX
Glad to hear!
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,832
Messages
589,278
Members
164,662
Latest member
DejanMDS