This commit is contained in:
2026-03-21 21:34:42 +00:00
parent 546686ac8c
commit a932232da7
5 changed files with 121 additions and 18 deletions
+52
View File
@@ -0,0 +1,52 @@
!/bin/bash
#-----------------------------------------------------------------------------------------------
#------------------------------------- Rsync command -------------------------------------------
#-----------------------------------------------------------------------------------------------
/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-test/Arrs/
#-----------------------------------------------------------------------------------------------
#-------------------------------------------- Info ---------------------------------------------
#-----------------------------------------------------------------------------------------------
#
# These global configuartions can be added as arguments at the end of the script after folder location
# Its better to add profile in Master.conf for perm changes
# Profiles in Master.conf match the last string of folder location
# if a match is made with a list in Master.conf then the associated profile will be used
# If no match is made it defualts to global defualts
#
#-----------------------------------------------------------------------------------------------
#----------------- User Variables, Please adjust in Master.cong as needed ----------------------
#-----------------------------------------------------------------------------------------------
#
# Does a dry run making no changes
#--dry-run
#
# Network speed limit (KB/s)
#BW_LIMIT=12500
#
# Retry logic
#RETRY_COUNT=3
#
# Sleep between retries (seconds)
#SLEEP=300
#
# Max number of concurrently running rsync processes
#MAX_RSYNC_PROCS=1
#
# Container start/stop/restart before and after rsync
#CRITICAL_CONTAINER_NAMES=()
#
# Containers that need delayed before starting
#DELAYED_CONTAINERS=()
#
# Delay in seconds between starting containers, useful for things like Authelia
#CONTAINER_DELAY=5
#
#-----------------------------------------------------------------------------------------------
#---------------End Of User Variables, Please adjust in Master.cong as needed ------------------
#-----------------------------------------------------------------------------------------------
#
#Examples
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-test/Arrs/ MAX_RSYNC_PROCS=2
#/mnt/user/appdata/unraid_scripts/Rsync/rsync.sh /mnt/user/appdata-test/Arrs/ --dry-run MAX_RSYNC_PROCS=2