Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use restore database #11

Open
mmansyur2000 opened this issue Mar 17, 2019 · 3 comments
Open

can't use restore database #11

mmansyur2000 opened this issue Mar 17, 2019 · 3 comments

Comments

@mmansyur2000
Copy link

First.. thanks for your source. the the myphp-backup.php is great for me. but i can't use the restore php file. i don't understrand bout the defince code

define("BACKUP_FILE", 'myphp-backup-majengfam-20181022_164459.sql.gz'); //
Script will autodetect if backup file is gzipped based on .gz extension

how to change the the second parameter in define function.
thank you

@LukeSavefrogs
Copy link

LukeSavefrogs commented May 27, 2019

What do you mean? Doesn't it works if you can change it directly from your script?

@daniloaz
Copy link
Owner

daniloaz commented May 28, 2019

You must set BACKUP_FILE with the real filename and path where your backup file is located. Otherwise the script won't find the backup file.

@daniloaz daniloaz reopened this May 28, 2019
@sabrysuleiman
Copy link

backup works good but restore returns
Notice: fgets(): read of 8192 bytes failed with errno=21 Is a directory in /opt/lampp/htdocs/dashboard/classes/myphp-restore.php on line 129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants