Better way to backup an ipfs node

Hi,

I am copying contents from an operating IPFS node to a new one - to get all the pinned files from old one and pin at the new one.

I added the multiaddr of old node to new IPFS node’s bootstrap list, then start it.
ipfs bootstrap add <addr>
Next I get the list of pinned files in old node.
ipfs pin ls -q
Then in new node, a script running multiple ipfs pin add <hash> where hash is from the above list.

I wonder if there is a fast dump and re-import way to the above task. Does anyone has an idea?

The dead-simple way is to copy the entire repo over and then run a GC to delete everything not pinned. Other than that, copying via bitswap is really the only other option at the moment.