The current backupAndSave function in settings.py renames the existing config file and then creates a new one from the defaults. If the original config file is a symlink to another location, the resulting file is no longer symlinked and is a standalone file.