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

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

Highlighted
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

Tags (1)
3 REPLIES 3

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

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?

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?

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

  }

  }

  }

}