Package cloudsync.helper

Examples of cloudsync.helper.Handler.backup()


      handler = new Handler(name, localConnection, remoteConnector, new Crypt(options.getPassphrase()), options.getDuplicate(), options.getFollowLinks(), options.getPermissionType());
      handler.init(type, options.getCacheFile(), options.getLockFile(), options.getPIDFile(), options.getNoCache(), options.getForceStart());

      switch (type) {
      case BACKUP:
        handler.backup(!options.isTestRun(), includePatterns, excludePatterns);
        break;
      case RESTORE:
        handler.restore(!options.isTestRun(), includePatterns, excludePatterns);
        break;
      case LIST:
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.