Unraid => Apps => search for rclone and install the one with Waseh's Repository in it
create password file output => https://hostingcanada.org/htpasswd-generator/
From unraid terminal:
echo "htpasswdOutput" > /boot/config/plugins/rclone/.htpasswd
Unraid => Settings => User Scripts => Add New Script
name it rclone_gui
Click cog icon next to rclone_gui => Edit Script
Copy the contents of rclone_gui.sh to the text box.
Change Schedule Disabled to At First Array Start Only
Click Apply at bottom of User Scripts page. This will make it start automatically after every reboot.
To manually start it now click Run In Background. Now the UI is started on http://unraidIP:7559
Open the UI http://unraidIP:7559 and login
Under Configs create two configurations:
- Provider type is
local - Provider type is
Google Drive(detailed directions at https://rclone.org/drive/#making-your-own-client-id)
In Krusader create a new folder at /media/appdata/rclone-logs
Unraid => Settings => User Scripts => Add New Script
name it rclone_gdrive_backup
Click cog icon next to rclone_gdrive_backup => Edit Script
Copy the contents of rclone_gdrive_sync.sh to the text box and save
- Make sure you replace
gdriveConfigNamewith the name of the drive config you made earlier - Modify the backup location (
/mnt/user/backups/gdrive) if you want it to backup somewhere else
Choose the schedule you want to run the script on, hourly is a good start.
Unraid => Settings => User Scripts => Add New Script
name it rclone_nextbutt_backup
Click cog icon next to rclone_nextbutt_backup => Edit Script
Copy the contents of rclone_nextbutt_sync.sh to the text box and save.
- Double check and modify the source and destination folders
Choose the schedule you want to run the script on, hourly is a good start.
scripts adapted from https://www.reeltalk.club/2020/06/13/backups-setting-up-encrypted-rclone-gsuite-in-unraid/