added robru's old backup pruning