backupconfs: rewrite