cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

mpagliotta
1-Newbie

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

3 REPLIES 3
PaiChung
22-Sapphire I
(To:mpagliotta)

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

hello,

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

PaiChung
22-Sapphire I
(To:mpagliotta)

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

  }

  }

  }

}

Top Tags