Adding support for backing up and restoring relationships