External Backup Script using Rclone mount
This script will back up your application config files, databases, and torrent sessions (not the torrent data). For it to work you need an rclone mount set up on your service.
This is an unofficial script that is provided for your convenience. The script is provided as-is and may not be updated or maintained by Ultra.cc. CustomersClients are welcome to use and customize unofficial scripts for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff. Use at your own risk.
Prerequisites
- Familiarity with the Linux command line.
- Command execution via
SSH.How to connect to your Ultra.cc slot via SSH?SSH - An Rclone mount already setup on your Ultra.cc service.
Installation
- Connect to your service via SSH
- Execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Backup/installer.util-v2/Ultra-Backup/main.sh)
- Type
andconfirm1pressENTER
to proceed with theinstallation. Press1andENTER.installation- Type your
rcloneRclone remote name, e.ggdrive
and pressENTER
to confirm - Done!
Configuration
- At 00:00 on every Sunday the script will now upload the backup to your remote cloud storage.
- To change the backup interval, execute
crontab -e
and find the line with theUltra_Backup
script. Use crontab.guru to change the interval at the beginning of the line.
Logging
- Log
filesfile can be found at~/scripts/Ultra_Backup/backup.log
Uninstallation
- Connect to your service via SSH
- Execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Backup/installer.util-v2/Ultra-Backup/main.sh)
- Type
andconfirm2pressENTER
to proceed with the uninstallation. Press2andENTER.Done!
The script will ask you to confirm the uninstallation with YES or NO.
Press1for uninstall. PressENTERto confirm.