Backup to Proton Drive with restic and rclone
Install rclone
sudo -v ; curl https://rclone.org/install.sh | sudo bash
This is needed because Debian 12 install rclone too old, without ProtonDrive support
Configure rclone
rclone config
Chose ProtonDrive and add user and password
Install restic
sudo apt install restic
Inizialize restic repository
restic init -r rclone:[nameof remote rclone]:[dir in ProtonDrive]
Backup a folder
restic -r rclone:[nameof remote rclone]:[dir in ProtonDrive] backup [dir to backup] --compression auto --verbose --exclude-file=[file name]
Where:
* [nameof remote rclone] –> name of remote set in during rclone config
* [dir in ProtonDrive] –> directory in ProtonDrive where to save the backup
* [file name] –> a text filename with in the list of dir and files to exclude from backup