Hi, first time poster so please be gentle.
Probably something stupid I’m doing, but I recently migrated from a Raspberry Pi running influxd 1.0 to an x86 Ubuntu 16.04 running influxd 1.2.
Migration seemed to go fine, I basically installed influxd using apt from the the repos, replaced the config file with my old RPi config file, and then backed up my old metastore and database, and restored them to the new server.
All is well and I have Grafana graphing the data, new data is being added. However, when I’ve come to configuring backups, I’m seeing an issue. I can backup the metastore, but when I try and run a database backup I’m getting:
$ sudo influxd backup -database SmartThings /home/nnnn/influxdb_smartthings
2017/03/21 20:56:16 backing up db=SmartThings since 0001-01-01 00:00:00 +0000 UTC
2017/03/21 20:56:16 backing up metastore to /home/nnnn/influxdb_smartthings/meta.05
2017/03/21 20:56:16 backing up db=SmartThings rp=autogen shard=2 to /home/pete/influxdb_smartthings/SmartThings.autogen.00002.00 since 0001-01-01 00:00:00 +0000 UTC
2017/03/21 20:56:16 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (0)...
2017/03/21 20:56:17 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (1)...
2017/03/21 20:56:18 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (2)...
2017/03/21 20:56:19 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (3)...
2017/03/21 20:56:20 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (4)...
2017/03/21 20:56:21 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (5)...
2017/03/21 20:56:22 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (6)...
2017/03/21 20:56:23 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (7)...
2017/03/21 20:56:24 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (8)...
2017/03/21 20:56:25 Download shard 2 failed copy backup to file: err=<nil>, n=0. Retrying (9)...
2017/03/21 20:56:26 backup failed: copy backup to file: err=<nil>, n=0
backup: copy backup to file: err=<nil>, n=0
I’ve tried runnign it without sudo, with sudo, specifying a shard, and it doesn’t seem to matter. always getting the Download shard x failed copy backup message as above.
Am I doing something wrong?
Thanks for any help!
Pete