Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################################################
- # This Plugin allows archiving of folders to different slaves and folders
- #
- # cycleTime = (Required) - Length between each cycle (Minues)
- # 1440 = 1 day | 10080 = 1 week | 43200 = 1 month
- #
- # X.type = (Required) - ArchiveTypeName
- # X.section = (Required) - Section To Archive From
- # X.archiveafter = (Optional) - Archive Releases After X minutes
- # X.repeat = (Optional) - How many times to check Section during 1 cycle
- # X.archiveregex = (Optional) - Which folders to archive using regex
- # X.todirectory = (Optional) - Move directory after archive (Section name or FULL path only)
- # X.todirectorytype = (Optional) - Type to use while moving dir (alpha/dated)
- # X.priority = (Optional) - How high of a priority this ranks over other archives
- # X.numofslaves = (Type Specific) - How many different slaves to archive too
- # X.slavedeadafter = (Type Specific) - When to not try to mirror (ConstantMirror)
- # X.slavename.Y = (Type Specific) - Slaves to archive too
- # X.offofslave.Y = (Type Specific) - Slaves to archive OFF of
- #
- # Examples:
- #
- # This will archive everything in SECTION1 to 2 different slaves
- # (slave1, slave2, or slave3) after 1 week, and if slave doesn't respond
- # it will remove after 1 day
- # ----------------------------
- # X.type=ConstantMirroring
- # X.section=SECTION1
- # X.archiveAfter=10080
- # X.numofslaves=2
- # X.priority=3
- # X.slaveDeadAfter=1440
- # X.slavename.1=slave1
- # X.slavename.2=slave2
- # X.slavename.3=slave3
- # ----------------------------
- #
- # This will move everything in SECTION1 to 1 slave with the least amount
- # of free slave after 1 month.
- # ----------------------------
- # X.type=MoveReleaseToMostFreeSlaves
- # X.section=SECTION1
- # X.archiveAfter=43200
- # X.numofslaves=1
- # X.priority=3
- # X.slavename.1=slave1
- # X.slavename.2=slave2
- # X.slavename.3=slave3
- # ----------------------------
- #
- # This will move directors with 1080i/1080p in SECTION1 off of slave1/slave2
- # and move them to 2 slaves with most free space after 1 month.
- # ----------------------------
- # X.type=MoveReleaseOffSlavesToMostFreeSlaves
- # X.section=SECTION1
- # X.archiveAfter=43200
- # X.numofslaves=2
- # X.archiveregex=^.*(1080(p|i)).*$
- # X.priority=3
- # X.offffslave.1=slave1
- # X.offffslave.2=slave2
- # X.slavename.1=slave3
- # X.slavename.2=slave4
- # X.slavename.3=slave5
- # ----------------------------
- #
- # This will move directors with 1080i/1080p in SECTION1 to one
- # of the slaves listed after 1 day. It will also move the dir to SECTION2
- # in a alpha dir (ie /SECTION2/A - for dirs starting with A)
- # ----------------------------
- # X.type=MoveReleaseToSpecificSlaves
- # X.section=SECTION1
- # X.archiveAfter=1440
- # X.numofslaves=1
- # X.archiveregex=^.*(1080(p|i)).*$
- # X.priority=3
- # X.slavename.1=slave1
- # X.slavename.2=slave2
- # X.todirectory=SECTION2
- # X.todirectorytype=alpha
- # ----------------------------
- #
- # This will move directors with 1080i/1080p in SECTION1 to
- # /folder2/subfolder1/MMdd after 1 day. This will also repeat
- # 5 times each cycle. Since there is no slave archiving it can
- # move up to 5 directories every cycle time.
- # ----------------------------
- # X.type=MoveReleaseToSpecificFolder
- # X.section=SECTION1
- # X.archiveAfter=1440
- # X.archiveregex=^.*(1080(p|i)).*$
- # X.todirectory=/folder2/subfolder1
- # X.todirectorytype=dated:MMdd
- # X.repeat=5
- # ----------------------------
- #
- #
- ################################################################################
- cycleTime=30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement