Backing up and Restoring Your Altium Vault Installation
Contents
An Altium Vault can hold a broad range of valuable design data. A key requirement of ensuring the long-term integrity of this design data, is backing it up. The standard Altium Vault installation includes a backup and restore tool, accessed via a command prompt.
The default location of the backup tool is in the folder C:\Program Files (x86)\Altium\Altium Vault\BackupTool\
.
The name of the backup tool is avbackup.exe
Contents of the Zip Archive
The tool backs up the entire Vault and user-data, including:
- Full database backup, including: models, components, managed sheets, released designs & installations acquired via the Network Installation Service.
- All revisions of above
- Repositories and included managed designs
- Search index
- User-defined settings
Accessing the Backup/Restore Tool
To use the tool:
- Launch a Windows Command Prompt.
- Navigate to the correct folder:
cd C:\Program Files (x86)\Altium\Altium Vault\BackupTool\
- To run the tool and list the available options, at the Command Prompt, type:
avbackup ?
Note the ?
, including this displays help on the functions available in the backup tool, the functions include:
backup
— Backup data to ZIP archiverestore
— Restore data from ZIP archive, the Restore point is automatically createdhelp
— display this help screen (? can be used instead of the string help)
Backup Syntax and Switches
avbackup [backup
] [-z] [-i]
-z
filename for the zip file, can include a path. Enclose in quotes if there are spaces in the string.-i
path and location of the LocalVault.ini file, the INI file details the current location of the Altium Vault to be backed up. Default location of the INI file isC:\Program Files (x86)\Altium\Altium Vault\
Example
avbackup backup -z "C:\Backups\Altium Vault\201405_Backup.zip" -i "C:\Program Files (x86)\Altium\Altium Vault\LocalVault.ini"
This will backup the Altium Vault into the file named 201405_Backup.zip
, writing the file to the folder C:\Backups\Altium Vault\
Restore Syntax and Switches
avbackup [restore
] [-z] [-i]
-z
path and filename of the backup zip file. Enclose in quotes if there are spaces in the string.-i
path and location of the LocalVault.ini file, the Vault location specified in the INI file is where the Altium Vault will be restored to. Default location of the INI file isC:\Program Files (x86)\Altium\Altium Vault
Example
avbackup restore -z "C:\Backups\Altium Vault\201405_Backup.zip" -i "C:\Program Files (x86)\Altium\Altium Vault\LocalVault.ini"
The Function of the Restore Point
The backup tool automatically creates a restore point before commencing to restore the Vault. To do this, the backup tool performs a backup on the existing Vault, and copies the restore ZIP into the following location:
C:\Program Files (x86)\Altium\Altium Vault\BackupTool\Backups\
The ZIP is named from the current date and time.
Errors During Backup or Restore
Errors that occur during a backup or restore are written to the file:
C:\Program Files (x86)\Altium\Altium Vault\BackupTool\errors.log