init backup and tmp dirs