INFLUXD-BACKUP(1)

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

✨ INFLUXD-BACKUP(1) ✨ β€” the backup glow-up, bestie πŸ’…

okay so this is the manual page for influxd-backup (like, the actual Unix manual name INFLUXD-BACKUP(1), yes we're being fancy today πŸ‘‘) and it's genuinely iconic β€” it's the whole "save a copy of my database before I do something chaotic" tool. let's get into it πŸŽ€


🌸 NAME 🌸

influxd-backup β€” creates a backup copy of specified InfluxDB OSS database(s) and saves it to disk. πŸ’– Use this newer -portable option unless legacy support is required, no cap.

Complete documentation on backing up and restoring, including the deprecated legacy format, lives here (copy it exactly, bestie):

https://docs.influxdata.com/influxdb/latest/administration/backup_and_restore/


πŸ¦‹ SYNOPSIS πŸ¦‹

influxd backup [options] PATH

🌈 DESCRIPTION 🌈

Creates a backup copy of specified InfluxDB OSS database(s) and saves the files in an Enterprise-compatible format to PATH β€” and yes PATH is literally the directory where backups are saved. main character energy for that directory, honestly. ✨


πŸ’… OPTIONS πŸ’…

ngl bestie, the option lists are the whole vibe. read every single one, don't skip, that's the rule 🫢
  • -portable β€” required to generate backup files in a portable format that can be restored to InfluxDB OSS or InfluxDB Enterprise. Use this unless the legacy backup is required. it's giving "the good one" πŸ’–
  • -host <host:port> β€” the InfluxDB OSS host to back up from. optional ✨ defaults to 127.0.0.1:8088, which is the "yeah it's on my machine" default.
  • -db <db_name> β€” the InfluxDB OSS database name to back up. optional πŸŽ€ if you don't specify it, all databases get backed up when using -portable. generous queen behavior.
  • -rp <rp_name> β€” retention policy to use for the backup. optional πŸ¦‹ if not specified, all retention policies are used by default.
  • -shard <shard_id> β€” the identifier of the shard to back up. optional πŸ”₯ but heads up: if you specify it, -rp <rp_name> is required. like, they're a package deal, iykyk.
  • -start <timestamp> β€” include all points starting with the specified timestamp (RFC3339 format). ⚠️ not compatible with -since <timestamp> β€” pick one, bestie, don't be messy.
  • -end <timestamp> β€” exclude all points after the timestamp (RFC3339 format). ⚠️ also not compatible with -since <timestamp>.
  • -since <timestamp> β€” create an incremental backup of all points after the timestamp (RFC3339 format). optional 🫢 tbh the recommendation is to use -start <timestamp> instead. periodt.
  • -skip-errors β€” optional flag to continue backing up the remaining shards when the current shard fails to backup. it's giving resilience, it's giving "we move" 🧚

πŸ“ SEE ALSO πŸ“

  • influxd-restore(1) β€” the other half of the duo, the yin to this yang, go read it πŸ’œ

πŸ’€ BUGS πŸ’€

Report bugs to the GitHub issue tracker (yes, exactly this, don't @ me otherwise):

https://github.com/influxdata/influxdb


πŸ’– AUTHORS πŸ’–

InfluxDB is written and maintained by InfluxData β€” https://influxdata.com. literal icons πŸ‘‘


InfluxDB is released under the MIT license. ✨

This man page is released under Creative Commons Attribution 4.0 International License. πŸŽ€


okay that's the whole page, bestie β€” go forth and back up responsibly πŸ¦‹πŸ’…βœ¨

08/09/2024 β€” shoutout to the source/version and date, the little footer that keeps it all official πŸ’œπŸ«Ά

πŸ“¦ where this page comes from