(was formerly named 'M-Files Exporter')
Export all your files from M-Files including all meta data.
This video shows how to export documents from an M-Files Vault by using the Vault Exporter for M-Files.
Download the unlimited time trial version, install it and try it out yourself.
If you find it useful, you can buy a license to remove the trial restrictions.
As an alternative to the video above, the following screenshots show how to export documents from an M-Files Vault using the Vault Exporter for M-Files.
In addition to the UI Wizard you can also use the command line interface to run the export.
Vault Exporter for M-Files is a Windows Application based on the .NET Framework 4.8 and uses the M-Files .NET API to talk with an M-Files Server.
Recent versions of Windows (Win10 v1909 and Windows Server 1909) have it preinstalled. For older versions of windows you may need to download and install it explicitly. You can download it from Microsoft at: https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-web-installer
The M-Files API is automatically installed if you install M-Files on your machine.
If the machine is not connected to the internet, you can use this link to generate the license and transfer it to machine. Alternatively, you can also install the application on a machine that is connected to the internet, enter you license key, download the license and transfer it to machine in question.
Additionally, Vault Exporter for M-Files has an integrated Update check that looks for updates on startups. If you are not connected to the internet you will not be notified about available updates directly inside the application.
cd %LOCALAPPDATA%\MFilesExporter\app-1.2.1
C:\Users\user>cd %LOCALAPPDATA%\MFilesExporter\app-1.2.1
C:\Users\user\AppData\Local\MFilesExporter\app-1.2.1>
MFilesExporter.exe
is the Wizard GUI ApplicationMFilesExporterC.exe
is the Console ApplicationC:\Users\User\AppData\Local\MFilesExporter\app-1.8.0>MFilesExporterC.exe --help
Vault Exporter for M-Files v1.8.0 / 2024-05-23 (https://vault-exporter.com)
Usage:
-?, -h, --help Prints out this help message and exits.
-e, --export Starts an commandline Export with the supplied
arguments.
-w, --wizard Starts the Gui Wizard (default).
--export-folder-template=VALUE
Sets the export folder template (default: files\"
ClassName")
-f, --export-file-folder=VALUE
Sets the base export file folder
--export-deleted-items Marks deleted items for export
-u, --username=VALUE Sets the username for authenticating to the M-
Files Server
-p, --password=VALUE Sets the password for authenticating to the M-
Files Server
-d, --domain=VALUE Sets the domain for authenticating to the M-Files
Server
-s, --server=VALUE Sets the server name
-g, --vault-guid=VALUE Specifies the vault by guid
-n, --vault-name=VALUE Specifies the vault by name
--rpc, --conn-rpc Sets the connection mode to RPC (default)
--https, --conn-https Sets the connection mode to https
--grpc, --conn-grpc Sets the connection mode to gRPC
--win, --auth-windows Sets the authentication mode to windows
authentication (default)
--auth-mfiles Sets the authentication mode to M-Files
authentication
-l, --loglevel=VALUE Sets the minimum log-level. Possible values are:
Verbose, Info, Error, Silent, default: Info
--enable-cli-logfile Enables logging to the logfile in addition to
stdout / stderr if used from the commandline.
--logfile=VALUE Sets the path of the logfile (default: log.txt)
and implicitly enables writing to the logfile (
see: enable-cli-logfile)
--search-segmented Uses the segmented search instead of the all-at-
once search. Slower, but saves memory.
--search-allatonce Uses the all-at-once search. Faster, but might run
into memory issues on very large vaults.
--segment-size=VALUE Specifies the segment size that is for by the
segmented search. (default: 1000)
--download-default Uses the default download method supplied by the M-
Files API.
--download-alt Uses an alternative download method with better
performance.
--list-classes Lists the classes of the supplied vault
--class-ids=VALUE Specifies the class-ids that should be exported.
By default all classes will be exported. Specify
multiple class-Ids by supplying a comma
separated list, eg. --class-ids '1,2,3'
--export-version=VALUE Specifies the version export. Possible values are:
Latest, All, TimeRange; default: Latest
--export-version-from=VALUE
Specifies the minimum last modified date in the
format yyyy-MM-dd that versions must have to be
exported and sets export-version TimeRange. eg. -
-export-version-from 2024-05-23
--export-version-until=VALUE
Specifies the maximum last modified date in the
format yyyy-MM-dd that versions must have to be
exported and sets export-version TimeRange. eg. -
-export-version-from 2024-05-23
ExitCodes:
0 - Success
1 - InvalidArguments
2 - ExportFailed
3 - ListClassesFailed
Examples:
1. Export 'Sample Vault' from localhost using current windows user to default export folder:
MFilesExporter -e -n "Sample Vault"
2. Export 'Sample Vault' from localhost using M-Files authentication with username and password:
MFilesExporter -e -n "Sample Vault" --auth-mfiles -u exporter -p password
3. Export 'Sample Vault' from remote server 192.168.56.5:
MFilesExporter -e -n "Sample Vault" -s 192.168.56.5
4. Export 'Sample Vault' from localhost to custom directory:
MFilesExporter -e -n "Sample Vault" -f c:\temp\export
5. Export 'Sample Vault' from localhost with all files in same folder:
MFilesExporter -e -n "Sample Vault" --export-folder-template=files