Pierre Goiffon
1f7923beae
Merge remote-tracking branch 'origin/support/2.5'
...
# Conflicts:
# datamodels/2.x/itop-backup/module.itop-backup.php
# setup/setup.js
# setup/wizardsteps.class.inc.php
2019-02-21 17:18:29 +01:00
Pierre Goiffon
02617e8976
🔊 itop-backup : add some more logs
2019-02-19 12:21:53 +01:00
Pierre Goiffon
505aad1e89
Merge branch 'support/2.5'
...
# Conflicts:
# datamodels/2.x/itop-hub-connector/zh_cn.dict.itop-hub-connector.php
# lib/tcpdf/CHANGELOG.TXT
# lib/tcpdf/composer.json
# lib/tcpdf/include/tcpdf_fonts.php
# lib/tcpdf/include/tcpdf_images.php
# lib/tcpdf/include/tcpdf_static.php
# lib/tcpdf/tcpdf.php
2019-01-28 16:04:19 +01:00
Stephen Abello
ed3fd851f1
N°1933: Security hardening
2019-01-14 11:57:16 +01:00
Pierre Goiffon
a4055c4a74
Change comments to use same tickets ref syntax
2018-11-06 17:36:14 +01:00
Eric Espié
22df5d09fb
Retrofit from trunk
...
N°1595 - Setup : Blocking error on backup failure [from revision 6010]
SVN:2.5[6023]
2018-08-28 12:14:56 +00:00
Eric Espié
ea9b7eddde
N°1595 - Setup : Blocking error on backup failure
...
SVN:trunk[6010]
2018-08-22 10:16:35 +00:00
Eric Espié
2706ebf638
Merged from 2.4
...
N°1488 - restore failed on production-modules [from revision 5827]
SVN:trunk[5828]
2018-06-05 14:14:37 +00:00
Stephen Abello
cb2c172483
N°1173 : mysqldump now correctly use 'mysql_bindir' parameter on setup & move to prod's backups
...
SVN:trunk[5767]
2018-05-03 15:00:13 +00:00
Eric Espié
5b83f2a554
Fix setup (support for distrib > 9.x.x)
...
SVN:trunk[5700]
2018-04-20 09:40:27 +00:00
Pierre Goiffon
aa8072118d
N°1260 remove db_tls.verify_server_cert : the server cert verification is now based on the TLS CA parameter value
...
SVN:trunk[5683]
2018-04-18 07:26:11 +00:00
Pierre Goiffon
f07bbfa174
N°1260 MySQL TLS connection : change parameters to only enable checkbox + CA (remove client key, client cert, cappath, cipher)
...
SVN:trunk[5682]
2018-04-18 06:57:38 +00:00
Pierre Goiffon
9d5ab75dbd
Backup/restore : apply COmbodo formatting
...
SVN:trunk[5667]
2018-04-13 14:49:27 +00:00
Pierre Goiffon
b219161011
N°1001 switch DB charset from utf8 to utf8mb4 to allow characters outside of the BMP
...
* use centralized constants instead of literal values in code
* remove config parameters 'db_character_set' and 'db_collation'
* always fix charset when creating/altering column
* backup : use utf8mb4 only for mysqldump >= 5.5.33 (was introduced in 5.5.3 but only available in 5.5.33 for programs)
SVN:trunk[5443]
2018-03-16 09:59:16 +00:00
Pierre Goiffon
d96015f2c1
N°1260 new db_tls.verify_server_cert option to force server certificates check
...
SVN:trunk[5381]
2018-03-05 15:50:18 +00:00
Pierre Goiffon
519093dceb
N°1260 fix backup classes to correctly uses DB parameters including TLS
...
* backup : add missing PHPDoc
* backup : use a config object instead of each parameter attribute
* CMDBSource::InitServerAndPort : remove static attribute dependency, change visibility
* setup : generate a config instance to use in backup
* backup : add TLS params if needed to the mysqldump call
SVN:trunk[5375]
2018-02-28 15:12:57 +00:00
Pierre Goiffon
c715b9488a
N°1260 MySQL connection : allow to use p: host prefix (persistent connection, see http://php.net/manual/en/mysqli.persistconns.php )
...
SVN:trunk[5316]
2018-02-08 14:22:27 +00:00
Pierre Goiffon
ca28eeb596
N°1260 rename db_ssl* vars to db_tls (cause SSL is an old protocol and MySQL uses TLS)
...
Keep options label with SSL, to keep them aligned with the labels used in MySQL products and documentation
SVN:trunk[5314]
2018-02-08 14:22:14 +00:00
Pierre Goiffon
f51eb96c69
N°1260 MySQL TLS connection : do not use persistent connection in Mutex
...
SVN:trunk[5313]
2018-02-08 14:22:05 +00:00
Pierre Goiffon
b032299b05
N°1260 MySQL TLS connection : exception if the opened connection is not in TLS whereas TLS parameters were used to open it
...
SVN:trunk[5312]
2018-02-08 14:21:58 +00:00
Pierre Goiffon
3375629d06
N°1260 MySQL TLS connection : add capath config for mysqli::ssl_set argument
...
SVN:trunk[5310]
2018-02-08 14:21:40 +00:00
Pierre Goiffon
37232bc222
N°1260 every classes creating a mysqli instance now use a dedicated method in CMDBSource
...
SVN:trunk[5309]
2018-02-08 14:21:33 +00:00
Pierre Goiffon
d2f0deec9c
N°1260 Config : migrate DB* variables to the Get() model, create CMDBSource::InitFromConfig
...
SVN:trunk[5308]
2018-02-08 14:21:25 +00:00
Eric Espié
6477e2e1bb
N°1188 - Backup needs too much disk space
...
SVN:trunk[5144]
2017-11-30 08:52:44 +00:00
Eric Espié
85b31701f4
N°1156 - Manual backup can be very long
...
* The database is saved in last position to avoid overhead when generating the archive file
SVN:trunk[5130]
2017-11-16 14:00:41 +00:00
Guillaume Lajarige
9cf42f6cc8
N°1002 Backup: '.' character in iTop instance path was causing a crash when trying to -temporary- replace them in the backup filename (due to compression lib limitations).
...
SVN:trunk[4883]
2017-08-29 14:30:46 +00:00
Romain Quetiez
e31fa066fc
N.612 Backup files could not exceed 4Gb (technology limitation). The fix consists in archiving the backup as a tar.gz instead of a zip. As a consequence, installing iTop now requires TWO additional PHP modules: phar/zlib. The zip module remains mandatory because it is used in other places. The restore utility accepts both legacy zip files and brand new tar.gz files. DBBackup::CreateZip is deprecated in favor of DBBackup::CreateCompressedBackup. DBRestore::RestoreFromZip is deprecated in favor of DBRestore::RestoreFromCompressedFile (which autodetects the format for backward compatibility).
...
SVN:trunk[4803]
2017-07-06 15:26:03 +00:00
Romain Quetiez
3f819eaa19
N.656 Allow DB writes during a backup
...
SVN:trunk[4794]
2017-07-04 06:55:41 +00:00
Denis Flaven
8446fb028d
Make sure that the setup can be launched even if the 'php-zip' module is not installed.
...
SVN:trunk[4211]
2016-06-15 09:44:25 +00:00
Romain Quetiez
b318d27b19
#1209 Setup or Backup failing with french error message 'Effacement du fichier ...' Regression introduced in [r3868]. Occurs when a backup fails and prevents users from seeing the mysql error report.
...
SVN:trunk[4010]
2016-04-22 09:26:16 +00:00
Romain Quetiez
95ca14b05c
#1165 backup with errors fills up tmp-directories with lots of backup-files.
...
SVN:trunk[3868]
2016-01-21 14:55:31 +00:00
Denis Flaven
e7170755d8
Support the download of "bigger-than-memory" backup files.
...
SVN:trunk[3809]
2015-10-26 10:38:57 +00:00
Denis Flaven
030b4fa380
Enhancement: support injection of new modules treated as data.
...
SVN:trunk[3525]
2015-04-01 15:53:05 +00:00
Romain Quetiez
934e500253
Setup: fixed issue when upgrading a DB (no install dir specified, thus no config file) and requesting a backup: the backup is created without the config file in it.
...
(Updated the readme for the upcoming release!)
SVN:trunk[3037]
2013-12-10 15:47:33 +00:00
Romain Quetiez
7e4b69d272
Improved the error reporting for the backup (in case mysqldump fails with a single error, then the error is displayed directly)
...
SVN:trunk[2825]
2013-08-19 15:16:32 +00:00
Romain Quetiez
d8c9044e15
Improved the error reporting for the backup (in case mysqldump fails with a single error, then the error is displayed directly)
...
SVN:trunk[2824]
2013-08-19 15:15:53 +00:00
Romain Quetiez
4fa07536d5
Added datamodel delta (if any) to the backup file
...
SVN:trunk[2819]
2013-08-13 09:01:04 +00:00
Romain Quetiez
98a1242050
New capability for CRON: handle tasks scheduled at given date/time (as opposed to a task being executed more or less continuously).
...
SVN:trunk[2816]
2013-08-08 15:23:05 +00:00
Denis Flaven
b971faecda
Cleanup of the log output. No need for such verbosity now that we are approaching the release.
...
SVN:trunk[2746]
2013-05-16 15:41:52 +00:00
Romain Quetiez
7ba5526fda
#725 Specify a port for mySQL server
...
#729 Backup fails on Windows IIS
SVN:trunk[2742]
2013-05-16 13:57:52 +00:00
Denis Flaven
4fb7f612b1
Removed the "verbose" option from the mysqldump command.
...
SVN:trunk[2570]
2012-12-13 14:50:56 +00:00
Denis Flaven
323147c7f4
Fixed Trac #619 : Added the option -- single-transaction to the mysqldump command to avoid locking issues with non-existing definer accounts.
...
SVN:trunk[2477]
2012-11-28 11:17:45 +00:00
Denis Flaven
b2031c5e44
Changed mysqldump invocation to verbose mode (at least for the duration of the beta) in order to ease the troubleshooting of backup failures.
...
SVN:trunk[2448]
2012-11-21 13:26:10 +00:00
Romain Quetiez
721faa7e1e
Updated copyright (2012) and license (LGPL changed to AGPL)
...
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Romain Quetiez
93791255e6
The new 2.0 setup is under way... (forgot the class 'DBBackup')
...
SVN:trunk[2188]
2012-09-18 14:47:15 +00:00