def forwards_func(apps, schema_editor):
print("<STR_LIT:\n>")<EOL>create_count = <NUM_LIT:0><EOL>BackupRun = apps.get_model("<STR_LIT>", "<STR_LIT>")  <EOL>backup_runs = BackupRun.objects.all()<EOL>for backup_run in backup_runs:<EOL><INDENT>temp = OriginBackupRun(name=backup_run.name, backup_datetime=backup_run.backup_datetime)<EOL>try:<EOL><INDENT>temp.write_config()<EOL><DEDENT>except OSError as err:<EOL><INDENT>print("<STR_LIT>" % err)<EOL><DEDENT>else:<EOL><INDENT>create_count += <NUM_LIT:1><EOL><DEDENT><DEDENT>print("<STR_LIT>" % create_count)<EOL>
manage migrate backup_app 0004_BackupRun_ini_file_20160203_1415