Remove OSS backup content from Enterprise 1.9 (#3177)
Also add aliases, just in case Closes #3175pull/3178/head
parent
1db152f5ab
commit
a7e78f49e5
|
@ -6,6 +6,9 @@ menu:
|
|||
enterprise_influxdb_1_9:
|
||||
weight: 11
|
||||
parent: Tools
|
||||
aliases:
|
||||
- /enterprise_influxdb/v1.9/tools/influxd/restore/
|
||||
- /enterprise_influxdb/v1.9/tools/influxd/backup/
|
||||
---
|
||||
|
||||
The `influxd-ctl` utility provides commands for managing your InfluxDB Enterprise clusters.
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
title: influxd backup
|
||||
description: >
|
||||
The `influxd backup` command restores backup data and metadata from an InfluxDB backup directory.
|
||||
menu:
|
||||
enterprise_influxdb_1_9:
|
||||
name: influxd backup
|
||||
weight: 10
|
||||
parent: influxd
|
||||
v2: /influxdb/v2.0/reference/cli/influx/backup/
|
||||
---
|
||||
|
||||
The `influxd backup` command crates a backup copy of specified InfluxDB OSS database(s) and saves the files in an Enterprise-compatible format to PATH (directory where backups are saved).
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
influxd backup [flags] PATH
|
||||
```
|
||||
|
||||
## Flags {.no-shorthand}
|
||||
|
||||
| Flag | Description |
|
||||
|:-------------- |:------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `-portable` | Generate backup files in a portable format that can be restored to InfluxDB OSS or InfluxDB Enterprise. Use unless the legacy backup is required. |
|
||||
| `-host` | InfluxDB OSS host to back up from. Optional. Defaults to 127.0.0.1:8088. |
|
||||
| `-db` | InfluxDB OSS database name to back up. Optional. If not specified, all databases are backed up when using `-portable`. |
|
||||
| `-rp` | Retention policy to use for the backup. Optional. If not specified, all retention policies are used by default. |
|
||||
| `-shard` | The identifier of the shard to back up. Optional. If specified, `-rp` is required. |
|
||||
| `-start` | Include all points starting with specified timestamp (RFC3339 format). Not compatible with `-since`. |
|
||||
| `-end` | Exclude all points after timestamp (RFC3339 format). Not compatible with `-since`. |
|
||||
| `-since` | Create an incremental backup of all points after the timestamp (RFC3339 format). Optional. Recommend using `-start` instead. |
|
||||
| `-skip-errors` | Continue backing up the remaining shards when the current shard fails to backup. |
|
|
@ -1,32 +0,0 @@
|
|||
---
|
||||
title: influxd restore
|
||||
description: >
|
||||
The `influxd restore` command restores backup data and metadata from an InfluxDB backup directory.
|
||||
menu:
|
||||
enterprise_influxdb_1_9:
|
||||
name: influxd restore
|
||||
weight: 10
|
||||
parent: influxd
|
||||
v2: /influxdb/v2.0/reference/cli/influx/restore/
|
||||
---
|
||||
The `influxd restore` command restores backup data and metadata from an InfluxDB backup directory.
|
||||
|
||||
Shut down the `influxd` server before restoring data.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
influxd restore [flags]
|
||||
```
|
||||
|
||||
## Flags {.no-shorthand}
|
||||
|
||||
| Flag | Description | Maps To |
|
||||
|:------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |------------------------|
|
||||
| `-portable` | Activate portable restore mode, which consumes files in an improved Enterprise-compatible format that includes a manifest. If not specified, the legacy restore mode is used. | `INFLUXDB_CONFIG_PATH` |
|
||||
| `-host` | InfluxDB OSS host to connect to where the data will be restored | |
|
||||
| `-db` | Name of database to be restored from the backup (InfluxDB OSS or InfluxDB Enterprise). | |
|
||||
| `-newdb` | Name of the InfluxDB OSS database to import archived data into. Optional. If not specified, then the value of `-db <db_name>` is used. The new database name must be unique to the target system. | |
|
||||
| `-rp` | Name of retention policy to restore. Optional. Requires that `db` is specified. | |
|
||||
| `-newrp` | Name of retention policy to restore to. Optional. Requires that `-rp` is specified. | |
|
||||
| `-shard` | Shard ID to restore. Optional. Requires that `-db` and `-rp` are specified.
|
Loading…
Reference in New Issue