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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

How to restore a specific entity from a daily backup of all entities

pjoly
12-Amethyst

How to restore a specific entity from a daily backup of all entities

hello

I have a daily backup which is creating a folder with containing two files :

Entities.twx  Entities.twx.chk

I would like to restore one Entity (a Thing for example) without writing on the other entities.

Is there a way to select entities to be restored when importing the Entities.twx   (As I have only one THX server I cannot test it )


Thanks

Pascal

ACCEPTED SOLUTION

Accepted Solutions
ankitgupta
12-Amethyst
(To:pjoly)

pjoly​,

As per my understanding; it is not possible to select just one entity from Entities.twx.

The process to import the specific entities would have been easier with a second server.

You can try following:

1. Take the full export of latest entities.

2. Import the Backup Entities.twx; you want to Restore.

3. Export the specific Entities.

4. Import the Export done in Step 1.

5. Import the specific entities exported in Step 3.


I hope it helps.


I would suggest you to take a Source Control entity Export in Future. It exports all the entities as separate xml files. So, it is easy to import specific entities.

View solution in original post

2 REPLIES 2
ankitgupta
12-Amethyst
(To:pjoly)

pjoly​,

As per my understanding; it is not possible to select just one entity from Entities.twx.

The process to import the specific entities would have been easier with a second server.

You can try following:

1. Take the full export of latest entities.

2. Import the Backup Entities.twx; you want to Restore.

3. Export the specific Entities.

4. Import the Export done in Step 1.

5. Import the specific entities exported in Step 3.


I hope it helps.


I would suggest you to take a Source Control entity Export in Future. It exports all the entities as separate xml files. So, it is easy to import specific entities.

pjoly
12-Amethyst
(To:ankitgupta)

Thanks

your explanations are crystal clear!

I'll check if I can use "Source Control entity Export"  for my daily backups


I followed a tutorial in this forum for that entities backup and I am using a timer and


url: "https://MyTHXserver/Thingworx/ExportDatabase/?WithData=false" /* STRING */,


is there an URL for ExportSourceControl ?

Pascal

Announcements


Top Tags