Files
Varaverk/Rsync/README_Rsync_Setup.md
T

23 lines
1.0 KiB
Markdown

This is the Rsync Setup Guide
This guide is a work in progress
First git Repository need installed at /mnt/user/appdata/unraid_scripts/
Then made executable, copy and paste contents of git_pull_execute.sh script to a new script in unRAID User Scripts
in unRAID User Scripts, to use scripts in git
Create a new Script and name it whatever
You can copy contents of user_script_pluin.sh and paste then change acordingly
or
add a line pointing to script plus local folder to be synced
Exampl = /mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-test/Arrs/
This opens the script and passes the folder over as an argument
This allows for multiple rsync ops running off a single core script
All changes made to 1 single core script then works for all user scripts that point to rsync.sh
The Master.conf file is where all user changeable variables live, This is for all scripts
A common.sh file also is used to share all common codes that multiple scripts use
This allows for easier managment of scripts, editing, and what not