Does unlocking the bootloader over adb, as described herein, wipe the data partition? I just want to make sure, so I know whether or not I have to backup data beforehand.
No. Unlike a fastboot triggered unlock, this simply rewrites the flag, which does not initiate a wipe.