I have influxdb v1.1.0 running on older server and a new server with influxdb v1.20.
I want to copy some (not all) databases from the old server to the new one as described in"Remote Backups" section of documentation ([InfluxDB v1.2 Backup and Restore Docs]
(Back up and restore data in InfluxDB v1.8 | InfluxDB OSS v1 Documentation)) with a sequence of “influxd backup” and “influxd restore” commands on the new server.
$ influxd backup -database myremotedb -host my.old.host:8088 /tmp/backup
$ influxd restore -metadir /var/lib/influxdb/meta /tmp/backup
$ influxd restore -database myremotedb -datadir /var/lib/influxdb/data /tmp/backup
My questions:
- Is this remote backup supported between 1.1 and 1.2 versions?
- My old server has limited free disk space. Will remote backup need temporary disk space on the old server?
- Is there a chance to corrupt databases already present on the new server when myremotedb is restored from backup? (All databases (local and remote) have unique names).
- What backup/restore time to expect for ~20-30GB database?