Best cloud storage services with CLI for 3CX Phone System: (Tutorial)

TopLinux

Best Cloud Storage with CLI for Linux 3CX Phone System

Managing backups, call recordings and configuration files for your 3CX Phone System on Linux requires reliable cloud storage with a powerful command-line interface (CLI). Below we review top options—pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive—and add Backblaze B2. You’ll find a detailed comparison table, installation and usage examples for each CLI, common pitfalls and recommendations tailored for Debian-based distributions typically used by 3CX.

Top Recommendations

  • pCloud: Easy setup, optional zero-knowledge encryption (Crypto).
  • MEGA: Generous free tier, built-in end-to-end encryption.
  • Proton Drive: Privacy-first, integrates with ProtonMail ecosystem.
  • Filen: Open-source friendly, Swiss-based zero-knowledge.
  • Tresorit: Enterprise-grade security and compliance.
  • Icedrive: Modern UI, fast transfers, zero-knowledge.
  • Backblaze B2: Ultra-low cost S3-compatible storage.

Comparison Table

Provider Free Tier Paid Plans Encryption Official Linux CLI Link
pCloud 10 GB €4.99/mo (500 GB) Client-side (Crypto add-on) Yes (pcloudcc) https://www.pcloud.com
MEGA 20 GB €4.99/mo (400 GB) Client-side Yes (megacli) https://mega.io
Proton Drive 1 GB €2.49/mo (200 GB) Client-side Yes (proton-drive-cli) https://proton.me/drive
Filen 5 GB €3.99/mo (500 GB) Client-side Yes (filen-cli) https://filen.io
Tresorit None (trial) €12.50/mo (1 TB) Client-side Yes (tresoritcli) https://tresorit.com
Icedrive 10 GB €1.67/mo (150 GB) Client-side Yes (icedrive-cli) https://icedrive.net
Backblaze B2 10 GB 0.005/GB-mo Server-side (client-side via rclone) Yes (b2 via rclone) https://www.backblaze.com/b2

Provider Overviews and CLI Usage

1. pCloud

pCloud provides a native CLI daemon (pcloudcc) to mount and sync folders. Ideal for incremental backups of 3CX recordings.

Installation (Debian/Ubuntu)

# Download and install pcloudcc
sudo apt-get update
sudo apt-get install -y curl
curl -O https://download.pcloud.com/pcloudcc.deb
sudo dpkg -i pcloudcc.deb
sudo apt-get -f install -y

Usage

# Run pcloud daemon
pcloudcc --user your@email.com --pass YourPassword

# Mount to local folder
pcloudcc --mountpoint /mnt/pcloud

# Sync a directory
pcloudcc --sync /var/lib/3cxpbx/Instance1/Data /pcloud/3cx-backups

Common Issues

  • “Mount point busy”: unmount with fusermount -u /mnt/pcloud.
  • Daemon crashes on wrong credentials: check ~/.config/pcloudcc.log.

2. MEGA

MEGA’s CLI (megacmd) supports upload, sync, share and scheduling.

Installation

# Install via official APT repo
sudo apt-get install wget gnupg
wget -qO - https://mega.nz/keys/MEGA_signing.key  sudo apt-key add -
echo deb https://mega.nz/linux/repo/Ubuntu_(lsb_release -rs) / 
  sudo tee /etc/apt/sources.list.d/mega.list
sudo apt-get update
sudo apt-get install -y megacmd

Usage

# Login
mega-login you@email.com YourPassword

# Upload folder
mega-put /var/lib/3cxpbx/Instance1/Data /Backups/3CX

# Sync two-way
mega-sync /Backups/3CX /var/lib/3cxpbx/Instance1/Data

Common Issues

  • “Quota exceeded”: free accounts expire unless used regularly.
  • Sync loops: use flags --local-first or --remote-first.

3. Proton Drive

CLI (proton-drive-cli) built on Proton’s zero-knowledge stack.

Installation

# Install via pip (requires Python3)
sudo apt-get install -y python3-pip
pip3 install proton-drive-cli

Usage

# Login (web-based auth)
proton-drive login

# List remote files
proton-drive ls

# Upload directory
proton-drive upload /var/lib/3cxpbx/Instance1/Data 3cx-backups

Common Issues

  • Web auth timeouts: run in interactive terminal.
  • Large transfers: split into subfolders to avoid API limits.

4. Filen

Swiss-based zero-knowledge with simple filen-cli.

Installation

# Download AppImage
wget https://filen.io/downloads/linux/filen-cli-x86_64.AppImage
chmod  x filen-cli-x86_64.AppImage
sudo mv filen-cli-x86_64.AppImage /usr/local/bin/filen-cli

Usage

# Authenticate
filen-cli auth login

# Upload files
filen-cli upload /var/lib/3cxpbx/Instance1/Data /3cx/backup

# Download
filen-cli download /3cx/backup Data_local

Common Issues

  • “API rate limit”: pause between batches.
  • Path quoting: wrap special chars in quotes.

5. Tresorit

Enterprise security, granular permissions via tresoritcli.

Installation

# Download package
wget https://github.com/tresorit/tresoritcli/releases/download/v1.1.0/tresoritcli_1.1.0_linux_amd64.deb
sudo dpkg -i tresoritcli_1.1.0_linux_amd64.deb
sudo apt-get -f install -y

Usage

# Login
tresorit login

# Sync a folder
tresorit sync /var/lib/3cxpbx/Instance1/Data /3CX_Backups

# List Tresors
tresorit list

Common Issues

  • “Device limit reached”: remove old devices in web UI.

6. Icedrive

Modern, low-overhead CLI (icedrive-cli).

Installation

# Install via snap
sudo snap install icedrive-cli

Usage

# Authenticate
icedrive-cli auth

# Upload backup
icedrive-cli put /var/lib/3cxpbx/Instance1/Data /3CXBackup

# Sync
icedrive-cli sync /3CXBackup /var/lib/3cxpbx/Instance1/Data

Common Issues

  • Snap confinement: may need classic mode.

7. Backblaze B2 (via rclone)

Low-cost S3-compatible storage using rclone.

Installation

# Download rclone
curl https://rclone.org/install.sh  sudo bash

Configuration

rclone config
# Choose b2, enter AccountID and ApplicationKey

Usage

# Sync folder
rclone sync /var/lib/3cxpbx/Instance1/Data b2:3cx-backups

# Check status
rclone ls b2:3cx-backups

Common Issues

  • Large file timeouts: increase --tpslimit.
  • API errors: rotate ApplicationKey.

Which Cloud Storage to Choose?

For small-scale 3CX setups or test environments, MEGA or Icedrive give generous free tiers. For production with strict compliance, Tresorit or Proton Drive shine. pCloud balances cost and ease-of-use, especially with Crypto add-on. If budget is a key concern and you’re comfortable with CLI tools, Backblaze B2 via rclone delivers unbeatable pricing.

Conclusion

Each provider offers a solid Linux CLI to integrate directly with 3CX Phone System backups and call recordings. Evaluate based on storage needs, encryption preferences and budget. Follow the installation and usage examples above, watch for API limits, and set up cron jobs to automate your backup routines.

Be the first to leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *