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.

  1. Create a batch file to perform your backup.
    Here is an example, save this file somewhere:
    backuptoafs.bat
  2. 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".
  3. You can either double-click on it to run it, or run it from a command prompt.
  4. To have this batch file run automatically, create a scheduled task.
    First open control panels
  5. Open "Administrative Tools"
  6. Open "Task Scheduler"
  7. Select the "Action" menu, then "Create Basic Task…"
  8. For "Name", enter something, e.g. "Backup to AFS"
  9. Click "Next"
  10. Select an interval, the default "Daily" is good.
  11. Click "Next"
  12. Select your desired start time, you probably want to select a time when you are not using your computer.
  13. Click "Next"
  14. For "Action", you want the default "Start a program"
  15. Click "Next"
  16. For "Program/Script:", navigate to the backuptoafs.bat you saved and modified from steps #1-2
  17. Click "Next"
  18. Click "Finish"