I could do that, but how would I get the backup file in the same format that NetBeans produces, so that it would be easy to import/restore when needed?

Is the backup zip file just a copy selected files in the .netbeans directory?


Mitch

On 10/13/21 9:07 AM, Pieter van den Hombergh wrote:
The quickest approach would be to write a wrap script around the script that starts up netbeans.

In that script you could use simple copy or more advanced rsync to backup stuff to a destination of your liking. If that destination has the date as part of the (dir) name, you would have a daily backup. To prevent this to fill up you backup space, the script could drop dirs older than say 14 days.

On Wed, Oct 13, 2021, 15:59 Mitch Claborn <[email protected] <mailto:[email protected]>> 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?
--
    Mitch

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [email protected]
    <mailto:[email protected]>
    For additional commands, e-mail: [email protected]
    <mailto:[email protected]>

    For further information about the NetBeans mailing lists, visit:
    https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
    <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>


---------------------------------------------------------------------
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

Reply via email to