Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to track history of serial struct data? #623

Closed
Chris75forumname opened this issue Nov 25, 2022 · 5 comments
Closed

How to track history of serial struct data? #623

Chris75forumname opened this issue Nov 25, 2022 · 5 comments

Comments

@Chris75forumname
Copy link

Chris75forumname commented Nov 25, 2022

As stated here, "Changes to struct data should be tracked in the revisions history of a page." When I checked I noticed, that changes to serial struct data do not invoke any revision records of that page. In the plugin manual it is stated that rev (revision id of the page) is logged in the database. But, how is that helping with recovery of historical struct data?
If I go to an ancient historical revision of my page (hosting serial struct data), the table is filled with just the recent struct content, not any historical data.

@splitbrain
Copy link
Member

serial data does not track any history

@Chris75forumname
Copy link
Author

Okay, thank you very much! That was the answer I was looking for. BTW, THANK YOU SO MUCH FOR ALL YOUR MAGNIFICENT WORK AND CARE!

@Chris75forumname
Copy link
Author

Chris75forumname commented Nov 25, 2022

  1. So am I right, this is the advantage of the data plugin over the struct plugin, that history of "serial" data can be recovered and diffs can be viewed?
  2. Could I just backup /data/meta/struct.sqlite3 together with a copy of the associated pages at the same timepoint to be able to roll back the history of the data? (assuming that schemas are stored inside this database together with all entries)

@splitbrain
Copy link
Member

  1. there is no such thing as serial data in the data plugin
  2. sure

@Chris75forumname
Copy link
Author

Alright! Thanx! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants