wget https://github.com/gilbertchen/duplicacy/releases/download/v2.7.2/duplicacy_linux_x64_2.7.2 chmod +x duplicacy_linux_x64_2.7.2 mv duplicacy_linux_x64_2.7.2 /usr/bin/duplicacy cd /mnt/files_to_backup duplicacy init -e b2 b2://bucket_id echo "DUPLICACY_B2_ID=bucket_id" | sudo tee -a /etc/environment echo "DUPLICACY_B2_KEY=bucket_id" | sudo tee -a /etc/environment echo "DUPLICACY_PASSWORD=bucket_id" | sudo tee -a /etc/environment