-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup_settings.default.php
68 lines (50 loc) · 2.23 KB
/
backup_settings.default.php
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
*
* WebsiteBaker Community Edition (WBCE)
* Way Better Content Editing.
* Visit http://wbce.org to learn more and to join the community.
*
* @copyright Ryan Djurovich (2004-2009)
* @copyright WebsiteBaker Org. e.V. (2009-2015)
* @copyright WBCE Project (2015-)
* @license GNU GPL2 (or any later version)
*/
// No direct access
if (!defined('WB_PATH')) die(header('Location: ../../index.php'));
/**
* Directory where data is stored
*
*/
define('BACKUP_DATA_DIR', DIRECTORY_SEPARATOR.'backups'.DIRECTORY_SEPARATOR);
/**
-------------------------------------------------------------------------------
*
* THE CONFIGURATION SECTION
*
-------------------------------------------------------------------------------
**/
// Prevent server or network timeout while zipping the backup
// by excluding directories and / or large files.
// Exclude large files, max file size in megabytes
$max_file_size = 60;
// Log excluded large files
$log_excluded_large_files = true;
// Log excluded files with ignored extension
$log_excluded_extensions = true;
// -------------------- Includes for backup type PAGE ---------------------------
// Specify directories you WANT in the backup as an array for backup type "page"
$includeDirs = array('pages');
// Specify database tables you WANT in the SQL export as an array for backup type "page"
$exportTables = array('mod_wysiwyg','mod_menu_link','mod_sitemap','pages','sections');
// -------------------- Excludes for backup type WBCE ---------------------------
// Specify directories you do NOT want in the backup as an array for backup type "wbce"
$ignoreWbceDirs = array('backups', 'owncloud','nextcloud','logs','log','cgi-bin');
// Specify (optionally part of) database table names you DO NOT WANT in the SQL export as an array.
// (For example because these tables are too big and would terminate the dump process.)
$saveAsEmptyWbceTables = array('mod_wbstats');
// -------------------- Excludes for backup type FULL ----------------------------
// Specify directories you do NOT want in the backup as an array for backup type "full"
$ignoreFullDirs = array('backups', 'owncloud','nextcloud','logs','log','cgi-bin');
// Specify file EXTENSIONS you do NOT want in the backup as an array
$ignoreExts = array();