akeeba:profile:copy

What it does: Creates a copy of an Akeeba Backup profile

Syntax: akeeba:profile:copy --id=ID [--filters] [--description=DESCRIPTION] [--quickicon=QUICKICON] [--format=FORMAT]

Arguments

This command takes no arguments.

Options

--id=ID

Mandatory. The numeric ID of the profile to copy

--filters

Optional. Include filters in the copy?

When this option is not present the filters will NOT be copied.

--description=DESCRIPTION

Optional. Description for the new backup profile. Uses the old profile's description if not specified.

--quickicon=QUICKICON

Optional. Should the new backup profile have a one-click backup icon? Copies the old profile\'s setting if not specified.

--format=FORMAT

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

Exit codes

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

0

The command completed without an error.

1

Invalid profile ID.

2

Internal error.