Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. ################################################################################
  2. # This Plugin allows archiving of folders to different slaves and folders
  3. #
  4. # cycleTime = (Required) - Length between each cycle (Minues)
  5. # 1440 = 1 day | 10080 = 1 week | 43200 = 1 month
  6. #
  7. # X.type = (Required) - ArchiveTypeName
  8. # X.section = (Required) - Section To Archive From
  9. # X.archiveafter = (Optional) - Archive Releases After X minutes
  10. # X.repeat = (Optional) - How many times to check Section during 1 cycle
  11. # X.archiveregex = (Optional) - Which folders to archive using regex
  12. # X.todirectory = (Optional) - Move directory after archive (Section name or FULL path only)
  13. # X.todirectorytype = (Optional) - Type to use while moving dir (alpha/dated)
  14. # X.priority = (Optional) - How high of a priority this ranks over other archives
  15. # X.numofslaves = (Type Specific) - How many different slaves to archive too
  16. # X.slavedeadafter = (Type Specific) - When to not try to mirror (ConstantMirror)
  17. # X.slavename.Y = (Type Specific) - Slaves to archive too
  18. # X.offofslave.Y = (Type Specific) - Slaves to archive OFF of
  19. #
  20. # Examples:
  21. #
  22. # This will archive everything in SECTION1 to 2 different slaves
  23. # (slave1, slave2, or slave3) after 1 week, and if slave doesn't respond
  24. # it will remove after 1 day
  25. # ----------------------------
  26. # X.type=ConstantMirroring
  27. # X.section=SECTION1
  28. # X.archiveAfter=10080
  29. # X.numofslaves=2
  30. # X.priority=3
  31. # X.slaveDeadAfter=1440
  32. # X.slavename.1=slave1
  33. # X.slavename.2=slave2
  34. # X.slavename.3=slave3
  35. # ----------------------------
  36. #
  37. # This will move everything in SECTION1 to 1 slave with the least amount
  38. # of free slave after 1 month.
  39. # ----------------------------
  40. # X.type=MoveReleaseToMostFreeSlaves
  41. # X.section=SECTION1
  42. # X.archiveAfter=43200
  43. # X.numofslaves=1
  44. # X.priority=3
  45. # X.slavename.1=slave1
  46. # X.slavename.2=slave2
  47. # X.slavename.3=slave3
  48. # ----------------------------
  49. #
  50. # This will move directors with 1080i/1080p in SECTION1 off of slave1/slave2
  51. # and move them to 2 slaves with most free space after 1 month.
  52. # ----------------------------
  53. # X.type=MoveReleaseOffSlavesToMostFreeSlaves
  54. # X.section=SECTION1
  55. # X.archiveAfter=43200
  56. # X.numofslaves=2
  57. # X.archiveregex=^.*(1080(p|i)).*$
  58. # X.priority=3
  59. # X.offffslave.1=slave1
  60. # X.offffslave.2=slave2
  61. # X.slavename.1=slave3
  62. # X.slavename.2=slave4
  63. # X.slavename.3=slave5
  64. # ----------------------------
  65. #
  66. # This will move directors with 1080i/1080p in SECTION1 to one
  67. # of the slaves listed after 1 day. It will also move the dir to SECTION2
  68. # in a alpha dir (ie /SECTION2/A - for dirs starting with A)
  69. # ----------------------------
  70. # X.type=MoveReleaseToSpecificSlaves
  71. # X.section=SECTION1
  72. # X.archiveAfter=1440
  73. # X.numofslaves=1
  74. # X.archiveregex=^.*(1080(p|i)).*$
  75. # X.priority=3
  76. # X.slavename.1=slave1
  77. # X.slavename.2=slave2
  78. # X.todirectory=SECTION2
  79. # X.todirectorytype=alpha
  80. # ----------------------------
  81. #
  82. # This will move directors with 1080i/1080p in SECTION1 to
  83. # /folder2/subfolder1/MMdd after 1 day. This will also repeat
  84. # 5 times each cycle. Since there is no slave archiving it can
  85. # move up to 5 directories every cycle time.
  86. # ----------------------------
  87. # X.type=MoveReleaseToSpecificFolder
  88. # X.section=SECTION1
  89. # X.archiveAfter=1440
  90. # X.archiveregex=^.*(1080(p|i)).*$
  91. # X.todirectory=/folder2/subfolder1
  92. # X.todirectorytype=dated:MMdd
  93. # X.repeat=5
  94. # ----------------------------
  95. #
  96. #
  97. ################################################################################
  98.  
  99. cycleTime=30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement