Hello, my name is Irvin Hayes Jr. and I am a Product Manager at Autodesk on the Vault product line. I have been working with Autodesk for 10 years and been on this product since I started. I am happy to join the other bloggers to post interesting news, tips and tricks to help you use Vault as efficiently as possible. I hope you enjoy my posts.
It is really important to protect your passwords but when you are using a command line batch file to backup your Vault, it may seem impossible. Well,it is possible by using the Advanced BAT to EXE Converter application.
First let’s create the batch file that performs your Vault backup.
- Launch the Autodesk Data Management Server Console.
- Select Tools -> Schedule Backup.
- Fill out the information in the Backup Configuration dialog.
- Once you are finished selecting all of the options, select the OK button to create the backup batch file.
The batch file is saved in the <>AutodeskADMS 20XXADMS Console directory. The full backup batch file is named VaultFullBackup.bat, and the incremental backup is named VaultIncrementalBackup.bat. The backup is scheduled in the Windows Task Scheduler. If necessary, this is where you can make changes to the scheduled task.
This dialog helps you create a quick 1 line batch file to perform a backup. This batch file will look like the following: “C:Program FilesAutodeskADMS Professional 2016ADMS ConsoleConnectivity.ADMSConsole.exe” –Obackup -B”C:_Vault Backup Files” -VU”Administrator” -VP”MyPassword” -VAL -INRF -S -L”C:_Vault Backup FilesBackupLog.txt”
You can get information about the different command line parameters in the online help: Back up the Vault from the Command Line.
Now that your batch file is created, you can edit it to have more actions performed before or after the backup process. However, your password is still exposed. Using the BAT to EXE converter program, open the batch file and then press the Run Compiled EXE, the play button on the toolbar, to create your executable file. Modify your Windows Task Scheduler to use the executable and delete the batch file. Now you have a secure executable to perform your Vault backups.
Irvin Hayes Jr.