Improved backup and dfs