Hi everyone,
I'm new to RoboTask and looking for help creating an automated task that backs up a specific folder to an external drive every day at a set time. I’d like the task to:
Check if the external drive is connected
Copy new or modified files from my source folder
Skip files that haven’t changed
Log the process (success or failure)
I’ve looked through the documentation but could really use some step-by-step guidance. Any help or sample task flows would be greatly appreciated!
Thanks in advance!
Help Creating a Task to Automate Daily File Backup
-
- Posts: 1
- Joined: Tue Feb 18, 2025 3:06 am
Re: Help Creating a Task to Automate Daily File Backup
You can check root folder or any key folder on this diskCheck if the external drive is connected
for example {FolderExists(I:\)}
This expression returns TRUE if the disk is mounted and the root folder I:\ exists.
Otherwise, it returns FALSE
Also take a look at complete list of system variables
Use menu Options->Variables to see this list in RoboTask
Use Synchronize Folders actionCopy new or modified files from my source folder
Skip files that haven’t changed
This action does exactly what you ask. In addition, the action preserves the folder structure.
You can see necessary information in the task logLog the process (success or failure)
Algorithm will be like this:
Code: Select all
If {FolderExists(I:\)} then
Synchonize folders
else
Log message "Disk is not attached"
end if
Oleg Yershov
Re: Help Creating a Task to Automate Daily File Backup
Are you planning to run this even if the computer is asleep or shut down? I had some trouble with that before and needed to use Task Scheduler alongside RoboTask.