600 lines
12 KiB
PHP
Executable File
600 lines
12 KiB
PHP
Executable File
<?php
|
|
$JOB = array (
|
|
'act' => 'backup',
|
|
'type' => 'run',
|
|
'db' => 'cloud',
|
|
'charset' => '0',
|
|
'zip' => '9',
|
|
'comment' => '',
|
|
'del_time' => '',
|
|
'del_count' => '',
|
|
'outfile' => '0',
|
|
'obj' =>
|
|
array (
|
|
'TA' =>
|
|
array (
|
|
0 => '*',
|
|
),
|
|
),
|
|
'job' => 'AlWJj8SR',
|
|
'file_tmp' => 'backup/AlWJj8SR.tmp',
|
|
'file_rtl' => 'backup/AlWJj8SR.rtl',
|
|
'file_log' => 'backup/AlWJj8SR.log',
|
|
'file_stp' => 'backup/AlWJj8SR.stp',
|
|
'file_ext' => 'sql.gz',
|
|
'file' => 'cloud_2021-10-01_17-24-46.sql.gz',
|
|
'file_name' => 'backup/cloud_2021-10-01_17-24-46.sql.gz',
|
|
'todo' =>
|
|
array (
|
|
'TA' =>
|
|
array (
|
|
0 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_account_terms',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
1 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_accounts',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '8',
|
|
4 => '6',
|
|
5 => '8192',
|
|
),
|
|
2 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_activity',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '98218',
|
|
4 => '93178',
|
|
5 => '20750336',
|
|
),
|
|
3 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_activity_mq',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
4 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_addressbookchanges',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '15',
|
|
4 => '12',
|
|
5 => '8192',
|
|
),
|
|
5 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_addressbooks',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '8',
|
|
4 => '7',
|
|
5 => '8192',
|
|
),
|
|
6 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_appconfig',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '83',
|
|
5 => '8192',
|
|
),
|
|
7 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_authtoken',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '7446',
|
|
4 => '5250',
|
|
5 => '1581056',
|
|
),
|
|
8 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_calendarchanges',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '4',
|
|
4 => '2',
|
|
5 => '8192',
|
|
),
|
|
9 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_calendarobjects',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
10 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_calendars',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '8',
|
|
4 => '5',
|
|
5 => '8192',
|
|
),
|
|
11 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_calendarsubscriptions',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
12 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_cards',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '8',
|
|
4 => '4',
|
|
5 => '8192',
|
|
),
|
|
13 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_cards_properties',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '59',
|
|
4 => '29',
|
|
5 => '8192',
|
|
),
|
|
14 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_comments',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
15 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_comments_read_markers',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
16 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_credentials',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
17 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_dav_job_status',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
18 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_dav_properties',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
19 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_dav_shares',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
20 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_external_applicable',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
21 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_external_config',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
22 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_external_mounts',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
23 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_external_options',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
24 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_federated_reshares',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
25 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_file_locks',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '91496',
|
|
4 => '22312',
|
|
5 => '1843200',
|
|
),
|
|
26 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_filecache',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '93745',
|
|
4 => '80183',
|
|
5 => '16539648',
|
|
),
|
|
27 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_files_trash',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '3773',
|
|
4 => '3736',
|
|
5 => '253952',
|
|
),
|
|
28 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_group_admin',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
29 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_group_user',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '4',
|
|
5 => '8192',
|
|
),
|
|
30 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_groups',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '2',
|
|
5 => '8192',
|
|
),
|
|
31 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_jobs',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1099',
|
|
4 => '1036',
|
|
5 => '221184',
|
|
),
|
|
32 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_migrations',
|
|
2 => 'utf8_unicode_ci',
|
|
3 => NULL,
|
|
4 => '66',
|
|
5 => '16384',
|
|
),
|
|
33 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_mimetypes',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '66',
|
|
4 => '52',
|
|
5 => '8192',
|
|
),
|
|
34 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_mounts',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '7',
|
|
4 => '4',
|
|
5 => '8192',
|
|
),
|
|
35 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_albums',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
36 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_ampache_sessions',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
37 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_ampache_users',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
38 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_artists',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
39 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_bookmarks',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
40 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_cache',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
41 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_genres',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
42 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_playlists',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
43 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_podcast_channels',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
44 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_podcast_episodes',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
45 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_radio_stations',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
46 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_music_tracks',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
47 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_notifications',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '2',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
48 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_persistent_locks',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
49 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_preferences',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '12',
|
|
5 => '8192',
|
|
),
|
|
50 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_privatedata',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
51 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_properties',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
52 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_schedulingobjects',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
53 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_share',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
54 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_share_external',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
55 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_storages',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '8',
|
|
4 => '6',
|
|
5 => '8192',
|
|
),
|
|
56 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_systemtag',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
57 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_systemtag_group',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
58 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_systemtag_object_mapping',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
59 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_trusted_servers',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
60 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_users',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '5',
|
|
5 => '8192',
|
|
),
|
|
61 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_vcategory',
|
|
2 => 'utf8mb4_bin',
|
|
3 => '1',
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
62 =>
|
|
array (
|
|
0 => 'TA',
|
|
1 => 'oc_vcategory_to_object',
|
|
2 => 'utf8mb4_bin',
|
|
3 => NULL,
|
|
4 => '0',
|
|
5 => '8192',
|
|
),
|
|
),
|
|
),
|
|
); |