Langmeier Backup FAQ

How to automate your data backup like a pro

Perhaps you are wondering whether there is a way to automate data backup with Langmeier Backup so that Langmeier Backup can be integrated into your systems as a valuable data backup function.

Not only does Langmeier Backup offer extensive VB scripting functions, but you can also use Langmeier Backup to create automated backup jobs via batch. You can execute prefabricated backup jobs from your own system and evaluate the backup result.

Evaluate the backup result using the exit code

If lmbackup.exe is called with the parameter /start and the backup task, a data backup is executed. The return value (exit code) of lmbackup.exe then contains the backup result.

Meaning of the exit code:

-1

Data backup completed without errors.

0

Hardware error

1

The data backup had to be aborted due to an error. For example: Data backup drive not accessible.

2

At least one file could not be backed up, but the data backup was completed.

The ERRORLEVEL variable can be evaluated in a batch file to obtain the exit code:

lmbackup.exe /start Backuptask.lmb
ECHO %ERRORLEVEL%

The zip file langmeier-automation.zip contains an example. Unzip the example completely on the computer to try out the example.

Automate Langmeier backup via batch

The following command line arguments are available:

lmbackup.exe [/start] [Path and file of the backup task] [[/add] [source path] [destination path] [/zip] [/encrypt] [/direct] [/close]]

Parameters:

/start

Optional. Executes the backup. You must specify the path to the backup task.

/add

Optional. Adds a path to the backup task. Specify the source path and (optional) target path.

Note: The window for adding the path remains on the screen by default. Also use the /close button to close lmbackup.exe. You can specify the options /zip and /encrypt (compressed and/or encrypted). The additional option /direct specifies that the complete folder structure is omitted from the backup.

If a path contains spaces, you must enclose the path in quotation marks (").

If you have any questions about automation, simply contact our customer service and ask for automation support.

about the author
Founder and CEO of Langmeier Software


I don't want to complicate anything. I don't want to develop the ultimate business software. I don't want to be listed in a top technology list. Because that's not what business applications are about. It's about making sure your data is seamlessly protected. And it's about making sure everything runs smoothly while you retain full control and can focus on growing your business. Simplicity and reliability are my guiding principles and inspire me every day.
 

Look it up further: Automation

Related articles
The advantages and disadvantages of the different Windows file systems
FAT32 or NTFS? Which format is better for backups?
Difference between file backup and image backup?


Post a comment here...

This article covers the topics:
Integrate Langmeier Backup into external systems
Evaluate exit code from backup
Start Langmeier Backup via batch
Start Langmeier per batch