Page 1 of 1

Trying to backup : Export Error: Output file is not writable

Posted: Tue Mar 14, 2023 3:53 pm
by tsignadze
Hello, I have nubuilder setup on webserver, when I am trying to perform a backup, I get following error:
Untitled.png
What do I need to check?

Re: Trying to backup : Export Error: Output file is not writable

Posted: Tue Mar 14, 2023 3:59 pm
by kev1n
Hi,

The default backup location is here:
/core/libs\mysqldump/dumps

This error message typically indicates that PHP is unable to write to the specified output file. There are a few possible reasons why this might be happening:

Permissions: The user running the PHP script may not have the necessary permissions to write to the file. Check the permissions of the output file and make sure the user has write access.

File ownership: The output file may be owned by a different user or group than the one running the PHP script. Check the ownership of the file and make sure the user running the PHP script has the necessary permissions.

File location: The output file may be located in a directory that the user running the PHP script does not have write access to. Check the permissions of the directory and make sure the user has write access.

Re: Trying to backup : Export Error: Output file is not writable

Posted: Wed Mar 15, 2023 1:25 pm
by tsignadze
Thank you very much Kev1n!

I was missing following folder: /core/libs\mysqldump/dumps

Created it and set correct permissions, works nice now.

Re: Trying to backup : Export Error: Output file is not writable

Posted: Sun May 28, 2023 9:30 pm
by camti
In my case, the folder was there, but the permission was set to 750. When I changed it to 770, it worked immediately!