• Dear support team,

    creating a backup job I always used absolute paths, eg

    /kunden/homepages/12/d123456789/htdocs/backups/full/
    /kunden/homepages/12/d123456789/htdocs/backups/mysql-dumps-only/

    but this is no longer possible. it always reverts back to relative paths

    uploads/backwpup-973b2f-backups/

    would be nice to get absolute paths back ??

    thanks a lot for auch a great plugin!

    Greetings
    Becki

Viewing 5 replies - 1 through 5 (of 5 total)
  • I just found the same problem. What’s going on guys?

    It seems that trying to set a relative path via ../../……. etc. also reverts it back to the default path.

    Editing it is fine, as long as it’s within the WP folder. As soon as I try to leave the folder, it reverts back to the default.

    Attempting to set a full path to somewhere within the WP folder also fails.

    Is this a security setting I can disable somewhere?

    Plugin Support happyAnt

    (@duongcuong96)

    Hi @becki, @ellmanncreative

    This is an intended behaviour for security reason, but we have plan to allow absolute path backup in the next version!

    Thank you for the suggestion!

    Hey. What’s the plan here? I see I’m still restricted to making backup files in the very PUBLIC web directory. I’m on BackWPup version 4.0.4 now.

    Thread Starter Becki Beckmann

    (@becki)

    if it’s urgent use this workaround -> in the database wp_options there’s an entry called ‘backwpup_jobs’.
    it’s a serialized php string. unserialize this string. modify value ‘backupdir’ with the path to your backup folder. then serialize the string again and update the database.
    best keep a backup of the ‘backwpup_jobs’

    https://onlinephp.io/unserialize

    use at your own risk and don’t update the job backup dir option via the web interface as it will revert back to relative path

    greetings
    Beckmann

    Thank you. I guess I’ll do that, and come up with a MU plugin to fix those paths according to a pattern I typically use.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘absolute path issue’ is closed to new replies.