 |
|
USDA ARS VCRU AFS File Servers
Return to main AFS page at /AFS.htm
|
|
This page was last updated on Tuesday, 07-Jul-2015 11:33:33 CDT
Automatically backing up from a Windows computer to AFS
This tells you how to backup using the program robocopy, which is included with Windows.
You can use it to automatically backup your files to AFS.
- Create a batch file to perform your backup.
Here is an example, save this file somewhere:
backuptoafs.bat
- You will need to modify this batch file and enter information appropriate to you.
To edit the batch file, right-click on the file you just saved, and select "Edit".
- You can either double-click on it to run it, or run it from a command prompt.
- To have this batch file run automatically, create a scheduled task.
First open control panels
- Open "Administrative Tools"
- Open "Task Scheduler"
- Select the "Action" menu, then "Create Basic Task…"
- For "Name", enter something, e.g. "Backup to AFS"
- Click "Next"
- Select an interval, the default "Daily" is good.
- Click "Next"
- Select your desired start time, you probably want to select a time when you are not using your computer.
- Click "Next"
- For "Action", you want the default "Start a program"
- Click "Next"
- For "Program/Script:", navigate to the backuptoafs.bat you saved and modified from steps #1-2
- Click "Next"
- Click "Finish"