3 Replies Latest reply on Jun 23, 2017 8:57 AM by pchung RSS
    mpagliotta Apprentice

    How can i move the ThingWorx backup to another drive or folder?

    How can i move the ThingWorx backup to another drive or folder?

    I need to move backups becasue i do not have enough space in my current drive.

     

    Thanks

      • Re: How can i move the ThingWorx backup to another drive or folder?
        pchung Collaborator

        you can use the platform-settings.json to point to a different storage location.

          • Re: How can i move the ThingWorx backup to another drive or folder?
            mpagliotta Apprentice

            hello,

            i checked platform-settings.json in the folder: ThingWorxPlatform and i found only a username and password for PostgreSQL with the JDBC url.

              • Re: How can i move the ThingWorx backup to another drive or folder?
                pchung Collaborator

                Here is a long form

                {

                  "PlatformSettingsConfig": {

                  "BasicSettings": {

                  "BackupStorage": "/PGThingworxBackupStorage",

                  "DatabaseLogRetentionPolicy": 7,

                  "EnableBackup": true,

                  "EnableHA": false,

                  "EnableSystemLogging": false,

                  "HTTPRequestHeaderMaxLength": 2000,

                  "HTTPRequestParameterMaxLength": 2000,

                  "Storage": "/PGThingworxStorage"

                  }

                  },

                  "PersistenceProviderPackageConfigs": {

                  "PostgresPersistenceProviderPackage": {

                  "ConnectionInformation": {

                  "acquireIncrement": 5,

                  "acquireRetryAttempts": 3,

                  "acquireRetryDelay": 10000,

                  "checkoutTimeout": 1000000,

                  "driverClass": "org.postgresql.Driver",

                  "fetchSize": 5000,

                  "idleConnectionTestPeriod": 60,

                  "initialPoolSize": 5,

                  "jdbcUrl": "jdbc:postgresql://localhost:5432/thingworx",

                  "maxConnectionAge": 0,

                  "maxIdleTime": 0,

                  "maxIdleTimeExcessConnections": 300,

                  "maxPoolSize": 100,

                  "maxStatements": 100,

                  "minPoolSize": 5,

                  "numHelperThreads": 8,

                  "password": "newadmin",

                  "testConnectionOnCheckout": false,

                  "unreturnedConnectionTimeout": 0,

                  "username": "twadmin"

                  },

                  "StreamProcessorSettings": {

                  "maximumBlockSize": 2500,

                  "maximumQueueSize": 250000,

                  "maximumWaitTime": 10000,

                  "numberOfProcessingThreads": 5,

                  "scanRate": 5,

                  "sizeThreshold": 1000

                  },

                  "ValueStreamProcessorSettings": {

                  "maximumBlockSize": 2500,

                  "maximumQueueSize": 500000,

                  "maximumWaitTime": 10000,

                  "numberOfProcessingThreads": 5,

                  "scanRate": 5,

                  "sizeThreshold": 1000

                  }

                  }

                  }

                }