Teun van den Einden

Teun van den Einden

Under review

I am trying to create a new backup for my website (statamic) assets, but I'm running into two problems:

1. Backup with symlink is not working.

The assets are in a mounted volume which is symlinked to from the webdirectory, and contains multiple subfolders. The assets folder is /home/ploi/{domain}/public/volume, which is symlinked to /mnt/volume/{domain}/. What I have tried so far for my path to backup:

/home/ploi/{domain}/public/volume → zip is created with actual symlink (only ~250 bytes) instead of content, and uploaded to storage server

/home/ploi/{domain}/public/volume/ → zip is created with content, but not uploaded to the storage server

/mnt/volume/{domain} → error: The path must start with "/home/ploi/{domain}”

2. The local path must start with "/”

The local path (on the storage server) needs to start with a “/” but that doesn’t work.

Whatever I try, I get the following error in the log and the zip is put in the home folder: cd: Access failed: No such file (/ploi-backups/storage/{domain})

For my other back-ups, I have storage/{domain} without the slash in front, which is working but for some reason for the new back-up I can not save without that slash.

Super Interactive

Super Interactive

·
·

Not exactly the same, but similar issue here. When the backup directory contains a symlink, a zip warning: No such file or directory error shows in the log, and the backup always fails.

no votes yet

Backup with symlinks and backup local path bug

4 total votes
Super Interactive derHofbauer Wiener Bildungsserver Teun van den Einden
  • Dennis moved item to board Under review

    9 months ago
  • Teun van den Einden moved item to project Bugs

    9 months ago
  • Teun van den Einden created the item

    9 months ago