× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
backup manually
#1
Hi,
About this method for me everything is working but db. I don't know why always has an error about 'Couldn't export database' and some other 'notice and warning'.

thanks in advanced.
Alex.
  Reply
#2
Can you paste all of the warnings and notices. It is possible the user you are authenticating against the DB does not have Export permissions.
  Reply
#3
I'm the admin with full permission.

Right now this is the only warning that appear in red.
"Couldn't export database: sh: mysqldump: command not found"

the backup is all done except sql (the mysqldump doesn't do its job I guess).

In green color as job done...
"...
Destination path already existed. Using the existing folder.
Copied directory: /Applications/MAMP/htdocs/web/ to /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38/files/
Copied directory: /Applications/MAMP/htdocs/web/users to /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38/files/users
Copied directory: /Applications/MAMP/htdocs/web/usersc to /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38/files/usersc
Backup completed successfully.
Backup was successful.
Successfully created /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38.zip from /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38/
The backup folder /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38 has been removed. Please download /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38.zip directly.
DB & Files Zipped
File renamed to: /Applications/MAMP/htdocs/web/@backup_everything_2018-04-10T03-56-38_SHA1_9e679d57234de2d56f305f074784abd1eb80c907.zip
.."
  Reply
#4
This could be your issue (I'm assuming your on Mac):
https://stackoverflow.com/questions/3268...on-macos-x
  Reply
#5
Thx Brandin. Yes I'm a mac user, and Yes I checked that page and did it everything from the .bash_profile until sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump, etc. Well at least I'm less worried about it since I've seen that in my heroku app I can manage the backup with no problems at all.
And as well I'd like add that workbench is working fine with the export as well.

One more thing, maybe you already know. The backup's file couldn't be deleted from the app. Message green telling me ok, file is deleted and at the same time the red one telling opposite.

Thanks for everything dude, you always are doing your best at any time just for help us. Thanks again.
  Reply
#6
This probably has to do with the commands we're trying to use to remove the files-Mac very well may not support it via MAMP. I can't do any debugging, but I'm going to try and do a bit of research for you based on what actually happens on the script.
  Reply
#7
Hi Brandin, thanks a lot.
I've found that the '@' prefix was my "missunderstood" and drove me crazy.
Code:
$backup_dest = "@".$settings->backup_dest;//::from 4.2.9a
Is around line 414 aprox.
If you just leave empty it the problem starts, because it build up an empty folder "@" and in your root make you a file with name like "@@backup_us_files_blah_blah_blah" then you're not able to delete nor download because of double '@'.
I'm trying to implement
Code:
<div class="input-group-text">@</div>
before the input, but it's necessary bootstrat v4... we'll see.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)