I made a backup through the borg , but the files and directories are not sync when restoring, new files and directories that are created are not deleting.
I couldn’t find an option in borg, is there a solution that can be done during the restore of the rsync?
Especially when restoring the root directories, it causes the system not to boot
The command I do for restore
In general, I wanted it to work the same way as rsync when restoring(delete new date when restoring and replace just backup).
For that reason, I addressed the issue that compression takes place in borg and the backup volume is greatly reduced
So borg can’t perform sync during restoring
No, borg doesn’t work like that. Think of a tar archive, but with compression, de-duplication and snapshots. But you can mount a borg snapshot and use rsync to do your stuff.