You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am fiddling around with trying to move the backup directory outside document root.
Whichever paths I enter in settings.php and modules configuration tab i don#t get it to work.
Maybe you could give some examples of which entries are to make where? Where is it necessary to place full/absolute path, and where relative to server document root?
In my case I would like to place _evobackup_archives inside "priv" folder two levels above document root. Is this possible? Which paths would be to enter at which places?
The text was updated successfully, but these errors were encountered:
i don't know if can work out the document root. never tested and is not a supported feature for now.
Try:
modify the path on settings .php, (remove document root and add an hardcoded path to your dir)
before add modx_backup_dir settings in module configuration you need to change this line where is defined the document root inside the $modx_backup_dir
After changing paths in settings.php., evobackup.php, the module configuration and the settings tab in the manager the backup archive was created in the chosen folder above document root.
The only backstep is that it is now not any more possible to download the archive via the download button.
Then you get an error that it can't find the file. I assume it is because it is not reachable for the server (because it is above doument root)?
If I interpret correctly this is the desired behaviour regarding security? Now you can download the backup archive only via ftp.
Are there better solutions in regard to security? Access-denying htaccess in backup archive folder?
I am fiddling around with trying to move the backup directory outside document root.
Whichever paths I enter in settings.php and modules configuration tab i don#t get it to work.
Maybe you could give some examples of which entries are to make where? Where is it necessary to place full/absolute path, and where relative to server document root?
In my case I would like to place _evobackup_archives inside "priv" folder two levels above document root. Is this possible? Which paths would be to enter at which places?
The text was updated successfully, but these errors were encountered: