The function of MDT backup in the CRX DVRViewer program is to allow users to create backups of their data, ensuring that their recordings and other important information are safely stored and can be restored if needed.