Implementing new backup/restore function class [part-1]