Migrate your data
-
In FileMaker Pro, open the file to be cloned.
-
Choose File menu > Save a Copy As, then choose clone (no records).
Important: Do not open the clone with FileMaker Pro.
-
Make sure the source file is closed.
-
Depending on your operating system, download one of the following:
-
fm_data_migration_version.build_win.zip (Windows)
-
fm_data_migration_version.build_mac.zip (macOS)
-
fmdmt _version.build_ubuntu.zip (Linux)
-
-
Unzip the downloaded file and move the contents to a location of your choice.
-
Linux: If you want to use the data migration tool in a standalone environment where FileMaker Server is not installed, you must install the data migration tool package. Enter the command:
$ sudo apt install dmt_package_path/filemaker-data-migration_version.build_amd64.debWhere:
-
dmt_package_path is the location of the data migration tool package
-
version is the version number for the data migration package
-
build is the build number for the data migration package
Note: The data migration package is located in the downloaded zip file for Linux and contains prerequisites needed to run the data migration tool. See the README_DataMigration.txt file.
-
-
Use the following command at the command-line prompt:
FMDataMigration -src_path source_file_path -clone_path clone_file_pathThe parameters
-src_pathand-clone_pathare required. All the other parameters are optional.Parameter Description -src_pathSource filename and path.
-src_accountAccount name used for opening the source file. The default is Admin.
-src_pwdPassword for accessing the source file.
-src_keyEncryption password for decrypting the source file.
-clone_pathClone filename and path.
-clone_accountAccount name for accessing the clone. The default is Admin.
-clone_pwdPassword for accessing the clone.
-clone_keyEncryption password for decrypting the clone.
-target_pathTarget filename and path. The default target file, source filename migrated.fmp12, is located in the same folder as the source file.
-plugin_folderPlug-in folder path.
-forceOverwrites an existing target file. If you have an existing target file, you must use a different name for the new target file, or use
-forceto overwrite the existing file.-ignore_valuelistsUses custom value lists from the clone instead of the source file.
-ignore_accountsUses the account names, passwords, and the encryption password from the clone instead of the source file.
-ignore_fontsDoesn't check the font mapping for field contents.
-versionIgnores any other parameters and only outputs the version number.
-v (verbose mode)For accounts with the Full Access privilege set, provides a detailed report about the data migration process. For accounts with the fmmigration extended privilege, in both normal and verbose modes, the tool provides only a brief report without displaying any information about the schema.
-q (quiet mode)Doesn't provide a report.
-rebuildindexesRebuilds existing indexes during migration instead of copying them from the source file.
-reevaluateCauses all stored calculations to be reevaluated.
Note: Calculated values are recomputed and the orginal values might change, especially if the calculation includes some of the Get functions, the Random function, or any external functions (because the data migration tool doesn’t load any plug-ins).
-target_localeLocale name (see table below) or path of a locale text file. If you specify a file path, the text file must contain the JSON object returned by the Get(FileLocaleElements) function in a custom app with the chosen locale or by the Get(SystemLocaleElements) function on a system with the chosen locale.
The following are the supported names for the
target_localeparameter.System
Arabic
Bengali
Bulgarian
Catalan
Chinese
Croatian
Czech
Danish
Dutch
English
Estonian
Finnish
French
German
Greek
Gujarati
Hebrew
Hindi
Hungarian
Icelandic
Italian
Japanese
Kannada
Korean
Latvian
Lithuanian
Malayalam
Marathi
Norwegian
Panjabi
Persian
Polish
Portuguese
Romanian
Russian
Serbian
Slovak
Slovenian
Spanish
Swedish
Tamil
Telugu
Thai
Turkish
Ukrainian
Vietnamese
Notes
-
The data migration tool returns zero (0) when it is successful, and returns a non-zero number when there is an error. For the meaning of an error, see the error message that the tool outputs.