Yes, the Gmail backup tool allows to archive data of all folders including custom folder, primary folder, etc.