borgbackup/community

Extract and symoblic link

Nuube opened this issue · 3 comments

Nuube commented

This is maybe a question and not an issue:

Let assume the given directory structure

/link_target
/link_target/data1

/home/data2
/home/link_to_target

where /home/link_to_target is a symbolic link to /link_target ( /home/link_to_target --> /link_target )

When I backup /home directory the link_to_target is resolved and the files from /link_target/data1 is part of the backup because the link is resolved.

When I extract the backup, is the directory /link_to_target recreated as a link or as an directory? If it is recreated as a link (which in many cases is what you want), does the subsequently extracted from data1 overwrite the original data in /link_target/data1 or do I get a copy in the extract directory?

this is the wrong repository, you want to go to borgbackup/borg

I closed this there, too, can not reproduce. See there.