Multithreaded backup rotation script