Best cloud storage services with CLI for Lakka: (Comparison)

TopLinux

Best Cloud Storage with CLI for Linux Lakka

Linux Lakka is a lightweight gaming distro based on LibreELEC, optimized for retro gaming on low-powered hardware. While it does not ship with full package managers, you can still integrate cloud storage solutions via Docker, static binaries or by compiling minimal CLI tools. This article reviews the top cloud storage services offering CLI clients that can run on Linux Lakka, compares their features in a table, explains which to choose based on your needs, shows example usage for each, and highlights common pitfalls and fixes.

Top Recommendations for Linux Lakka

  • pCloud – easy static binary, up to 10 GB free
  • MEGA – end-to-end encryption, 20 GB free, megacmd static client
  • Proton Drive – privacy-focused, limited free tier, requires rclone
  • Filen – strong encryption, 10 GB free, CLI client
  • Tresorit – zero-knowledge, business-oriented, rclone support
  • Icedrive – modern UI, 10 GB free, rclone and FUSE
  • Backblaze B2 via rclone – pay-as-you-go, minimal footprint
  • Google Drive via rclone – ubiquitous but needs token refresh

Comparison Table

Service Free Storage Encryption CLI Tool Mount Support Official Link
pCloud 10 GB Client-side (optional) pcloudcc FUSE https://www.pcloud.com
MEGA 20 GB End-to-end megacmd FUSE https://mega.nz
Proton Drive 1 GB End-to-end rclone FUSE (rclone) https://proton.me/drive
Filen 10 GB End-to-end filen-cli FUSE (community) https://filen.io
Tresorit 3 GB Zero-knowledge rclone FUSE (rclone) https://tresorit.com
Icedrive 10 GB Client-side rclone / icedrive-cli FUSE https://icedrive.net
Backblaze B2 10 GB Server-side rclone / b2 FUSE (rclone) https://www.backblaze.com/b2/cloud-storage.html
Google Drive 15 GB Server-side rclone FUSE (rclone) https://rclone.org/drive/

Which One to Choose?

Your choice depends on:

  • Storage needs: MEGA and Google Drive give the most free space.
  • Encryption: MEGA, Proton Drive, Filen, and Tresorit offer zero-knowledge.
  • System footprint: pCloud, MEGA, and static rclone builds run nicely on Lakka.
  • Budget: Backblaze B2/B2 via rclone is cheapest per GB beyond free tier.

CLI Usage Examples

1. pCloud (pcloudcc)

Install the static binary:

wget -O pcloudcc https://github.com/pcloudcom/console-client/releases/latest/download/pcloudcc
chmod  x pcloudcc

Authenticate:

./pcloudcc --login your@email.com --password yourpassword

Upload a file:

./pcloudcc --upload /path/to/local/file.txt /remote/path/

Mount via FUSE:

mkdir ~/pcloud
./pcloudcc --mount ~/pcloud

Common issue: “fusermount: permission denied.” Fix by enabling user_allow_other in /etc/fuse.conf or run as root.

2. MEGA (megacmd)

Install megacmd (static):

wget -O megacmd.tar.gz https://mega.nz/linux/MEGAsync/Linux/megacmd-xUbuntu_20.04_amd64.tar.gz
tar -xzf megacmd.tar.gz
cd megacmd-xUbuntu_20.04_amd64
./install.sh

Login:

mega-login your@email.com yourpassword

List remote:

mega-ls /

Download file:

mega-get /remote/file.txt .

Mount:

mega-fuse ~/mega

Common issue: If mount hangs, ensure libfuse2 is installed, or use --allow-other in fuse options.

3. Proton Drive via rclone

Download rclone:

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

Configure Proton Drive:

rclone config
# Choose n) New remote
# Name: proton
# Storage: 27) Proton Drive
# Follow OAuth flow in headless mode

Sync folder:

rclone sync /local/dir proton:/backup

Mount:

rclone mount proton:/ ~/proton --daemon

Common issue: OAuth token expiration. Re-run rclone config reconnect proton:

4. Filen (filen-cli)

Install:

wget https://github.com/filen-io/cli/releases/latest/download/filen-linux-amd64.tar.gz
tar -xzf filen-linux-amd64.tar.gz
chmod  x filen
mv filen /usr/local/bin/

Login:

filen auth login
# Follow interactive prompt

Upload:

filen upload file.txt /root-backup/

Download:

filen download /root-backup/file.txt .

Common issue: “403 Forbidden.” Ensure API token was generated in the web client and exported as FILEN_API_TOKEN.

5. Tresorit via rclone

Configuration:

rclone config
# New remote: tresorit
# Storage: 48) Tresorit
# Follow OAuth steps

List:

rclone ls tresorit:

Mount:

rclone mount tresorit: ~/tresorit --daemon

Note: Tresorit’s business subscription is required for CLI support.

6. Icedrive via rclone

Setup:

rclone config
# New remote: icedrive
# Storage: 31) Icedrive
# Enter token from portal

Sync:

rclone copy /mnt/games icedrive:/lakka-backup

7. Backblaze B2 via rclone

Config:

rclone config
# Storage: 3) Backblaze B2
# Provide account ID and application key

Upload:

rclone sync /path/to/saves b2:lakka-saves

Backblaze B2 is highly affordable for large archives beyond free tier.

8. Google Drive via rclone

Configure:

rclone config
# Storage: 13) Google Drive
# Follow OAuth instructions

Use:

rclone mount gdrive: ~/gdrive --vfs-cache-mode writes

Frequent issue: Refresh token limit reached. Regenerate credentials or use a service account.

Typical Problems and Troubleshooting

  • FUSE permission errors: enable user_allow_other in /etc/fuse.conf or run with --allow-other.
  • Authentication failures: ensure correct OAuth flow for rclone on headless servers (device codes).
  • Mounts hanging: install required libfuse version, run as non-root or adjust --vfs-cache-mode for rclone.
  • Rate limits: split large syncs into smaller batches or add --bwlimit to throttle speed.
  • Token expiry: re-authenticate periodically or use long-lived API keys where available.

Conclusion

For Linux Lakka, choose a solution that balances free storage, encryption, and a lightweight CLI. pCloud and MEGA shine for static binaries, while rclone with Proton Drive, Backblaze B2 or Google Drive is ideal if you’re comfortable with a single unified tool. Test mounts and syncs on your system, and adjust FUSE and OAuth settings to ensure smooth backups of your game saves and media library.

Be the first to leave a comment

Leave a Reply

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