Previously we were creating backup of each specific set. After upgrading to latest aerospike version we are unable to specify specific set-name when running asbackup.
Error string:
2016-10-12 07:28:21 GMT [ERR] [29424] Invalid info string ns=mediaserver:set=dspUserData:2:objects=4389:tombstones=0:memory_data_bytes=0:deleting=false:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false (missing "=")
2016-10-12 07:28:21 GMT [ERR] [29424] Info callback reports an error
2016-10-12 07:28:21 GMT [ERR] [29424] Error while getting set object count for node BB91260FF56AA00
2016-10-12 07:28:21 GMT [ERR] [29424] Error while counting cluster objects
2016-10-12 07:28:21 GMT [VER] [29424] Exiting with status code 1
Version of asbackup used:
asbackup --version
Aerospike Backup Utility
Version 3.1.8
C Client Version 4.1.1
Version of aerospike server used:
asadm -e i -h 192.168.1.63
C-3.10.0
When running asbackup with set name specified:
uporabnik@lju1063:~/aerospike-server-community-3.10.0-ubuntu14.04$ asbackup -h 192.168.1.62 --output-file /tmp/file1.backup -n mediaserver -f 2 -c -v -% 100 --no-indexes -r --set dspCrossDeviceUserData:2
2016-10-12 07:28:21 GMT [INF] [29424] Starting 100% backup of 192.168.1.62:3000 (namespace: mediaserver, set: dspCrossDeviceUserData:2, bins: [all]) to /tmp/file1.backup
2016-10-12 07:28:21 GMT [VER] [29424] Connecting to cluster
2016-10-12 07:28:21 GMT [INF] [29424] [src/main/aerospike/as_cluster.c:251][as_cluster_add_nodes_copy] Add node BB91260FF56AA00 192.168.1.62:3000
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_node.c:487][as_node_process_response] Node BB91260FF56AA00 peers generation changed: 3
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_node.c:494][as_node_process_response] Node BB91260FF56AA00 partition generation changed: 10522
2016-10-12 07:28:21 GMT [INF] [29424] [src/main/aerospike/as_cluster.c:251][as_cluster_add_nodes_copy] Add node BB96360FF56AA00 192.168.1.63:3000
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_node.c:487][as_node_process_response] Node BB96360FF56AA00 peers generation changed: 3
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_node.c:494][as_node_process_response] Node BB96360FF56AA00 partition generation changed: 20481
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_cluster.c:843][as_cluster_add_seeds] Add seed 192.168.1.62 3000
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_cluster.c:189][as_seeds_add] Add seed 192.168.1.62:3000 3000
2016-10-12 07:28:21 GMT [VER] [29424] [src/main/aerospike/as_cluster.c:189][as_seeds_add] Add seed 192.168.1.63:3000 3000
2016-10-12 07:28:21 GMT [VER] [29424] Adding node BB91260FF56AA00
2016-10-12 07:28:21 GMT [VER] [29424] Adding node BB96360FF56AA00
2016-10-12 07:28:21 GMT [INF] [29424] Processing 2 node(s)
2016-10-12 07:28:21 GMT [VER] [29424] Getting cluster object count
2016-10-12 07:28:21 GMT [INF] [29424] Node ID Objects Replication
2016-10-12 07:28:21 GMT [VER] [29424] Getting object count for node BB91260FF56AA00
2016-10-12 07:28:21 GMT [VER] [29424] Getting info value namespace/mediaserver for node BB91260FF56AA00
2016-10-12 07:28:21 GMT [VER] [29424] Parsing info
2016-10-12 07:28:21 GMT [VER] [29424] Getting info value sets for node BB91260FF56AA00
2016-10-12 07:28:21 GMT [VER] [29424] Parsing info
2016-10-12 07:28:21 GMT [ERR] [29424] Invalid info string ns=mediaserver:set=dspUserData:2:objects=4389:tombstones=0:memory_data_bytes=0:deleting=false:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false (missing "=")
2016-10-12 07:28:21 GMT [ERR] [29424] Info callback reports an error
2016-10-12 07:28:21 GMT [ERR] [29424] Error while getting set object count for node BB91260FF56AA00
2016-10-12 07:28:21 GMT [ERR] [29424] Error while counting cluster objects
2016-10-12 07:28:21 GMT [VER] [29424] Exiting with status code 1
When running with NO set name specified:
asbackup -h 192.168.1.62 --output-file /tmp/file1.backup -n mediaserver -f 2 -c -v -% 100 --no-indexes -r
2016-10-12 07:29:02 GMT [INF] [29445] Starting 100% backup of 192.168.1.62:3000 (namespace: mediaserver, set: [all], bins: [all]) to /tmp/file1.backup
2016-10-12 07:29:02 GMT [VER] [29445] Connecting to cluster
2016-10-12 07:29:02 GMT [INF] [29445] [src/main/aerospike/as_cluster.c:251][as_cluster_add_nodes_copy] Add node BB91260FF56AA00 192.168.1.62:3000
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_node.c:487][as_node_process_response] Node BB91260FF56AA00 peers generation changed: 3
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_node.c:494][as_node_process_response] Node BB91260FF56AA00 partition generation changed: 10522
2016-10-12 07:29:02 GMT [INF] [29445] [src/main/aerospike/as_cluster.c:251][as_cluster_add_nodes_copy] Add node BB96360FF56AA00 192.168.1.63:3000
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_node.c:487][as_node_process_response] Node BB96360FF56AA00 peers generation changed: 3
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_node.c:494][as_node_process_response] Node BB96360FF56AA00 partition generation changed: 20481
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_cluster.c:843][as_cluster_add_seeds] Add seed 192.168.1.62 3000
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_cluster.c:189][as_seeds_add] Add seed 192.168.1.62:3000 3000
2016-10-12 07:29:02 GMT [VER] [29445] [src/main/aerospike/as_cluster.c:189][as_seeds_add] Add seed 192.168.1.63:3000 3000
2016-10-12 07:29:02 GMT [VER] [29445] Adding node BB91260FF56AA00
2016-10-12 07:29:02 GMT [VER] [29445] Adding node BB96360FF56AA00
2016-10-12 07:29:02 GMT [INF] [29445] Processing 2 node(s)
2016-10-12 07:29:02 GMT [VER] [29445] Getting cluster object count
2016-10-12 07:29:02 GMT [INF] [29445] Node ID Objects Replication
2016-10-12 07:29:02 GMT [VER] [29445] Getting object count for node BB91260FF56AA00
2016-10-12 07:29:02 GMT [VER] [29445] Getting info value namespace/mediaserver for node BB91260FF56AA00
2016-10-12 07:29:02 GMT [VER] [29445] Parsing info
2016-10-12 07:29:02 GMT [INF] [29445] BB91260FF56AA00 10816 2
2016-10-12 07:29:02 GMT [VER] [29445] Getting object count for node BB96360FF56AA00
2016-10-12 07:29:02 GMT [VER] [29445] Getting info value namespace/mediaserver for node BB96360FF56AA00
2016-10-12 07:29:02 GMT [VER] [29445] Parsing info
2016-10-12 07:29:02 GMT [INF] [29445] BB96360FF56AA00 10816 2
2016-10-12 07:29:02 GMT [INF] [29445] Namespace contains 10816 record(s)
2016-10-12 07:29:02 GMT [VER] [29445] Checking output file /tmp/file1.backup
2016-10-12 07:29:02 GMT [VER] [29445] Creating counter thread
2016-10-12 07:29:02 GMT [VER] [29445] Opening backup file /tmp/file1.backup
2016-10-12 07:29:02 GMT [VER] [29445] Creating backup file
2016-10-12 07:29:02 GMT [VER] [29463] Entering counter thread
2016-10-12 07:29:02 GMT [VER] [29445] Checking disk space on /tmp for 0 byte(s)
2016-10-12 07:29:02 GMT [INF] [29445] Created new backup file /tmp/file1.backup
2016-10-12 07:29:02 GMT [VER] [29445] Initializing backup file
2016-10-12 07:29:02 GMT [VER] [29445] Pushing 2 job(s) to job queue
2016-10-12 07:29:02 GMT [VER] [29445] Creating 2 backup thread(s)
2016-10-12 07:29:02 GMT [VER] [29464] Entering backup thread
2016-10-12 07:29:02 GMT [VER] [29465] Entering backup thread
2016-10-12 07:29:02 GMT [INF] [29465] Starting backup for node BB96360FF56AA00
2016-10-12 07:29:02 GMT [VER] [29465] Using shared file descriptor
2016-10-12 07:29:02 GMT [VER] [29465] Ensuring one shot work completion
2016-10-12 07:29:02 GMT [VER] [29445] Waiting for 2 backup thread(s)
2016-10-12 07:29:02 GMT [INF] [29464] Starting backup for node BB91260FF56AA00
2016-10-12 07:29:02 GMT [VER] [29464] Using shared file descriptor
2016-10-12 07:29:02 GMT [VER] [29464] Picked up first job, doing one shot work
2016-10-12 07:29:02 GMT [VER] [29464] Skipping index backup
2016-10-12 07:29:02 GMT [VER] [29464] Processing UDFs
2016-10-12 07:29:02 GMT [INF] [29464] Backing up 1 UDF file(s)
2016-10-12 07:29:02 GMT [VER] [29464] Fetching UDF file 1: map_utils.lua
2016-10-12 07:29:02 GMT [VER] [29464] Signaling one shot work completion
2016-10-12 07:29:02 GMT [VER] [29465] Received scan end marker
2016-10-12 07:29:02 GMT [INF] [29465] Completed backup for node BB96360FF56AA00, records: 4581, size: 1151286 (~251 B/rec)
2016-10-12 07:29:02 GMT [VER] [29465] Not closing shared file descriptor
2016-10-12 07:29:02 GMT [VER] [29465] Job queue is empty
2016-10-12 07:29:02 GMT [VER] [29465] Leaving backup thread
2016-10-12 07:29:02 GMT [VER] [29464] Received scan end marker
2016-10-12 07:29:02 GMT [INF] [29464] Completed backup for node BB91260FF56AA00, records: 4442, size: 1123693 (~252 B/rec)
2016-10-12 07:29:02 GMT [VER] [29464] Not closing shared file descriptor
2016-10-12 07:29:02 GMT [VER] [29464] Job queue is empty
2016-10-12 07:29:02 GMT [VER] [29464] Leaving backup thread
2016-10-12 07:29:02 GMT [VER] [29445] Closing backup file
2016-10-12 07:29:02 GMT [VER] [29445] Closing file descriptor
2016-10-12 07:29:02 GMT [VER] [29445] Waiting for counter thread
2016-10-12 07:29:03 GMT [INF] [29463] 83% complete (~2221 KiB/s, ~9023 rec/s, ~252 B/rec)
2016-10-12 07:29:03 GMT [INF] [29463] ~0s remaining
2016-10-12 07:29:03 GMT [INF] [29463] Backed up 9023 record(s), 0 secondary index(es), 1 UDF file(s) from 2 node(s), 2274979 byte(s) in total (~252 B/rec)
2016-10-12 07:29:03 GMT [VER] [29463] Leaving counter thread
2016-10-12 07:29:03 GMT [VER] [29445] Exiting with status code 0