Codebox Software

BitMeter OS - bmsync manual

bmsync -v|-h|[-p <port>] [-a <alias>] <host1> <host2> ... Imports data from one or more remote BitMeter OS databases into the local database. The utility works by calling the '/sync' method of the web interface of the remote BitMeter installation, so the web interface in question must be accessible remotely and not blocked by a firewall. If the remote web interface is running on a non-standard port (i.e. not port 2605) then the port number must be specified using the '-p' flag. The utility may be run as often as required, only new data received since the previous sync will be added to the local database. If no 'alias' value is specified, then the hostname/IP address used with the command will be stored in the local database and used to identify the host in future. If an alias value is specified then this will be stored instead. Note that performing 2 sync operations against the same host using different host identifiers (eg one time using its hostname and another time its IP address) will result in the data from that host being duplicated in the database - if there is more than 1 way to refer to a given host on your network then it is recommended that you decide on an appropriate alias value for that host, and then use it consistently for all sync operations. Example Sync with a host that has an IP address of, and a hostname of 'linuxserver': Data will be duplicated bmsync bmsync linuxserver Data will not be duplicated bmsync -a ubuntu bmsync -a ubuntu linuxserver Multiple hosts may be specified in a single invocation, the utility will sync with each one in turn. If you attempt to use an alias value when syncing with multiple hosts, then the utility will assume this is a mistake and will not proceed - the data collected from all the hosts would be treated as if it originated from a single host (identified by the alias) after being stored in the database. Display version information bmsync -v Display help bmsync -h Email: Web: