twitter youtube facebook linkedin email
Connect with:

Under the Hood - All things PDM and PLM

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.

Security_text_chain_locked_800_clr_6667It 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.

  1. Launch the Autodesk Data Management Server Console.
  2. Select Tools -> Schedule Backup.
  3. Fill out the information in the Backup Configuration dialog.
  4. 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.

BatToExeNow 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.

Product Manager

Irvin Hayes Jr.

Irvin is a Product Manager on the Autodesk Vault team based in Novi, Michigan. He helps partners, consulting and sales develop Vault deployment plans in enterprise environments and system requirements. You can find multiple classes Irvin has presented at Autodesk University, (au.autodesk.com) on a wide range of Vault topics. Irvin is a technology geek and loves sharing with the community on Twitter (@ihayesjr) and Flipboard Magazine. Disclaimer If you need an official Autodesk company response or a contact for press-related activities please contact Autodesk Public Relations. The posts on this blog are the authors' own personal opinions and do not represent their employer's view in any way. In addition, their thoughts and opinions often change, and as a weblog is intended to provide a semi-permanent point-in-time snapshot you should not consider out-of-date posts to reflect their current thoughts and opinions.

'