Langmeier Backup FAQ

Migrating Folders with Langmeier Backup

To migrate entire folder structures at once, Langmeier Backup offers the VB script command "Migrate". This can move files to a different folder and subfolder structure, rename or remove folders while they are being backed up to a backup target.

Migrate command (VBScript, requires Langmeier Backup)

The Migrate command in VBScript for use with Langmeier Backup. The command executes a data backup, while the folder paths to be backed up can be changed as desired on the data backup.

For example, Windows XP folders:

C:\Documents and Settings\Peter\My Documents

can be written to the data backup in such a way that the backed up folders correspond to the usual file structures under Windows Vista, Windows 7 and Windows 8 +10:

C:\Users\Peter\My Documents

Integrated macros can be used, for example, to automatically convert the files to the correct file structure for Windows 7. Or the path parts to be changed can be defined using user-specific replacement expressions to implement your own migration scenarios.

Parameters

Source

The source of the data to be migrated.

Target

The target path. The data is copied here and the directories are renamed structurally if necessary.

[Expression1]

Replacement expression in the form "Expression1->Expression2" - where Expression1 in the backup path is replaced by Expression2.

[Expression2]

Replacement expression in the form "Expression1->Expression2" - where Expression1 in the backup path is replaced by Expression2.

[Expression3]

Replacement expression in the form "Expression1->Expression2" - where Expression1 in the backup path is replaced by Expression2.

[Macro]

A predefined macro for a fixed folder path scheme. This allows you to convert folder structures from Windows XP, for example, directly into the folder structures of Windows 7. The "Macro" specification defines the target system for which the migration is carried out.

Possible values:

- Windows7
- Windows8
- WindowsVista
- Standard: No macro (replacements are made according to the specifications in Expression1, Expression2 and Expression3)

Examples

'--------------------------------------------------------------------------------
'Copy all PST files to the USB stick with the name "USB stick".
'The folder path "\Local Settings\Application Data\Microsoft\Outlook" is
'thereby changed to "\Documents\Outlook files" on the USB stick.
'--------------------------------------------------------------------------------

Migrate "%UserProfile%\Local Settings\Application Data\Microsoft\Outlook\*.pst", "[USB stick]", "\Local Settings\Application Data\Microsoft\Outlook\* .pst", "[USB stick]", "[ USB stick]".
Outlook\->\Documents\Outlook files"


'--------------------------------------------------------------------------------
'Here the destination folder
'(Destination) entered in the backup task is used as the backup destination , and thanks to the asterisk, all subfolders of
'C:\Documents and Settings are searched and the
'PST files are backed up in their subfolders.
'--------------------------------------------------------------------------------

Migrate "C:\Documents and Settings\*\Local Settings\Application Data\Microsoft\Outlook\*.pst", Destination, "C:\Documents and Settings\->C:\Users\", "\Local Settings\Application Data\Microsoft\Outlook\->\Documents\Outlook Files\"


'--------------------------------------------------------------------------------
'Use the "Windows7" macro to adjust the folder structures that have changed between Windows XP and
'Windows 7 - all users that exist under C:\Documents and 'Settings are taken into account thanks to the specification of an asterisk (*).
'--------------------------------------------------------------------------------

Migrate "C:\Documents and Settings\*\Desktop", Destination, Windows7
Migrate "C:\Documents and Settings\*\Favorites", Destination, Windows7
Migrate "C:\Documents and Settings\*\My Documents", Destination, Windows7
Migrate "C:\Documents and Settings\*\Application Data\Microsoft\Signatures", Destination, Windows7

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 maintain full control and focus on growing your business. Simplicity and reliability are my guiding principles and inspire me every day.
 

Further lookup: Langmeier Backup, Backup, Data backup

Articles relevant to the topic
Which backup type is the best choice for my data?
Windows changes the drive letters of the backup media - how the data backup still doesn't fail
This is how important data backup is in real life


Post a comment here...

This article covers:
Migrating Windows Systems
Migrate Windows XP
Migrate Windows XP to Newer Systems