• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Backup targets of symlinks via Backup Manager

King555

Regular Pleskian
Server operating system version
Ubuntu 18.04.6 LTS x64
Plesk version and microupdate number
Plesk Obsidian 18.0.45 update #2 web admin edition
I have one subscription where the folder inside vhosts/... contains one symlink, which points to another directory on the harddisk. I backup this folder weekly automatically via the Plesk Backup Manager. Unfortunately the symlink target is not backed up. The backup file only contains one 0-byte file with the name of the symlink.

I know how I can fix this with manual backups when using "tar", but can I fix it with the automatic backups?
 
Meanwhile I think it must be a permission thing and the user, which does the backup, cannot access the target of the symlink.

How can I find out which user runs the backup?
 
It seems like this is not possible with Plesk, so I will backup this directory via my own script and a cronjob. Probably it's also safer, because the directory is not revealed to the public when it's not symlinked in the vhost folder (although it's always blocked via a .htaccess file).

So this topic is kind of resolved.
 
Back
Top