Artem,

It sounds like you are wanting to backup files within symlinked directories and 
then restore those into existing symlinked directories.

I think you could use "--copy-dirlinks --keep-dirlinks" in the extra rsync 
options at the bottom of Expert Options.  The first will follow the symlinks on 
the source side, and the second will respect existing directory symlinks on the 
target side.  Beware that, depending on the scope of what you're syncing, there 
might be other symlinks that might be followed in a way you wouldn't want.  You 
could run `find <some-directory>/ -type l -xtype d -ls` to look for what other 
directory symlinks are in your include folders.  The snapshot would only have 
regular directories and no record of which ones were symlinks, so if the 
symlink doesn't already exist where it's being restored, a regular directory 
would be created for it instead.

If using "Restore to ..." from the Restore menu could do what you need, that 
might be simpler and safer.

Derek





On Thursday, July 11th, 2024 at 12:46 PM, Michael Büker 
<[email protected]> wrote:

> 
> 
> On 11.07.2024 21:08, Artem wrote:
> 
> > > do the relevant files exist as symlinks there?
> > 
> > No, there are real files.
> 
> 
> Try disabling 'Copy links' in 'Expert options'. I think it does the
> opposite of what you expect.
> 
> Cheers
> Michael
> _______________________________________________
> Bit-dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/bit-dev.python.org/
> Member address: [email protected]
_______________________________________________
Bit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/bit-dev.python.org/
Member address: [email protected]

Reply via email to