Did you see/use Menu>Tools>Options>Import ? Browse to a backed up
userdir, import Project>ProjectGroups. There are many variations you can
have around this.
During startup, a plugin could probably backup userdir (make sure cache
isn't included). I'm not sure what you'd have to do to insure a
consistent picture. With some digging to find the "Options>Export"
action, a plugin could probably invoke it around startup; probably wait
for when UI ready.
Backing it up, a response mentioned rsync, with NetBeans not running
probably avoids any consistency issues.
-ernie
On 10/13/2021 6:59 AM, Mitch Claborn wrote:
Yesterday I accidentally deleted all of my project groups. I was able
to recover from a full computer backup, but I had to search around to
find out where they were stored and then manually restore the files.
To improve my chances of full recovery for the next time I do
something stupid, I want to start backing up my NetBeans config once a
day.
It would be extra-super-cool if NetBeans could do that for me.
Something, like: take a backup on the first startup of NetBeans on a
calendar day, to a specified directory with a date sensitive filename
pattern.
Is such a thing possible? Assuming that it is not a current
capability, is it feasible to write a plugin or a change to the base
system to accomplish this?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists