Backup D365MetaDataDir - FH-Inway/d365fo.tools GitHub Wiki
Create a backup of the Metadata directory
Backup-D365MetaDataDir [[-MetaDataDir] <String>] [[-BackupDir] <String>] [<CommonParameters>]
Creates a backup of all the files and folders from the Metadata directory
Backup-D365MetaDataDir
This will backup the PackagesLocalDirectory and create an PackagesLocalDirectory_backup next to it
Path to the Metadata directory
Default value is the PackagesLocalDirectory
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: "$Script:MetaDataDir"
Accept pipeline input: False
Accept wildcard characters: False
Path where you want the backup to be place
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: "$($Script:MetaDataDir)_backup"
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: PackagesLocalDirectory, MetaData, MetaDataDir, MeteDataDirectory, Backup, Development
Author: Mötz Jensen (@Splaxi)