This functionality is only available for certain module packages. Info / Copyright

Action: backup


Parameters

Description

TYPE

Type of task to be carried out:
PROJECT: Back up the entire project
MASTERDATA: Back up the master data

PROJECTNAME 

Project name with complete file path (optional).
If nothing is entered, the selected project will be used if the action is to be run over the user interface (e.g. via the script or ribbon). When executing from the Windows command line, PROJECTNAME must be specified or ProjectAction has to be used before that. Otherwise a system message will appear.

ARCHIVENAME 

Archive name.
Name of the file in which the backup data should be saved (without path).

DESTINATIONPATH

Target directory

COMMENT

Comment on backup (optional).
The comment is written as a string into the corresponding property of the saved project.
Default value: The corresponding property is not specified.

AUTOCOPYREFDATA

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).
Default value: 0
Only applies if the TYPE parameter has of the following value: PROJECT.
Images and documents stored in the project are always backed up.

INCLEXTDOCS 

Indicates whether external documents should be included in the backup (optional, 0 = No, 1 = Yes).
Default value: 0

INCLIMAGES 

Indicates whether image files should be included in the backup (optional, 0 = No, 1 = Yes).
Default value: 0

BACKUPMETHOD 

Type of backup:
BACKUP: Project is backed up
SOURCEOUT: Project is filed off
ARCHIVE: Project is archived.

MDTYPE

Type of master data to be backed up:
SYMBOLS: Symbol libraries
MACROS: Macros
FORMS: Forms
ARTICLES: Parts data
LANGUAGES: Dictionaries
STANDARDSHEET: Plot frames
STATIONDATA: User, workstation data

SOURCEPATH 

Source directory only applies when backing up master data.

FILENAME 

Name of the file to be backed up.
The file name can be specified with or without the complete file path.
The file extension must be specified.
A file extension with a placeholder is possible (for example /FILENAME:*.fn1, /FILENAME:*.*, /FILENAME:*sh).
This only applies for saving master data.