Skip to content

Allows for rclone to run in the background and backup files while no current Plex streams are active.

Notifications You must be signed in to change notification settings

N3rdP1um23/Server_Auto_Backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Server_Auto_Backup

Allows for rclone to run in the background and backup files while no current Plex streams are active. If a stream is detected, the backup is killed freeing up resources (RAM, CPU, and Bandwidth) for watching content!

Steps

  1. Clone or download repository to your desired computer/server
  2. Open CurrentPlexStreams.sh and modify the following items with your respective values
  3. Open PlexBackup.sh and modify the following items with your respective values
    • <TO> With the location you are going to sync
    • <FROM> With the location you desire to sync the location with
    • Feel free to add/modify/remove item from the rclone command
  4. Setup crontab item to have the backup scheduled
    • Add entry to crontab -- sudo crontab -e
    • Add the following line to the end of the file (best to run script at a lower interval to handle when Plex streams change) --If you would like help setting up your scheduled task Crontab Guru is a great interactive tool
      • * * * * * <PATH_TO_REPO>/PlexBackup.sh -- Will run script every minute
      • Replace the following with the respective path oft he downloaded/cloned repository <PATH_TO_REPO>

About

Allows for rclone to run in the background and backup files while no current Plex streams are active.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages