cPanel + ERROR: This RRD was created on another architecture

Your will get this error during cpanel account transfer time  or with cpanel package account script. To fix this issue do the following bash script

#!/bin/bash
cd /var/cpanel/bandwidth
for i in `/bin/ls ./*.rrd`
do

/usr/local/cpanel/3rdparty/bin/rrdtool dump $i > $i.xml

if [ -s "$i.xml" ]
then
        echo "$i.xml have valid  data."
        /usr/local/cpanel/3rdparty/bin/rrdtool restore -f $i.xml $i

else
        echo "$i.xml is empty. So not possible to restore"    
        rm -vf $i $i.xml
fi

done