backup 002 edited and added lockfile check