cleanup and register
before backup of local system