Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. InfluxDB 2.4 InfluxCLI Backup/Restore

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.6k

InfluxDB 2.4 InfluxCLI Backup/Restore

Scheduled Pinned Locked Moved Off Topic
22 Posts 5 Posters 3.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? A Former User

    @basti97 said in InfluxDB 2.4 InfluxCLI Backup/Restore:

    @dp20eic Weißt du ob man einfach die Influxdb aktualieseren kann wie man es halt bei Linux macht. Wenn man vorher ein Snaphost macht ist der eventuelle Ausfall nicht mehr so groß. Muss ich morgen oder eventuell am WE mal probieren.
    Oder muss ich auch alles neu installieren. Auf der VM läuft bei mir auch noch Grafana mit.

    Hallo @Basti97,
    also das geht eigentlich immer alles so wie für deine Dirstri vorgesehen, ich gehe davon aus, dass Du Debian fährst. Aber ich würde das auf keiner Produktiven VM/CT machen, auch wenn man ein Backup hat.
    Man sollte sich auch genau mit den Eigenheiten von influxdb-2 beschäftigen, ich würde alles auf einem Klon probieren, auch wie man die Daten migriert, alles protokollieren und dann erst auf dem Original nachziehen.

    Ich habe Prod. proxmox CT für iobroker, Grafana, InfluxDB usw. und das gleiche nochmal für Dev/Test, die ich immer nur starte, wenn ich vorher etwas probieren möchte, beim Prod. influxDb CT sähe es so aus:

    [dp20eic@influxDB ~]$ sudo apt-get install influxdb2 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following additional packages will be installed:
      influxdb2-cli
    The following packages will be REMOVED:
      influxdb
    The following NEW packages will be installed:
      influxdb2 influxdb2-cli
    0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
    Need to get 98.2 MB of archives.
    After this operation, 14.7 MB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    
    

    Achtung man kann sich dabei ganz schnell die Daten zerschießen, nie ohne Backup und Klon arbeiten

    VG
    Bernd

    S Offline
    S Offline
    saxbav
    wrote on last edited by
    #21

    Ein bissel weiter bin ich jetzt.
    Ein Backup kann ausgeführt werden.

    iobroker@VMO2DatenbankTestNeu:~/influxdb2-client-2.4.0-linux-amd64$ ./influx backup backup_$(date '+%Y-%m-%d_%H-%M')   -t jSyKSDDRaZFs5zx-0mYfPZZduikE-O-PtmsGRyLxdl64PrX3hykjeNKvWBjmMIxcHjdhFB5uwlcDOrhTvZQiyg==
    2022/10/21 22:01:50 INFO: Downloading metadata snapshot
    2022/10/21 22:01:50 INFO: Backing up TSM for shard 1
    2022/10/21 22:01:50 INFO: Backing up TSM for shard 2
    
    

    Aber beim Restore hängt es noch.

    iobroker@VMO2DatenbankTestNeu:~/influxdb2-client-2.4.0-linux-amd64$ sudo ./influx restore backup_2022-10-21_21-27
    Error: failed to check existence of organization "max": 401 Unauthorized: unauthorized access
    
    
    1 Reply Last reply
    0
    • S Offline
      S Offline
      saxbav
      wrote on last edited by
      #22

      @djmarc75
      ok den Adapter muss ich mir mal genau anschauen.
      Den habe ich noch nie benutzt.
      Hatte die Backup's immer nur über Snapshot/Klon gelöst.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Support us

      ioBroker
      Community Adapters
      Donate

      723

      Online

      32.5k

      Users

      81.7k

      Topics

      1.3m

      Posts
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Home
      • Recent
      • Tags
      • Unread 0
      • Categories
      • Unreplied
      • Popular
      • GitHub
      • Docu
      • Hilfe