Removed unused code in backup