Avenger84
Lt. Commander
- Registriert
- Feb. 2008
- Beiträge
- 1.647
Hallo, ich wollte mal testen ob ich meine Datenbank die ich täglich sicher auch wiederherstellen kann.
Hatte mir folgende Anleitung notiert (legacy):
Leider klappt es nicht und ich stehe aufm Schlauch:
Jemand eine Idee?
Im Verzeichnis /Influx sind 25 Dateien db.autogen.****
P.S. Influx 1.6.x verwende ich
Hatte mir folgende Anleitung notiert (legacy):
Wiederherstellen:
sudo systemctl stop influxdb
sudo influxd restore -metadir /var/lib/influxdb/meta /home/pi/nas
sudo influxd restore -database db -datadir /var/lib/influxdb/data /home/pi/nas
sudo chown -R influxdb:influxdb /var/lib/influxdb
sudo systemctl start infl
Leider klappt es nicht und ich stehe aufm Schlauch:
Code:
user@Lenovo-V110:~$ sudo systemctl stop influxdb
user@Lenovo-V110:~$ sudo influxd restore -metadir /var/lib/influxdb/meta /home/user/Influx
Using metastore snapshot: /home/user/Influx/meta.00
user@Lenovo-V110:~$ sudo influxd restore -database db -datadir /var/lib/influxdb/data /home/user/Influx
restore: -metadir or -destinationDatabase are required to restore
user@Lenovo-V110:~$
Im Verzeichnis /Influx sind 25 Dateien db.autogen.****
P.S. Influx 1.6.x verwende ich