The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Backup failure - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Backup failure (/showthread.php?tid=914)



Backup failure - stig - 01-16-2018

Dear Friends,

I have recently installed UserSpice on a CentOS machine. While testing the overall system, I have hit into a wall with the backup functionality. I get the below errors and I have tested with different paths.

Destination path could not be created due to unknown error.
Backup path already exists or could not be created.

Any help would be much appreciated.

Thank you,
John


Backup failure - Brandin - 01-16-2018

Your scripts do not have enough permissions to create folders.

You'll need to chmod your directory to allow 744 (I think) or create the folder.


Backup failure - stig - 01-16-2018

Thanks for the reply.
I have the following installation folder
/opt/lampp/htdocs/userspice/

And the Backup directory is:
/opt/lampp/htdocs/userspice/bcp

Then in UserSpice, I set the backup directory to /opt/lampp/htdocs/userspice/bcp
But I still get the above errors.


Backup failure - Brandin - 01-16-2018

The backup folder in the admin_backups is relative to z_us_root, so it should just be bcp/


Backup failure - stig - 01-16-2018

Awesome! I read that in the description but didn't really took into account.
Many thanks!