backup

vb backup [OPTIONS] FILE|DIRECTORY

Description

Make a backup of the repository into the named file or directory. The backup is consistent even with concurrent changes. It is safe to run on an actively used repository.

Only the main repository database is backed up. The open check-out (if any) and the global configuration database are not saved.

Options

--overwrite

OK to overwrite an existing file

-R NAME

Filename of the repository to back up

Examples

  • Create a backup of the repository

$ vb backup backup_repo.bak
  • Overwrite an existing backup file

$ vb backup --overwrite backup_repo.bak
  • Back up specific repository file

$ vb sys ls
backup_repo2.vbyte
$ vb backup backup_repo_2.bak -R backup_repo2.vbyte