Open fhennig opened 9 years ago
The Sync plugin just created a file in GDrive for you. GDrive should save backups of the file changes as well which you should be able to restore.
Not tested though.
I don't understand, what do I have to do to get it working?
@greenkeeper This might help: https://support.google.com/docs/answer/190843?hl=en
Google Drive already saves a revision history for every file. The files for the sync plugin are located in G Drive under IITC-SYNC-DATA-V2
@flamusdiu Ok, I installed sync and authorized it. I also see the Folder and a file called uniques[uniques], but I can't download it and I there is no option "Manage revisions ...". I can do both of these things with an image I uploaded for testing purposes. When I change data about unique captures and click the sync link, the data is not updated, the file doesn't change. It appears to be not working correctly.
@greenkeeper meh, I removed mine and now it's not creating. Let me look more at it. This plugin is very odd sometimes. I'll let you know something soon.
Is this still an issue? I can't seem to reproduce it. The import/export feature would be nice for people who don't use the sync plugin, though.
I don't play Ingress at the moment, but it is, theoretically, still an issue. I too think an import / export feature would be nice, the code seems to be there already, I'd implement it myself if I knew JS.
Import/export will not be implemented on a general basis, as per the FAQ. That being said, I DO see the need for an import/export of uniques and anything that can use the sync plugin, like bookmarks. We already have the ability to export Draw Tools, so perhaps Jon can contribute his thoughts?
For the uniques plugin it would only need to have the portion of data that determines if a given portal is unique (guid and the captured/visited data), and for bookmarks, it would only need the portal title and location.
+1 . I would love this feature!
Currently my backup proceedure is to copy the key value from the Local Storage into a doc. However, you have to be aware of the large number of GUIDs available in the files, so whether it starts down the export path is a question. Bookmarks generally have a significantly smaller number of data points.
I wrote an exporter/importer plugin for the Unique captures/visits. See https://github.com/c-schmitz/iitc-unique-export/blob/master/IngressUniqueExporter.user.js
I suggest an import / export functionality for the data from the "uniques" plugin, and also possibly other plugins that already use the "sync" plugin.
I accidently deleted my marked uniques when I cleared my browsing data. I saw that there is the sync plugin, and maybe the code from there could be used to implement a manual import / export function for the uniques plugin. I'd love to backup the data occasionally, otherwise It's not worth the effort to mark portals if the data can get lost easily.