Save a Copy as

Saves a copy of the current file.

Options 

  • Specify output file allows you to specify the name and location of the resulting copy. See Creating file paths. You can select:
    • Automatically open file to have the output file open with the default application
    • Create email with file as attachment to display a new email message in the user's default email application, with the output file attached

    If you do not specify a file, FileMaker Pro saves a copy of the current file and displays the Save As dialog box so the user can specify copying options.

  • Choose how to save a copy of the file:
    • copy of current file saves a complete copy of the current file.
    • clone (no records) saves a copy of the file without any records.
    • compacted copy saves a compacted copy of the current file.
    • self-contained copy (single file) saves a copy of the file with all container content embedded in the file.
  • Create folders specifies whether to create new folders that you specify in the output file path.

Compatibility 

Product Supported
FileMaker Pro Yes
FileMaker Go Partial
FileMaker WebDirect No
FileMaker Server No
FileMaker Cloud No
FileMaker Data API No
Custom Web Publishing No

Originated in version 

6.0 or earlier

Description 

Use this script step to back up your file.

Notes 

  • In FileMaker Pro, this script step is not supported when the current file is hosted.
  • In FileMaker Go:
    • Choose self-contained copy (single file). Container objects will be embedded in the copy.
    • The Create folders option is not supported.

Example 1 

Saves a copy or clone of the current database.

Copy
Show Custom Dialog ["Save a copy or empty clone of the current file?"]
If [Get ( LastMessageChoice ) = 1]
    Save a Copy as [copy of current file ; Create folders: Off]
Else
    Save a Copy as [clone (no records) ; Create folders: Off]
End If