Skip to content

Commit

Permalink
rename cloud path (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler authored Aug 11, 2024
1 parent f170fbb commit 77de360
Show file tree
Hide file tree
Showing 27 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ aliases = ["/contribute"]
</a>
</div>
<div class="item">
<a href="{{< relref "/dgraphcloud">}}">
<a href="{{< relref "/cloud">}}">
<svg class="icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path d="M12 22V13M12 13L15.5 16.5M12 13L8.5 16.5" stroke="#100C19" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M20 17.6073C21.4937 17.0221 23 15.6889 23 13C23 9 19.6667 8 18 8C18 6 18 2 12 2C6 2 6 6 6 8C4.33333 8 1 9 1 13C1 15.6889 2.50628 17.0221 4 17.6073" stroke="#EF265A" stroke-width="1.71429" stroke-linecap="round" stroke-linejoin="round"/></svg>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight = 5
parent = "cloud-admin"
+++

It is possible to drop all data from your Dgraph Cloud backend, and start afresh while retaining the same endpoint. Be careful, as this operation is not reversible, and all data will be lost. It is highly recommended that you [export]({{<relref "dgraphcloud/admin/import-export">}}) your data before you drop your data.
It is possible to drop all data from your Dgraph Cloud backend, and start afresh while retaining the same endpoint. Be careful, as this operation is not reversible, and all data will be lost. It is highly recommended that you [export]({{<relref "cloud/admin/import-export">}}) your data before you drop your data.

In order to drop all data while retaining the schema, click the <kbd>Drop Data</kbd> button under the [Schema](https://cloud.dgraph.io/_/schema) tab in the sidebar.

Expand All @@ -15,7 +15,7 @@ In order to drop all data while retaining the schema, click the <kbd>Drop Data</

In order to do this, call the `dropData` mutation on `/admin/slash`. As an example, if your GraphQL endpoint is `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/graphql`, then the admin endpoint for schema will be at `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/admin/slash`.

Please note that this endpoint requires [Authentication]({{<relref "dgraphcloud/admin/authentication">}}).
Please note that this endpoint requires [Authentication]({{<relref "cloud/admin/authentication">}}).

Please see the following curl as an example.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ weight = 4

## Exporting and Importing Data in Dgraph Cloud

You can export your data as an Administrator from one Dgraph Cloud backend, and then import this data back into another Dgraph instance or Dgraph Cloud backend. For more information about how to export data in Dgraph Cloud, see [Export data]({{< relref "howto/exportdata/export-data-cloud.md" >}}). You can also export data from Dgraph Cloud programatically using the Dgraph Cloud API. For more information, see [Cloud API documentation]({{< relref "dgraphcloud/cloud-api/backup.md" >}}).
You can export your data as an Administrator from one Dgraph Cloud backend, and then import this data back into another Dgraph instance or Dgraph Cloud backend. For more information about how to export data in Dgraph Cloud, see [Export data]({{< relref "howto/exportdata/export-data-cloud.md" >}}). You can also export data from Dgraph Cloud programatically using the Dgraph Cloud API. For more information, see [Cloud API documentation]({{< relref "cloud/cloud-api/backup.md" >}}).

To import data to Dgraph Cloud, see [live loader]({{< relref "howto/importdata/live-loader.md" >}}).

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ curl "https://${DEPLOYMENT_URL}/admin/slash" \

## Import Data

Import your data back using Dgraph [Live Loader]({{< relref "dgraphcloud/admin/import-export.md#importing-data-with-live-loader" >}}) (requires Docker).
Import your data back using Dgraph [Live Loader]({{< relref "cloud/admin/import-export.md#importing-data-with-live-loader" >}}) (requires Docker).

### Shell Command

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion content/graphql/security/anonymous-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To turn ``/graphql`` endpoint anonymous access off
2. Open the [Access](https://cloud.dgraph.io/_/schema?tab=anon-access) tab.
3. Set ``Anonymous Access`` toggle to ``On`` or ``Off``

With **Anonymous Access** turned ``off``, any client accessing the ``/graphql`` endpoint must pass a valid client or admin [API Key]({{< relref "dgraphcloud/admin/authentication.md" >}}) in ``DG-Auth`` or ``X-Auth-Token`` header.
With **Anonymous Access** turned ``off``, any client accessing the ``/graphql`` endpoint must pass a valid client or admin [API Key]({{< relref "cloud/admin/authentication.md" >}}) in ``DG-Auth`` or ``X-Auth-Token`` header.

With **Anonymous Access** turned ``on`` (Default configuration), you need to further define the permission per ``type`` defined in your GraphQL Schema.

Expand Down
2 changes: 1 addition & 1 deletion content/howto/drop-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can drop data by invoking the `dropData` mutation on `/admin/slash` endpoint

As an example, if your GraphQL endpoint is `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/graphql`, then the admin endpoint for schema will be at `https://frozen-mango.us-west-2.aws.cloud.dgraph.io/admin/slash`.

This endpoint requires [Authentication]({{<relref "dgraphcloud/admin/authentication">}}).
This endpoint requires [Authentication]({{<relref "cloud/admin/authentication">}}).

Here is curl example.

Expand Down
4 changes: 2 additions & 2 deletions content/learn/administrator/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ weight = 4
- See [Dgraph Overview]({{< relref "dgraph-overview.md" >}}) for an introduction to Dgraph database and a presentation of Dgraph cluster architecture.
- Get familiar with some terms in the [Glossary]({{< relref "dgraph-glossary.md" >}})
- **Dgraph Cloud**
- Learn from [Dgraph Cloud]({{< relref "dgraphcloud" >}}) section of our documentation.
- Refer to [Administering Tasks]({{< relref "dgraphcloud/admin" >}}).
- Learn from [Dgraph Cloud]({{< relref "cloud" >}}) section of our documentation.
- Refer to [Administering Tasks]({{< relref "cloud/admin" >}}).
- **Dgraph Community and Dgraph Enterprise** (self-managed)
- Refer to [Self-managed cluster]({{< relref "deploy" >}}) to learn how to deploy and manage Dgraph database in a variety of self-managed deployment scenarios.
- [Dgraph Administration]({{< relref "deploy/admin" >}}) describes the admin operations.
Expand Down
2 changes: 1 addition & 1 deletion public/_redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/badger/* /docs/badger:splat 301!
/docs/badger/* https://badger-docs.netlify.app:splat 200!

/docs/cloud/* /docs/dgraphcloud:splat 200!
/docs/dgraphcloud/* /docs/cloud:splat 301!

0 comments on commit 77de360

Please sign in to comment.