Support

Documentation

akeeba:profile:import

What it does: Imports a previously exported backup profile.

You can either specify a JSON file using the --fileOrJSON option OR you can pipe JSON data to the standard input.

Syntax: akeeba:profile:import [--fileOrJSON=FILEPATH] [--format=FORMAT]

Arguments

This command takes no arguments.

Options

--fileOrJSON=FILEPATH

Optional. A path to an Akeeba Backup profile export JSON file or a literal JSON string. Uses STDIN if omitted which allows you to pipe raw JSON into the command's standard input.

Pipe example: cat profile.json | php /path/to/joomla.php akeeba:profile:import

--format=FORMAT

Optional. The format for the response. Use json to get a JSON-parseable numeric ID of the new backup profile. Values: json, text

Exit codes

One of the following exit codes will be set when the command finishes running:

0

The command completed without an error.