FileViewer.com

VBackup - Command Line Backup with File Versioning

VBackup is a command line program for Windows that is used to make backup copies of directories.

It is similar in functionality to XCOPY and ROBOCOPY, however, VBackup implements file versioning. This means that you can not only restore files from the latest backup, but you can also restore them from any previous backup.

I wrote VBackup for my personal use. It has several limitations, but it does everything that I need. I am releasing it as freeware (free for both private and commercial use) in case others will also find it useful.

The source code is available at GitHub as a Visual Studio C++ project.

Please visit the VBackup section of the FileViewer Support Forum for further information.

Download VBackup.exe (Version 0.8)

Download VBackup08.zip (32 bit)
(79,989 bytes)

Download VBackup08-x64.zip (64 bit)
(87,023 bytes)

VBackup does not require any installation - simply copy VBackup.exe to a directory in your PATH.

VBackup should run on most Windows operating systems, although I have only tried it on Windows 7, XP and Vista.

Note that VBackup must be run from a Command Prompt. Run VBackup -? for an explanation of all the command line options (see below).

VBackup Version 0.8 (Freeware)
Copyright (c) 2010-2017 Charles Prineas. All Rights Reserved.

Usage:   VBackup Source Destination [options]

           Source   The directory to back up
      Destination   The directory where Source will be backed up to
::
:: Options:
::
               /?   Display this help screen
               /C   Continue with backup if an error occurs
               /R   Restore the latest backup
              /RP   Restore previous backup (you will be prompted with available backups)
     /RP:YYYYMMDD   Restore backup made on YYYY/MM/DD
               /L   List Only - do not backup any files
               /Q   Quiet mode - suppress output
              /NS   Do not backup subdirectories
             /LSK   Log skipped files
             /LUN   Log unchanged files
             /NBS   Do not create a backup set

  /IF file [file]   Only backup files matching name/mask
  /XF file [file]   Exclude files matching name/mask
    /ID dir [dir]   Only backup directory matching name/mask
    /XD dir [dir]   Exclude directory matching name/mask

 /IFV file [file]   Only make version backup of files matching name/mask
 /XFV file [file]   Do not make version backup of files matching name/mask

        /MAX:size   Do not back up files greater than size
       /MAXV:size   Do not make version backups of files greater than size

       /NAME:name   Give the backup a meaningful name (which can be used when restoring)
        /LOG:file   Output to log file (overwrite existing log)
       /LOG+:file   Output to log file (append to existing log)
     /UNILOG:file   Output to Unicode log file (overwrite existing log)
    /UNILOG+:file   Output to Unicode log file (append to existing log)
::
:: Examples:
::
       VBackup C:\Source D:\Backups\Source /XF *.tmp *.bak /XD Release Debug /NAME:"Version 11"
       VBackup /R D:\Backups\Source C:\Source.Restore
       VBackup /R /NAME:"Version 11" D:\Backups\Source "C:\Source.Version 11"
::
:: Notes:
::
       Use quotes around names if they contain spaces
       Only ONE source directory can be specified
       File names (or masks) must be passed using /IF
       You can only restore to an empty (or non-existent) directory
::
:: Contact:
::
       https://www.fileviewer.com/vbackup

If you are an Amazon user and would like to support fileviewer.com, please consider entering the Amazon store by clicking on the following banner.
This will not change the Amazon pricing, but I will receive a small royalty from whatever is purchased.

If you are using an ad blocker (like I do), you can enter the Amazon store via this link.