Added context to backup api

Change-Id: I0530cfe391b6288c660eb85d94818b60a01952f3