Backup file format


#1

Hi,

I had to reinstall WebCore because it wasn’t using git. It deleted all of my pistons. I used the ‘backup pistons’ feature before doing it, but now I see that there’s no way to import. :frowning:

What’s the file format? I have my password and would just like to get the text of the pistons out of the file.

Thanks!


#2

I can’t answer on the restoring of pistons. But I can tell you that you didn’t need to uninstall webcore. You could have added the webcore github settings and linked it to your existing webcore apps in IDE.


#3

It wasn’t giving me the option to update the existing 4 webcore entries (they were setup manually I guess - not sure why I’d do that).

Things seem kind of funky after switching over to the Samsung login system.


#4

If you click on properties of a smartapp in IDE and then go to the source code options, there is the option to link a github repository to that smartapp, then save at the bottom. Then you are able to update from repo to update those apps.

Hopefully one the the minions will be able to help you restore your pistons.


#5

Ugh, thanks… should have looked around in the options first. :slight_smile:


#6

Yah the backup files are fairly useless as no import feature.

Do you happen to have any of your backup bin codes (from red or green screen shots)… with a single code @ady624 has the ability to filter the others…

Looking at the backup to file feature, it would certainly benefit from a warning as it’s always been a work in progress.


#7

Unfortunately I don’t have any of the backup codes for those pistons. I rewrote the pistons last night… so no huge loss (and I’ve stored my backup codes now).

Yeah, a disclaimer or just disabling that item in the UI might be nice. Submitted https://github.com/ady624/webCoRE/issues/67. Will try to make a patch.

Thanks!


#8

Anyone know of a way to download all your piston backup codes without having to go into each piston to get the code?


#9

I agree with @bobbles!! This would really help us out…

I have two other questions:

  1. Should we be saving the green or red backup codes?
  2. Do we need to save the new code each time we edit the piston?

#10

I have been going into the piston (not edit mode) and clicking on the shaded area and the backup code appears. This is the one I have been saving to a spreadsheet. (Only halfway through at the moment).
I’m assuming this one does not change.
image


#11

Yes, you are right. I just did a bit of testing…

The shaded area and the red camera backup code are the same, and did not change when editing… The green camera code DID change each time I edited the piston. (plus the green one forgets the URLs and the specific devices)

I will be using the grey shaded box (or red camera) for all my backup codes…


#12

If you still have the backup and the password that was used to encrypt it I may be able to help you recover these pistons. The backup data includes the backup bin code for each piston so while the backup file itself cannot be imported we should be able to work with the bin codes. I started a private message with you, please reply there if you would like to try that.


#13

Messaged you. Thanks.


#14

Quick follow up here to confirm that the ability to restore from a backup file has been developed and is in testing. @fred909 and a few others facing issues with recovering pistons have been invited to try it out. Needs some work still but this should appear in the next webCoRE release.