Page 1 of 4
Backup your tasks
Posted: Mon Mar 27, 2017 10:24 am
by Oleg
To backup your tasks use this task example, please:
[DEMO] Backup your tasks (daily backup).tsk
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.
Do not forget to enable the task after importing.
This task make the incremental backup of your tasks into backup folder.
It crates separate folder for each day (the name based on date).
Of course you can change
Backup folder and amount of the days as you wish. Look at the steps #1 and #3
The same task now included into installation package of RoboTask.
Also you can find more examples here:
http://robotask.com/samples/
Re: Backup your tasks
Posted: Thu Jan 24, 2019 11:21 am
by Drhishint
Thanks for this tutorial....t's very important and useful for me =)
Re: Backup your tasks
Posted: Tue Feb 26, 2019 5:18 pm
by rgonzalez
Hi Oleg, where are the settings of the tasks saved? I would like to backup all of my tasks but also if the task is enabled or disabled. Thank you.
Re: Backup your tasks
Posted: Tue Feb 26, 2019 6:14 pm
by Oleg
RoboTask saves all task parameters (for example Enabled/Disabled option) in the task file.
In other words the task file contains complete information about the task.
Re: Backup your tasks
Posted: Tue Feb 26, 2019 7:38 pm
by rgonzalez
If I export a task and then import it to another computer, the task always appears as disabled, this means some settings are not saved when exporting?
Re: Backup your tasks
Posted: Tue Feb 26, 2019 8:36 pm
by Oleg
When you import the task or paste the task from clipboard RoboTask disables the task forcibly. It is necessary for safety.
A task can be started immediately if it contains any triggers. In most cases, you need to change something in the task or look at the structure of the task before turning it on.
So you have to enable imported task manually.
Re: Backup your tasks
Posted: Wed Jul 31, 2019 12:49 am
by juanlu
N.B.: don't forget about global variables. Global variables (user global variables) are not saved in tsk files, but in the windows registry (not ideal, but that's another story). That means, if you export and import a task that uses global vars, make sure that those global variable exist in the target instance of RoboTask.
Re: Backup your tasks
Posted: Wed Jul 31, 2019 10:14 am
by Oleg
don't forget about global variables.
Global variables are stored in system registry:
For application mode
HKEY_CURRENT_USER\Software\Neowise\RoboTask\User variables
For system service mode
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Neowise\RoboTask\User variables
You can export and import these settings by using
registry actions
Re: Backup your tasks
Posted: Fri Aug 02, 2019 1:16 am
by Hacienda
juanlu wrote:if you export and import a task that uses global vars, make sure that those global variable exist in the target instance of RoboTask.
How do I do it?
Re: Backup your tasks
Posted: Fri Aug 02, 2019 9:42 am
by Oleg
How do I do it?
Menu
Options->Variables and open
Global user variables tab