Jump to content
  • 0

Setting for not to duplicate a folder


SekriT

Question

4 answers to this question

Recommended Posts

  • 0

Through the UI? No, there isn't a good way, but I've added a feature request for it. 

 

 

However, it may be possible to script it. 

Specifically, any 2.1 or higher versions of StableBit DrivePool come with a "dpcmd" utility, that can be used to set the duplication level. 

 

For instance:

"dpcmd set-duplication s:\path\to\folder\_gsdata_ 1"

This disables duplication on the "s:\path\to\folder\_gsdata_" folder on the pool.

Link to comment
Share on other sites

  • 0

Thanks for requesting it.  You can call this "Exclude files/folders from duplication" option. 

Alex has implemented this in the newest beta version of StableBit DrivePool. 

 

 

 

* [issue #21848] Rewrote dpcmd.exe to accommodate for a more structured command module layout and added a bunch of new 

                 commands (requires command prompt with Administrative rights).
    - Added:
        - ignore-poolpart - Immediately disconnects a pool part from the pool and prevents it from participating in 
                            future pools by placing an ignore tag on it.
        - refresh-all-poolparts - Forces the re-enumeration of all the pool parts and pools.
        - remeasure-pool - Recomputes a pool's file usage statistics.
        - set-duplication-recursive - Recursively sets the duplication count on one or more folders on the pool matching a 
                                      pattern (regex or file pattern).
        - unignore-poolpart - Removes the ignore tag from a pool part, and re-adds it to the pool.

 

You can run "dpcmd set-duplication-recursive" to see the examples for how to do this.

 

 

C:\Users\Administrator>dpcmd set-duplication-recursive e:\ 1 *Sys*

 
dpcmd - StableBit DrivePool command line interface
 
Version 2.2.0.654
 
Setting duplication count recursively to 1 on '\\?\e:\':
 
Matching folder pattern '*SYS*':
 
Duplication count set to 1 on '\\?\e:\SysinternalsSuite\'.
 
C:\Users\Administrator>dpcmd set-duplication-recursive e:\ 1 /.*Sys.*/
 
dpcmd - StableBit DrivePool command line interface
 
Version 2.2.0.654
 
Setting duplication count recursively to 1 on '\\?\e:\':
 
Matching regular expression pattern '.*Sys.*':
 
Duplication count set to 1 on '\\?\e:\SysinternalsSuite\'.

 

 

Setting the "Duplication Count" to "1" disables duplication, setting it to "2" enables it, and setting to higher, sets it to a higher level of duplication.

 

Additionally, you can see the other commands that we've added above. 

 

You can find the download links here:

http://dl.covecube.com/DrivePoolWindows/beta/download/

Grab the 655 or 656 beta build. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...