Another way to avoid having your digital privacy intruded upon is to backup all the data onto an external hard drive, USB drive or SD card (making sure the content of your backup is encrypted, of course). You can then ship the data to your destination. With your data copied off the device, you can wipe the machine you just backed up, and travel across the border with a completely blank device or one with the default configuration. Once reunited with the external hard drive you can restore the data to whichever machine you ended up traveling with.
(Image via command-tab‘s Flickr photostream)