added code for tar backup (last commit was empty)