CLI Help
5: Backup
Usage: fmsadmin BACKUP [FILE...] [PATH...] [options]
Description:
Backs up the specified databases (FILE) or all the hosted databases in the
specified folders (PATH).
By default, the BACKUP command performs a live backup of a hosted database,
without interfering with client usage. Alternatively, first PAUSE the
databases, then issue the BACKUP command, followed by a RESUME command to
perform an offline backup. If you don't specify a destination path, the
databases are backed up to the default backup folder. If you don't specify
a database or folder to back up, all hosted databases are backed up.
You can use options to verify and clone your backup file after the backup
has completed. A clone of a database contains all the field definitions,
tables, layouts, scripts, etc., but none of the record data.
Options:
-d PATH, --dest PATH
Overrides the default backup folder destination by backing up the
databases to the specified path. If the path doesn't exist,
FileMaker Server attempts to create it. The path to a folder must
end with the slash (/) character, for example:
filewin:/driveLetter:/folderName/
or
filemac:/volumeName/folderName/
-k count, --keep count
Specify count of backups to keep (default is 1). If count is non-zero,
a timestamped backup folder will be created in the destination, and
up to that count of timestamped backup folders will be kept, if disk
space permits. If count is zero, no timestamped folder is created, and
the backup file structure and optional clones are written in the
destination, overwriting any files of the same name.
-n, --clone
Clone each backup file after optional verify.
-x, --verify
Verify integrity of each backup file.