This repository was archived by the owner on Nov 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackup-mysql.cfg.php
More file actions
43 lines (38 loc) · 1.5 KB
/
Copy pathbackup-mysql.cfg.php
File metadata and controls
43 lines (38 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/* *****************************************
General
***************************************** */
define("METHOD", ""); // The backup method ("email", "ftp" or "ftps")
/* *****************************************
FTP Settings
***************************************** */
define("FTPSERVER", ""); // The FTP server
define("FTPUSER", ""); // Your FTP username
define("FTPPASS", ""); // Your FTP password
define("FTPDIR", ""); // The directory to upload the backup
define("FTPPASSIVE", false); // Sets on/off the passive ftp mode
/* *****************************************
Email Settings
***************************************** */
define("EMAILTO", ""); // The Email Address (To)
define("EMAILFROM", ""); // The "from" Email Address
define("EMAILSUBJ", ""); // The Email Subject
/* *****************************************
MySQL Settings
***************************************** */
define("DBHOST", ""); // The MySQL host (e.g. localhost)
define("DBUSER", ""); // Your MySQL username
define("DBPASS", ""); // Your MySQL password
// The names of the databases to backup:
$DBNAMES = array(
"database_one",
"database_two"
);
/* *****************************************
Security Settings
***************************************** */
// Some random keys for GET requests
// Example:
// backup-mysql.php?KEY_GET1=randomStuff&KEY_GET2=otherStuff
define("KEY_GET1", "688787d8ff144c502c7f5cffaafe2cc588d86079f9de88304c26b0cb99ce91c6");
define("KEY_GET2", "3608bca1e44ea6c4d268eb6db02260269892c0b42b86bbf1e77a6fa16c3c9282");