| Author |
Message |
Guest

|
Posted:
Wed Dec 29, 2004 5:39 pm |
|
Hi !
When I backup DB it's OK. But when I try to backup files I get this error:
| Code: |
Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in /STORE/kalak_flightsim_/public_html/admin/modules/advbackup.php on line 177
And this text:
An error occured! The files could not be backed up
|
Anything I can do to correct this.
Greetings From Greenland,
KalaK |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 894
|
Posted:
Wed Dec 29, 2004 5:55 pm |
|
Your host may have the server set to safe mode or has the needed commands disabled. I don't have a server that will reproduce the problem, but if you would be willing to help test, I have something that might work for you. Please email me via the feedback link or register here and private message me if you can help test. |
| |
|
|
 |
ikazanci

Joined: May 04, 2005
Posts: 1
Location: Turkey
|
Posted:
Wed May 04, 2005 9:06 am |
|
You done a really good work with ANB. Thanks all to developer(s).
I have the same error on file backup which before on this post. i talk with isp and they said that they can not change safe mode off. They said that there could be some other script codes to run for safe mode on servers. Someone else got same error in this topic but i cant find its answer.
my original error was :
Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /usr/hosts1/web1/www.konurhastanesi.com/admin/modules/advbackup.php on line 177
as you say i will send a private message and may be later we can send the answer here for the records.
Thank You.
| gotcha wrote: |
| Your host may have the server set to safe mode or has the needed commands disabled. I don't have a server that will reproduce the problem, but if you would be willing to help test, I have something that might work for you. Please email me via the feedback link or register here and private message me if you can help test. |
|
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 894
|
Posted:
Fri May 06, 2005 9:24 am |
|
I have been working on the next version of advanced nuke backup. I have not yet started on the files part, but have a couple of ideas/solutions to get file backups on windows servers and safe mode enabled servers. I will post back here when I get something together that is ready for testing. |
| |
|
|
 |
martyn

Joined: Nov 28, 2006
Posts: 2
Location: Oxfordshire, UK.
|
Posted:
Tue Nov 28, 2006 7:53 pm |
|
Hi
I have the same problem after my server has been upgraded, shell exec has been disabled for security reasons, but my host is willing to enable it.
I would prefer to find an alternative way of creating and sending the backups.
Have you come up with an alternative to :
| Code: |
$zipline = "tar -czf $backupdir/file/$dst.tar.gz --exclude=$backupdir $exc * .[a-zA-Z]*";
s h e l l _ e x e c ($zipline); |
(placed spaces in code just in case i get banned again ).
I am a willing tester for any theories you may have.
Regards
Martyn |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 894
|
Posted:
Wed Nov 29, 2006 2:02 pm |
|
Yes I have a solution that I am working into the next version. I will be working on a new version of ANB after I get done with some other projects. Hang in there, it will be a huge improvement over the previous version with some very nice new features. It is also capable of dealing with huge databases and massive amounts of files without any timeout problems. |
| |
|
|
 |
martyn

Joined: Nov 28, 2006
Posts: 2
Location: Oxfordshire, UK.
|
Posted:
Wed Nov 29, 2006 2:56 pm |
|
|
|
 |
|
|