Syncing Files (Code)
George is trying to use this to allow him to work locally at a reasonable speed without being paranoid that things aren't being backed up.
Install Sync Toy and configure a Sync Pair
I'm using a folder on the R drive and one under my profile on my C drive.
Scheduling Sync
Type Task Scheduler in the Search box in the Start Menu and hit Enter.
Once Task Scheduler opens, click Create Basic Task on the right sidebar.
Enter a name and a description for your task in the dialog
Choose how often you want to run the task.Ā Note that Daily is the most frequent you can select in the dialog, but we can tweak this later in the settings.Ā Click Next to continue.
Youāll be asked to add additional settings depending on the trigger you selected previously.Ā If you chose Daily, then the default settings should work fine.Ā Note that it will automatically run daily at the current time; if youād rather it run at a different time, enter the time youād like in the box.
Now, youāll be asked what you want the action to doā¦Click Start a program.
In the Program/script box, enter the following including the quotes:
āC:\Program Files\SyncToy 2.1\SyncToyCmd.exeā
Then, in the Add arguments box, enter āR to run all of your syncs each time.
Alternately, if youād only like to run one of your syncs, enter āR āyour sync nameā.Ā Make sure to enter the sync name inside quotes if it contains any spaces.Ā Once youāre finished, click Next to continue.
If you left out the quotes in the programās field, Task Scheduler will ask if you want to run C:\Program with the remainder as an argument.Ā Click No to keep it like you entered, and Task Scheduler will add the quotes correctly for you.
Youāre finally finished.Ā The Wizard will show you a summary of the sync settings; click Finish to save the changes.
Now your sync will automatically run as you set, and youāll never have to worry about running it manually again!
Edit Your Sync Schedule
If youād like to make your files sync more often or change other things about your task, you can easily do so from the Task Schedule interface.Ā Click on the Task Scheduler Library on the left side to find your task.
Scroll through the tasks listed, and find the one you created previously.Ā Youāll see an overview of its settings in the preview underneath.
On the right sidebar, click Properties to change its settings.
To change how frequently it syncs, click the Triggers tab and double-click on your time listed.
Now you can select to have it repeat the task every hour or any other time you want, for as long as you want.Ā This dialog is much more flexible than the previous one used when creating the task.
Back in the Properties dialog, the Conditions tab lets you choose whether or not to run this task when your computer is running on battery power if youāre using a laptop/netbook.Ā By default it will only run when on AC power, but you can uncheck the box if youād rather it sync even if youāre on battery.
You can also go ahead and run the task manually from the Task Scheduler if youād like.Ā You may notice a command prompt window open while the sync is running, but it wonāt require any input from you.