Create a site export. For server, data is put into a file in the Confluence home/backups directory. For Cloud, data is available from backup manager screen or the file can optionally be copied to a local file if the file parameter is specified and permissions allow. Also for Cloud only, use the exportAttachments parameter to request the export contain attachments and similar data. Also for Cloud only, use --options backupForServer to create a backup suitable for import to a Server instance.