MDL-30797 - backup groups: Changing grouping restore function to use API in group lib.