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.
-
- Posts: 1
- Joined: Wed Sep 24, 2025 8:00 am
- Location: https://drivemad3.io
Re: Help Creating a Task to Automate Daily File Backup
Is there a way to set up email notifications if the backup process fails or if the external drive is not connected?
Thank you!
Thank you!
Re: Help Creating a Task to Automate Daily File Backup
Make the task like this:
Use Send email action
This task will send email if specified folder does not exist
Code: Select all
If not {FolderExists(I:\)} then
send email
end if
This task will send email if specified folder does not exist
Oleg Yershov