diff --git a/backup-boogie/on_boogie_side/README b/backup-boogie/on_boogie_side/README index f01ff88..46b69af 100644 --- a/backup-boogie/on_boogie_side/README +++ b/backup-boogie/on_boogie_side/README @@ -1,3 +1,6 @@ -This folder hast to be on the Boogie server +The content of this folder hast to be on the Boogie server at: +/var/www/virtual/boogie/html/backup-boogie + +Its the server side enpoint of the backup script running on BFDS. The credentials.php has to be filled but never commited to the git \ No newline at end of file diff --git a/backup-boogie/on_boogie_side/dump_all_databases.php b/backup-boogie/on_boogie_side/dump_all_databases.php index 3c0d630..178104b 100644 --- a/backup-boogie/on_boogie_side/dump_all_databases.php +++ b/backup-boogie/on_boogie_side/dump_all_databases.php @@ -13,8 +13,9 @@ else mkdir('dumps'); } -read credential file -$credential_file = fopen("credentials.php", "r") or die("Unable to open file!"); +//read php file with credentials and parse it +fopen("credentials.php", "r") or die("Unable to open file!"); +include 'credentials.php'; //should priovide the following variables: // $db_host = 'host'; // $db_user = 'user';