Backup
- Author
- Message
-
Offline
- Posts: 4
- Joined: Wed Oct 21, 2026 8:47 am
Backup
I just started to use this very good program, but I am unable to setup one feature, which is in almost any program - trivial backup ( filename.bak in the same dir as original file) when Save. Tried to set it up in SaveFile, but failed. Is there any sim ple way how to handle this? TIA, Milan
-
Offline
- Posts: 1267
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
Re: Backup
The SaveFile plugin is intended to produce backups.
What exactly does not work for you?
What exactly does not work for you?
-
Offline
- Posts: 4
- Joined: Wed Oct 21, 2026 8:47 am
Re: Backup
I know this plugin, but, as I understand, it works continuosly and saving intermediate states..., but I need to be able to return to the state _before_ I started all editing in current session after open it and started editing (as it is done for example in Notepad++ with option "Backup on save = Simple backup").
-
Offline
- Posts: 1267
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
Re: Backup
This seems to do the job.
But you need to explicitly run this script. For example, by means of the CmdLineEnd manual setting. (Refer to AkelHelp-Eng.htm and to Scripts-Eng.txt for details).
Though the best way is to ask Instructor to update the SaveFile plugin with an option to produce a backup file on each manual save rather than an auto-save.
But you need to explicitly run this script. For example, by means of the CmdLineEnd manual setting. (Refer to AkelHelp-Eng.htm and to Scripts-Eng.txt for details).
Though the best way is to ask Instructor to update the SaveFile plugin with an option to produce a backup file on each manual save rather than an auto-save.
-
Offline
- Posts: 4
- Joined: Wed Oct 21, 2026 8:47 am
Re: Backup
Thanks for advise = just post it there
. And thanks for script - I'll try it.
-
Offline
- Posts: 1267
- Joined: Thu Nov 16, 2006 11:53 am
- Location: Kyiv, Ukraine
Re: Backup
The latest version of the script is here:
https://github.com/d0vgan/AkelPad-Scrip ... pOnSave.js
It will not be needed when the SaveFile plugin is (hopefully) updated, but still this script will be useful as a reference or an example of a resident script that runs in background.
https://github.com/d0vgan/AkelPad-Scrip ... pOnSave.js
It will not be needed when the SaveFile plugin is (hopefully) updated, but still this script will be useful as a reference or an example of a resident script that runs in background.