execute backup
generates an EMS database backup
Synopsis
execute backup generates an EMS database backup.
A local destination for the file must be provided to the --local.file flag, if not saving a remote copy.
To save a remote copy, provide any --remote flags required to connect.
In either case, a --compress-type (either zip or database) and --backup.password for the database backup file must also be provided.
execute backup [flags]
Options
--backup.password string A password for the database backup file, which must be provided when the database is later restored
--compress.type string The compression type to be used for the backup [database|zip] (default "zip")
--copy.service string The service that will be used to copy to the remote host [scp|ftp|sftp] (default "scp")
-h, --help help for backup
--local.file /exchange The file name of the local database backup to be saved (in the local host /exchange folder)
--remote.file string The path/file name on the remote host to where the database backup file will be copied. The remote user must have write access to this location.
(For the FTP service, the file location is relative to the FTP root folder)
--remote.ip string The IP of the remote host where the database backup file will be copied to
--remote.password string The password for the remote user that will be used to connect to the remote host
--remote.port int The port to be used by the remote copy service. [default: 22 for SCP/SFTP, 21 for FTP]
--remote.user string The user that will be used to connect to the remote host
See also
- execute - for executing commands on the host
- execute restore - restores a database backup into EMS