Best cloud storage services with CLI for Endian Firewall: (Comparison)

TopLinux

Introduction

Endian Firewall is a hardened, Linux-based UTM appliance that often runs headless or with minimal GUI. Administrators need reliable, secure cloud storage accessible via command line to automate backups, store logs or share configurations. This article reviews the best cloud storage providers offering native or third-party CLI tools on Linux, with a special eye to compatibility with Endian Firewall. We cover pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive plus additional options via rclone.

Top Cloud Storage with CLI Support for Endian Firewall

Comparison Table

Provider Link CLI Tool Free Storage Encryption (at Rest) Linux Support
pCloud pcloud.com pcloudcc, pcloud 10 GB Client-side optional Native
MEGA mega.nz megacmd 20 GB End-to-end Native
Proton Drive proton.me/drive rclone 1 GB End-to-end Via rclone
Filen filen.io filen-cli 5 GB End-to-end Native
Tresorit tresorit.com tresorit-cli 3 GB End-to-end Native
Icedrive icedrive.net icedrive-cli 10 GB Client-side optional Native
Dropbox dropbox.com rclone 2 GB Server-side Via rclone
Google Drive google.com/drive rclone 15 GB Server-side Via rclone

Which One to Choose?

Choice depends on priorities:

  • Privacy Encryption: MEGA, Proton Drive, Tresorit, Filen
  • Free storage: MEGA (20 GB), Icedrive/pCloud (10 GB)
  • CLI maturity: pCloud, MEGA, Filen, Tresorit have official tools
  • Integration flexibility: Providers supported by rclone
  • Pricing Europe-based: Filen (Swiss), Proton Drive (Swiss)

For a minimal-headless Endian Firewall appliance focused on secure automated backups, MEGA and pCloud stand out. If strict zero-knowledge is required, consider Tresorit or Filen.

How to Use Each with CLI

pCloud

Install and mount with pcloudcc:

# Download and install (64-bit example)
wget https://linux.pcloud.com/pcloudcc/x86_64/pcloudcc
chmod  x pcloudcc
sudo mv pcloudcc /usr/local/bin/

# Login
pcloudcc --login you@example.com --password YourPcloudPassword amp

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

MEGA (MEGAcmd)

Official command-line client:

# Install on Debian/Ubuntu
sudo apt update
sudo apt install megacmd

# Login
mega-login you@domain.com YourPassword

# Upload a file
mega-put /etc/fwa.conf /Backup/fwa.conf

# List remote directory
mega-ls /Backup
  

Proton Drive (via rclone)

Configure with rclone:

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

# Configure Proton Drive
rclone config
# Choose n for new remote, name proton
# Storage WebDAV, URL https://drive.proton.me/api/webdav/
# Use HTTP user/pass authentication with your Proton credentials

# List files
rclone ls proton:

# Sync local to remote
rclone sync /etc/fwconfig proton:Backups/fwconfig
  

Filen

Filen provides an official CLI:

# Download and install
wget https://filen.io/downloads/filen-cli-linux-amd64.zip
unzip filen-cli-linux-amd64.zip
chmod  x filen-cli
sudo mv filen-cli /usr/local/bin/

# Authenticate
filen-cli login you@domain.com

# Upload backup
filen-cli upload /etc/fw backup-config

# List your files
filen-cli list
  

Tresorit

Use the official CLI:

# Download Tresorit CLI
wget https://download.tresorit.com/cli/linux/tresorit-cli.tar.gz
tar xzf tresorit-cli.tar.gz
sudo mv tresorit-cli /usr/local/bin/

# Login
tresorit-cli login

# Create a Tresor
tresorit-cli create --name FW_Backups

# Upload folder
tresorit-cli upload FW_Backups /etc/fw
  

Icedrive

Use their CLI tool:

# Install icedrive-cli via npm or download binary
npm install -g icedrive-cli

# Authenticate
icedrive-cli login you@domain.com YourPassword

# Upload file
icedrive-cli upload /etc/fwconfig

# List remote
icedrive-cli ls
  

Dropbox (via rclone)

# Configure Dropbox remote
rclone config
# New remote dropbox, choose dropbox type, follow OAuth

# Sync folder
rclone sync /etc/fwa.conf dropbox:EndianBackups/
  

Google Drive (via rclone)

# Configure Google Drive
rclone config
# New remote gdrive, choose drive, follow OAuth

# Copy backup
rclone copy /etc/fwconfig gdrive:EndianDrive/
  

Typical Problems and Troubleshooting

Authentication Errors
Ensure time synchronization (NTP) on Endian. Invalid timestamps break OAuth and token-based logins.
Mount Failures (pCloud)
Run pcloudcc with --debug to inspect FUSE errors. Check FUSE kernel module is loaded.
Rate Limits (rclone)
Google Drive or Dropbox may throttle high API usage. Lower --transfers or add --tpslimit.
Incomplete Uploads
Check network stability and re-run sync/put commands. Many tools support resume.
Permission Denied
Ensure CLI tools run as a user with proper permissions. For system backups, use a dedicated service account.
Memory Constraints
Endian appliances may have limited RAM. Use lightweight tools like megacmd or rclone with fewer parallel transfers.

By selecting the right provider and CLI tool—based on encryption, free quota, pricing, and support—you can integrate robust cloud backups into your Endian Firewall workflows. Test each solution in a sandbox before production, script login/token refresh, and monitor logs for smooth automated operations.

Be the first to leave a comment

Leave a Reply

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