How to automate your backup like a pro
Maybe you are wondering if there is a way to automate backup with Langmeier Backup so that Langmeier Backup fits into your systems as a valuable backup feature.
Not only does Langmeier Backup offer extensive VB scripting capabilities, but you can also use Langmeier Backup to create automated backup jobs via batch. You can run pre-built backup jobs from within your own system and evaluate the backup result.
Evaluate the backup result using exit code
When lmbackup.exe is called with the /start parameter and the backup job, a backup is executed. The return value (exit code) of lmbackup.exe then contains the backup result.
Meaning of exit code:
In a batch file, the ERRORLEVEL variable can be evaluated to get the exit code:
The zip file langmeier-automation.zip contains an example of this. Unzip the example completely on your computer to try it out.
Automate Langmeier backup by batch
The following command line arguments are available:
If a path specification contains spaces, you must enclose the path specification in quotation marks (").
If you have any questions about automation, why not contact our customer service and ask for automation support.
About the Author Urs Langmeier, Founder and CEO of Langmeier Software GmbH
Articles relevant to the topicFAT32 or NTFS? Which format is better for backup?
How to back up your hard drive properly and not forget anything
Expert Tips: What is backup? Good Data Backup