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

Commit

Permalink
added parameters for fork service cli
Browse files Browse the repository at this point in the history
  • Loading branch information
wojcik-dorota committed Jan 25, 2024
1 parent 99e936f commit 874ec4d
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 874ec4d

Please sign in to comment.