Skip to main content

External Backup Script using Rclone mount

This script is unofficial and not supported by Ultra.cc staff.

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.

Prerequisites

Installation

  • Execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Backup/installer.sh)
  • Type confirm and press ENTER to proceed with the installation.
  • Press 1 and ENTER.
  • Type your rclone remote name, e.g gdrive and press ENTER
  • 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 the Ultra_Backup script. Use crontab.guru to change the interval at the beginning of the line.

Logging

  • Log files can be found at ~/scripts/Ultra_Backup/backup.log

Uninstallation

  • Execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Backup/installer.sh)
  • Type confirm and press ENTER to proceed with the uninstallation.
  • Press 2 and ENTER.

The script will ask you to confirm the uninstallation with YES or NO.

  • Press 1 for uninstall. Press ENTER to confirm.