Parameters |
Description |
TYPE |
Type of task to be carried out: |
PROJECTNAME |
Project name with complete file path (optional). |
ARCHIVENAME |
Archive name. |
DESTINATIONPATH |
Target directory |
COMMENT |
Comment on backup (optional). |
BACKUPAMOUNT |
An enum constant that can accept the following values: |
COMPRESSPRJ |
Indicates whether the database should be compressed before saving (optional, 0 = No, 1 = Yes). |
INCLEXTDOCS |
Indicates whether external documents should be included in the backup (optional, 0 = No, 1 = Yes). |
INCLIMAGES |
Indicates whether image files should be included in the backup (optional, 0 = No, 1 = Yes). |
COPYREFDATA |
Indicates whether the referenced data (external documents, image files) should be copied, prior to the data backup, to the respective project directory (...\"Projectname"\DOC\*.* and ...\"Projectname"\Images\*.*) (optional, 0 = No, 1 = Yes). |
BACKUPMETHOD |
Type of backup: |
MDTYPE |
Type of master data to be backed up: |
SOURCEPATH |
Source directory only applies when backing up master data. |
FILENAME |
Name of the file to be backed up. |
Back up project:
backup /TYPE:PROJECT /PROJECTNAME:C:\Projects\EPLAN\EPLAN_Sample_Project.elk /DESTINATIONPATH:U:\temp /ARCHIVENAME:EPLAN_Sample_Project.zw1 /COMMENT:Hello /BACKUPMETHOD:BACKUP /BACKUPAMOUNT:BACKUPAMOUNT_ALL /COMPRESSPRJ:0 /INCLEXTDOCS:1 /INCLIMAGES:1
backup /TYPE:PROJECT /COMMENT:Hello /DESTINATIONPATH:U:\temp /ARCHIVENAME:EPLAN_Sample_Project.zw1 /BACKUPMETHOD:BACKUP /BACKUPAMOUNT:BACKUPAMOUNT_ALL /COMPRESSPRJ:0 /INCLEXTDOCS:1 /INCLIMAGES:1
Back up master data:
Back up plot frame with complete file path:
backup /TYPE:MASTERDATA /FILENAME:C:\PlotFrames\EPLAN\ESS_A3DP.fn1 /SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp /ARCHIVENAME:my_MasterData /COMMENT:"Hello world" /MDTYPE:STANDARDSHEET
Back up plot frame without complete file path:
backup /TYPE:MASTERDATA /FILENAME:ESS_A3DP.fn1 /SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp /ARCHIVENAME:my_MasterData /COMMENT:"Hello world" /MDTYPE:STANDARDSHEET
Back up all plot frames (*.fn1):
backup /TYPE:MASTERDATA /FILENAME:*.fn1 /SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp /ARCHIVENAME:my_MasterData /COMMENT:"Hello world" /MDTYPE:STANDARDSHEET
Back up all files (*.*) in the specified source directory:
backup /TYPE:MASTERDATA /FILENAME:*.* /SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp /ARCHIVENAME:my_MasterData /COMMENT:"Hello world" /MDTYPE:STANDARDSHEET
Back up all files (*.*) with the 'sh' file name extension in the specified source directory:
backup /TYPE:MASTERDATA /FILENAME:*sh /SOURCEPATH:C:\PlotFrames\EPLAN /DESTINATIONPATH:U:\temp /ARCHIVENAME:my_MasterData /COMMENT:"Hello world" /MDTYPE:STANDARDSHEET