backup icon indicating copy to clipboard operation
backup copied to clipboard

Assets with symlink don't backup to dropbox

Open incraigulous opened this issue 3 years ago • 2 comments

Description

The database export makes it to dropbox, but not asset files. Our userphotos (which is empty) is the only folder with a tar file that makes it to dropbox. It will say the backup is complete and does not report any errors. I've checked logs and can't find anything. The backup says it was successful.

Note: Our web/uploaded_assets folder is a symlink: uploaded_assets -> ../../../shared/web/uploaded_assets. I think it's possible the plugin isn't able to follow symlinks?

Steps to reproduce

  1. Set the asset folder to backup to dropbox including assets and database
  2. Put your uploaded_assets folder behind a symlink
  3. Schedule a backup

Additional info

  • Craft version: Craft Pro 3.6.16
  • PHP version: 7.3.28
  • Database driver & version: MySQL 5.7.32
  • Plugin version: 1.5.0

incraigulous avatar Jun 18 '21 14:06 incraigulous

@andrelopez any advice here? I'm really not sure if it has to do with the symlink or not, but it only backs up our "user_photos" folder, even though we have all of our asset folders checked.

incraigulous avatar Aug 30 '21 19:08 incraigulous

Hi @incraigulous I was unable to recreate this issue, could you please let me know if you ended up solving this issue?

andrelopez avatar Jul 12 '22 19:07 andrelopez