Backing up your OptionVue files

Discussion in 'OptionVue Forum' started by tom, Jul 12, 2017.

  1. tom

    tom Administrator Staff Member

    I created a short batch file to backup my OptionVue files. I'm copying them locally but you could copy them to any online storage that's mapped as a drive.
    The batch file copies from the C:\OpVue8 directory to the C:\backups\OpVue8 directory.
    Place the following text into a file with a .bat file extension:
    Code:
    REM Backup the OptionVue files locally
    
    REM Delete old backup files
    del /s /f /q C:\backups\OpVue8\*.*
    for /f %%f in ('dir /ad /b C:\backups\OpVue8\') do rd /s /q C:\backups\OpVue8\%%f
    
    REM Copy OptionVue files to a backup directory
    xcopy C:\OpVue8\*.* C:\backups\OpVue8\ /e /c /h 
    You can put a shortcut to this file on your desktop to backup on demand. I have the windows scheduler run this file periodically so it's updated every few hours.

    Enjoy.
     
    Rtb likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice