ProjectBackup plugin idea:
The plugin has 2 menu items:
1) Copy default "ProjectBackup.ini" into current project root.
2) Open/Edit "ProjectBackup.ini" from current project root.
Plugin is triggered when leaving a Project (Either switching to another Project or closing editor)
If a "ProjectBackup.ini" is found in Project root folder, it will be read/processed by plugin and backup created.
The "ProjectBackup.ini" could look something like this:
- Code: Select all
[ProjectBackup]
; BackupName special markers
; %project% = name of project
; %date% = current date (yy-mm-dd)
; %time% = current time (hh.mm.ss)
BackupPath=c:\temp\
BackupName=%project%_%date%
Example: If the project is named "MyProject" using the above "ProjectBackup.ini", it would backup the project to "c:\temp\" and name each backup file like "MyProject_2018-07-04.zip"
To disable backup you just rename or delete the "ProjectBackup.ini" file.
----------
If anyone has ideas for improvement (or a complete different way this could be done), please let me know before I start coding the plugin.