Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2462 from aiven/dorota-add-parameters-to-fork-ser…
Browse files Browse the repository at this point in the history
…vice-cli

platform: add parameters for fork service cli command
  • Loading branch information
wojcik-dorota authored Jan 26, 2024
2 parents 99e936f + 874ec4d commit 798cf05
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions docs/platform/howto/console-fork-service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ Fork a service using the console
4. In the **New Database Fork** window, select the new service region and plan.
5. Select **Create fork**.

.. topic:: Result

You have now copied your Aiven service.
You have now copied your Aiven service.

.. tip::
You can now apply any integrations you may need for the copy.

You can now apply any integrations you may need for the copy.

Fork a service using the Aiven client (CLI)
-------------------------------------------
Expand All @@ -30,19 +28,17 @@ Fork a service using the Aiven client (CLI)
2. Add the ``service_to_fork_from`` parameter to specify the service to use as the source.
Change service type accordingly with ``-t``, run the following command to see available options:

.. code::
.. code:: bash
avn service types
For example, if you want to create a fork of your ``forker`` PostgreSQL® service, and name it ``forked``, the command would be something like:

.. code::
avn service create forked -t pg --plan business-4 -c service_to_fork_from=forker
.. topic:: Result

You have now copied your Aiven service.
.. code:: bash
avn service create forked --project PROJECT_NAME --cloud CLOUD_NAME -t pg --plan business-4 -c service_to_fork_from=forker
You have now copied your Aiven service.

.. tip::

Expand Down

0 comments on commit 798cf05

Please sign in to comment.