Moving vnstat from 32-bit to 64-bit

One of the quirks I ran into when migrating from Slackware 14.1 32-bit to 64-bit included vnstat. For whatever reason, copying the /var/lib/vnstat data files from one system to the other fails. Seems the vnstat data is hard-coded to the architecture.

Why? No, really — why?

There is a work-around. In the 32-bit system use the --exportdb option and redirection (>) to dump the data to a file. In the 64-bit system use --importdb to create the data files. Then start vnstat.

Really, why?

Posted: Category: Usability Tagged: General

Next: Slackware NetworkManager and Firewall Conflict

Previous: The Big Update