backup: implemented backup functions using the new backup model