INFLUXD-RESTORE(1)

πŸ“¦ version 1.11.6, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

ok so influxd-restore β€” this girl restores databases or specific shards to an InfluxDB OSS instance from whatever PATH you point her at. bestie, the full tea on the -portable restore method (the one described right here) and the deprecated legacy restore format lives at: https://docs.influxdata.com/influxdb/latest/administration/backup_and_restore/ ✨


πŸŽ€ SYNOPSIS πŸŽ€

influxd restore -portable [options] PATH

πŸ¦‹ DESCRIPTION πŸ¦‹

She takes the backup copies sitting in the PATH you gave her and uses them to restore databases or specific shards from InfluxDB OSS or InfluxDB Enterprise over to an InfluxDB OSS instance. it's giving "bring your faves back to life" energy, lowkey iconic 🫢


✨ OPTIONS ✨

πŸ’… note: restoring with the -portable option consumes files in an improved Enterprise-compatible format that includes a file manifest. fancy!
  • -portable β€” required to activate portable restore mode. if you don't specify it, the legacy restore mode is what runs. periodt.
  • -host <host:port> β€” the InfluxDB OSS host to connect to, aka where your data is gonna get restored. defaults to 127.0.0.1:8088. 😌
  • -db <db_name> β€” name of the database to be restored from the backup (InfluxDB OSS or InfluxDB Enterprise).
  • -newdb <newdb_name> β€” name of the InfluxDB OSS database that the archived data will be imported into on the target system. optional! if you don't give it, the value of -db <db_name> is used instead. heads up tho: the new database name must be unique to the target system πŸ‘‘
  • -rp <rp_name> β€” name of the retention policy from the backup that will be restored. optional, but she requires that -db <db_name> is specified. no db, no rp, iykyk.
  • -newrp <newrp_name> β€” name of the retention policy to be created on the target system. optional, and requires that -rp <rp_name> is set. if you don't give it, the -rp <rp_name> value gets used instead. matching energy πŸ’–
  • -shard <shard_id> β€” identifier of the shard to be restored. optional. but if you do specify it, then -db <db_name> and -rp <rp_name> are required. package deal vibes fr fr.
  • PATH β€” path to the directory containing the backup files. your whole location, your whole vibe πŸ“βœ¨

🌈 SEE ALSO 🌈

influxd-backup(1) β€” the other half of the duo, go say hi 🧚

πŸ’€ BUGS πŸ’€

found something cursed? report bugs to the GitHub issue tracker at https://github.com/influxdata/influxdb. we listen, we fix, we slay 🫢

🌸 AUTHORS 🌸

InfluxDB is written and maintained by InfluxData β€” https://influxdata.com. absolute main character energy from the whole team honestly πŸ‘‘

InfluxDB is released under the MIT license.

This man page is released under Creative Commons Attribution 4.0 International License. (very generous of her, we love to see it πŸ’œ)


and that's the whole page bestie!! manual written and dated 08/09/2024, brought to you by the INFLUXD-RESTORE(1) girlies β€” go restore something iconic πŸ’…πŸŽ€πŸ’–

πŸ“¦ where this page comes from