Langmeier Backup FAQ

How to back up open files

Wie kann eine Backup-Software die Datensicherung offener Dateien (z.B. offene Microsoft Outlook-Datei) durchführen? Hier die Aufklärung, wie es funktioniert.

An important topic in data backup is the backup of open files. Many backup programs claim to be able to back up open files, but unfortunately this does not always work in reality.

Some programs, for example Microsoft Outlook, lock their working files so that no other program can access the file while the user is working with it. The data backup software then has a problem because file access is denied.

In Windows, there are many files that are used from time to time and are then locked. For example, if you try to back up the application data or the local settings, you will find that some files cannot be backed up. Such locked files are created, for example, by the Windows search, which regularly scans the data on the PC in the background and creates a search index from it.

Modern backup software such as Langmeier Backup can back up most of the open and locked files if the following requirements are met:

  • The option "Also backup open files" is switched on (default).
  • The source disk is an NTFS formatted disk.
  • Langmeier Backup runs with administrator permissions. (Domain administrators may not work, in which case a local admin is required).
  • The open file must be located on the same computer as Langmeier Backup.
  • The"Volume Shadow Copy" (VSS) service must be activated. Start type: "Manual".

Please also note the following:

Status VSS service

If it still does not work, then the VSS service is probably defective. Send a message to customer service - we can send you a program that repairs the Windows VSS service.

What is the VSS service?

To back up open files, the separate VSS (Volume Shadow Copy) service must be active on the PC. The service waits in the background and provides a so-called Windows shadow copy at the request of the data backup program. This is a copy of the last valid state of the file.

We recommend that the data backup program uses the service already built into Windows so that the computer resources are not additionally burdened by a second service that does exactly the same thing. The VSS service has been integrated into the Microsoft operating system since Windows XP and is activated by default.

Close Outlook and other applications before backing up data

Some backup users prefer to play it safe and close Outlook and other applications before backing up data.

This tip works with the Langmeier Backup Business, Server and V-flex versions.

Click on"Tools" in the main window of Langmeier Backup and then on"Edit scripts". The script editor opens. Click on the"New" button below the script editor to create a new script. Paste the following script into the script editor:

'Exit Outlook
Set oWmi = GetObject("winmgmts:")
sSql ="select * from Win32_Process where name='outlook.exe'"
Set oResult = oWmi.Execquery(sSql)
For Each oProcess In oResult
iRet = oProcess.Terminate(1)
Next
Set oWmi = Nothing
'Finally, wait a little longer:
Sleep 1

Now save this script by clicking on"Save as". This button is located below the script editor. Enter the desired file name, for example "Close Outlook".

Click on the"Backup" tab at the top of the Langmeier Backup main window. Add the newly created script by clicking on the text next to"Add" and then on"Script".

After confirmation, the script appears in the backup task. You can move it to the top of the task using the minus button (-) or the right mouse button.

Restarting the program after the data backup

You can use the following script to restart the program after the data backup. Please adapt the program path in the second line to your program or Office version:

'Restart Outlook:
Set WshShell = GetObject("WScript.Shell")
WshShell.Run """C:\Program Files\Microsoft Office\Office14\Outlook.exe""", 9

You can find out more about the Windows scripting host run command here.

Stopping Windows services

You can find instructions on how to stop Windows services in this article here.

Langmeier Backup

Backup for Windows

  Buy now   Try it for free

Backup Software For Windows

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: Backup Outlook, Langmeier Backup, VB-Script, Backup, Data backup

Related articles
Which type of backup is the best choice for my data?
This is how important data backup is in real life
The advantages and disadvantages of the different Windows file systems


Post a comment here...

This article covers the topics:
Backing up open files
Data backup
Windows shadow copy
Backing up files in Langmeier Backup