LLI Wiki — My Digital Knowledge Base

pCloud on Linux: removal and backup with rclone and borg

Remove the pCloud client, back up the account with rclone then borg, and mount it with rclone.

This note covers removing the pCloud desktop client on Linux and keeping a local, then remote, backup of a pCloud account with rclone and borg.

Remove the pCloud client

Locate the files (run updatedb first if locate lists nothing):

locate pcloud

Delete the following:

~/.pcloud/
~/.config/pcloud/
~/.config/autostart/pcloud.desktop
~/.local/share/applications/appimagekit-pcloud.desktop
~/.local/share/icons/hicolor/*/apps/appimagekit-pcloud.png

Back up pCloud to a local disk with rclone

This assumes an rclone remote named pcloud is already configured:

rclone sync pcloud:/ /mnt/backup_pcloud/ --progress --retries 3 --local-case-sensitive --checkers 16 --transfers 8 --exclude ".Trash*/**" --exclude ".davfs.*"

Copy the local backup to a NAS with borg

export BORG_PASSPHRASE='<PASSWORD>'
borg create --stats --progress --remote-path /usr/local/bin/borg ssh://user@example.com:222/volume1/backups/borg::pcloud-{now:%Y-%m-%d} /mnt/backup_pcloud/

See the note on BorgBackup to a Synology NAS for the repository setup.

Mount pCloud with rclone

An AppImage needs FUSE 2 on Debian/Ubuntu:

sudo add-apt-repository universe
sudo apt install libfuse2

Then mount the remote:

rclone mount pcloud: mnt/pcloud/
Mastodon LLIMastodon SocialFosstodon