Closed dirkjanfaber closed 6 months ago
Without looking into it, my bet is that venus-data-reset-all.tgz is venus-data-reset-settings.tgz, right?
Oh and please add a fixed length numbered prefix, so it is clear in which order things run.
@jhofstee Can you review https://github.com/victronenergy/meta-victronenergy/compare/master...faberd/issue-1139 ?
@dirkjanfaber : what is the minimum Venus OS version for these files to work? Is that the same version for which todays venus-data.tgz works, which is v2.12 ?
And can you arrange uploading the files to the webserver as well? (I'll email you where they should go)
isn't this working since v2.30?, see https://github.com/victronenergy/meta-victronenergy/commit/469760fef4ed2ee977f482c997ac24c2678222c5
@dirkjanfaber wrt documenting:
these three should only go into the venus os large manual I think, right? you do that?
Same for this one I suppose?
No normal user can do anything with what is on there. Its for backupping Node-RED flows - right?
Which leaves only this one:
and that already exists, just with a different name.
Uploaded the files to the webserver, accessible via https://www.victronenergy.com/upload/software/venus-factory-default/ + the file name. E.g. https://www.victronenergy.com/upload/software/venus-factory-default/venus-data-00-backup-data-partition.tgz
Updated the venus-os:large documentation and the root-access documentation.
This commit made it possible to use more filenames on an inserted usb stick while booting.
The following files need to be added to https://victronenergy.com/upload/software/venus-factory-default/ (and documented)
venus-data-00-backup-data-partition.tgz
- copies all that is on the data partition onto the usb stickvenus-data-20-signalk-reset.tgz
- wipes everything from/data/conf/signalk/
venus-data-30-signalk-delete-data-logs.tgz
- removes all signalk logingvenus-data-20-node-red-reset.tgz
- wipes all in/data/home/nodered/
venus-data-90-reset-all.tgz
- reset all to defaults (remove everything from/data/
besidesvenus/
)venus-data-*.tgz
files to a webserver.Adding multiple files on a single USB stick should also work. The order of processing the files is alphabetical, which means that no new additions should be put before the b(ackup).
And when the script is ready with its tasks, the GX should give an (optional?) sound to notify the user that it has done its tasks.