You might try :argentwolf wrote: ↑2021-10-12 19:55 The app I'm most contented with of all is Duplicati in conjunction with Backblaze B2 Cloud Storage. I'm presently backing up several PC's daily to a 4 bay NAS (current capacity: 8326 GB), and approx. 450 GB of data from the NAS encrypted to the cloud.
duplicity with rclone
https://rclone.org/b2/
https://duplicity.gitlab.io/duplicity-web/
Duplicity comes with rclone backend (so you can use rclone integrated with duplicity) and works like a charm, In my own experience, duplicity never got databackup corrupted, you can try to break backup process and never seeems to get corrupted, it knows how to resume backup without getting corrupted.
Or using just B2 backend (duplicity support it)
In theory many protocols for connecting to a file server could be supported; so far
Amazon S3
Backblaze B2
DropBox
.....
ftp
GIO
Google Docs
Google Drive
HSI
Hubic
IMAP
Example of My MEGA backup scritpt with duplicity and rclone backend:
Code: Select all
#!/bin/bash
#
ionice -c2 -n7 -p$$
renice +15 -p $$
export RCLONE_CONFIG_PASS=$(sudo /home/$USER/scripts/secrets.sh XXYY6)
export LOGS=/home/$USER/LINUXDEBS/NOBACKUP/logs
clear
rclone lsf Mega2:
rclone size Mega2:
rclone mkdir Mega2:backres
echo "***** Tamaño ocupado de 10GB *****"
sleep 5
if [ ! -z $(pgrep -f /usr/bin/duplicity) ]
then
exit
fi
lock=$(find "/home/$USER/.cache/duplicity/" -type f -name "lockfile.lock")
if [ ! -z "$lock" ]
then
read -p "Duplicity locked , está seguro de volver a iniciarlo (y/n)?" choice
case "$choice" in
y|Y )
echo "yes"
killall duplicity
find "/home/$USER/.cache/duplicity/" -type f -name "lockfile.lock" -exec rm "{}" \;
;;
* )
echo "no"
exit
;;
esac
fi
duplicity -v 4 --progress --asynchronous-upload --allow-source-mismatch --num-retries=5 --no-encryption --ssl-no-check-certificate --volsize 50 --verbosity=6 --timeout=60 --progress /media/sda5/BACKUPRES rclone://Mega2:/backres 2> /dev/null | tee $LOGS/dupres-`date +%Y-%m-%d_%H:%M:%S`.log
killall duplicity
killall rclone
duplicity remove-all-but-n-full 2 --force --allow-source-mismatch --timeout=60 --ssl-no-check-certificate rclone://Mega2:/backres | tee $LOGS/duprespurgue.log
/home/$USER/scripts/avisa.sh &
I think Duplicaty is a fork of duplicity, anyways, duplicaty never worked for me ..I really love duplicity, borg and rclone