org.duracloud.sync
Class SyncTool

java.lang.Object
  extended by org.duracloud.sync.SyncTool

public class SyncTool
extends java.lang.Object

Starting point for the Sync Tool. The purpose of this tool is to synchronize all of the files in a given set of local file system directories with a space in DuraCloud. This means that as files are added, updated, and deleted locally, the Sync Tool will perform the same activities on the files within DuraCloud. When the Sync Tool is started for the first time, it will consider all local files under the given directories (recursively) and determine if those files already exist in the DuraCloud space. If not, the files will be added. At that point, the Sync Tool will monitor for updates on the local file system directories and make updates as needed. If the Sync Tool is turned off or exits for some reason, and is started again pointing to the same work directory it will load its previous state and look through the local file system for files which have changed since it performed its last backup, which it will then sync with DuraCloud.


Constructor Summary
SyncTool()
           
 
Method Summary
 java.lang.String getPrintableHelp()
           
static void main(java.lang.String[] args)
           
 void runSyncTool(SyncToolConfig syncConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncTool

public SyncTool()
Method Detail

runSyncTool

public void runSyncTool(SyncToolConfig syncConfig)

getPrintableHelp

public java.lang.String getPrintableHelp()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009-2011 DuraSpace. All Rights Reserved.