Skip to main content

Remote Sync Tool

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

This script will facilitate a sync between two directories on two different remote services.

Requirements

  • Both of the remote services need SSH access enabled
  • Rsync needs to be installed on both remote services

Script Installation

  • Login to your remote source service via SSH
  • Execute the Ultra Sync Tool installation script via the following SSH command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Sync/Ultra_sync_installer.sh)
  • Type confirm to proceed with the installation
  • Type 1 and press ENTER
  • Type your remote destination username and press ENTER
  • Type your remote destination hostname and press ENTER
  • Type your remote destination SSH password and press ENTER
  • Type your remote destination SSH port (22) and press ENTER

The script is experimental. Feedback is welcome for improvements via Discord or tickets.

Usage Information

  1. The script will generate an RSA encryption key for the remote source machine and upload it to the destination machine to facilitate passwordless login via SSH.
  2. Once the RSA encryption key is added to your destination machine, the script will create two directories. Ultra_sync directory on your source machine and Ultra_transfer on your destination machine.
  3. Lastly, the script will set up a cron job on your source machine that will run a rsync command every 4 hours. This will sync your data between the two directories.

Do NOT increase the rsync transfer speed if you are using a plan with HDD as this will violate the Fair Usage Policy.

  • The content of directory Ultra_sync on your source machine will sync to Ultra_transfer on your destination machine every 4 hours.
  • If you delete or move data from Ultra_transfer directory on the destination machine it will be re-transferred at the next sync. To avoid this you need to delete the data from the source machine.
  • If you have one of our NVMe plans you can increase the transfer speed by editing the rsync command.
    • To edit the rsync command, execute crontab -e and set --bwlimit=100000
    • Press CTRL+X, you will see a prompt asking to save, press Y and ENTER