Page 1 of 1
Help Creating a Task to Automate Daily File Backup
Posted: Fri Jul 11, 2025 7:44 am
by likelydapper
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!
Re: Help Creating a Task to Automate Daily File Backup
Posted: Sat Jul 12, 2025 2:07 pm
by Oleg
Check if the external drive is connected
You can check root folder or any key folder on this disk
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
Copy new or modified files from my source folder
Skip files that haven’t changed
Use
Synchronize Folders action
This action does exactly what you ask. In addition, the action preserves the folder structure.
Log the process (success or failure)
You can see necessary information in the task log
Algorithm will be like this:
Code: Select all
If {FolderExists(I:\)} then
Synchonize folders
else
Log message "Disk is not attached"
end if
Re: Help Creating a Task to Automate Daily File Backup
Posted: Mon Jul 14, 2025 8:15 am
by Wastathim
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.
Re: Help Creating a Task to Automate Daily File Backup
Posted: Wed Sep 24, 2025 8:04 am
by Anthona
Is there a way to set up email notifications if the backup process fails or if the external drive is not connected?
Thank you!
Re: Help Creating a Task to Automate Daily File Backup
Posted: Sat Oct 11, 2025 2:44 pm
by Oleg
Make the task like this:
Code: Select all
If not {FolderExists(I:\)} then
send email
end if
Use
Send email action
This task will send email if specified folder does not exist