Rclone is a cool little CLI tool for Linux/WSL that allows you to backup, sync, and even mount various cloud server provider options on your desktop/server and protect your data.
For additional security, you can encrypt the files before they are uploaded to the cloud so even the folder & file names, and file types are encrypted. By doing this client-side encryption you can pretty safely assume your files are free for snooping.
Your password can be two passwords so you can access it from machine as well and recover your archive in case of your device failing.
Once you have a crypt volume setup you can then copy your files manually, sync a directory to the cloud, or even mount your cloud drive as a local directory for easy exploration.
sudo apt install rclone
Then run:
rclone config
Optional: You don’t have to use your own API keys but you’ll be sharing it with everyone else who uses rclone with the default API keys and they throttle the connections with usage. So it’s best to setup your own oauth consent screen and credentials here:
https://console.cloud.google.com/apis/
If you want a detailed guide on configuring rclone for Google Drive check this guide:
https://www.maketecheasier.com/rclone-sync-multiple-cloud-storage-providers-linux/
After you have a cloud account connected and named, you can create a crypt volume on top of it:
https://www.maketecheasier.com/use-rclone-crypt-encrypt-files/
rclone github: