This script you run on the source host from the same directory where all those rrd files are there. I found this very helpful while migrating between Linux and Solaris.
The do a `tar` with `gzip` as that will save lots of space and time while transferring data between machines.
And on the destination machine you uncompress and untar the file to an empty directory.
Hope this helps.