Commit Graph

37 Commits

Author SHA1 Message Date
ralf
8de012795e fix "Illegal offset type in isset or empty" when renaming a backup 2023-12-05 17:03:11 +02:00
ralf
1e3a240729 fix S3direct stream-wrapper to be auto-loadable and mountable into Vfs, also using it when mounting backups into vfs 2023-11-18 09:16:39 +02:00
ralf
108a9e94e6 disable verbosity of automatic schema-update when restore is run from within EGw, as it fills the screen completely 2023-11-02 14:42:28 +02:00
ralf
b45b3c35df WIP S3 stream-wrapper: refactored DB backup in order to (optionally) use S3 2023-10-24 22:22:16 +03:00
ralf
fb9c214182 * Admin/Setup: logging all DB backup operations to a text file db_backup.log in backup-directory 2023-03-10 08:33:23 +01:00
ralf
7e70eee888 final fix for "Network error" when stream files to client
It is important to FIRST disable zlib.output_compression (before headers are sent!) and THEN end all output-buffering!
Without the two steps in this order, we are either limited by the memory limit or get the "Network error", because the streaming/fpassthrough does not apply the compression.
2022-05-05 12:47:31 +02:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
3fcac1ff72 PHP 8 and PHPStorm error fixes for setup 2021-04-01 14:34:19 +02:00
nathangray
fa9eda18b8 Setup: Fix backups to keep of 0 gave an error "must be integer" 2020-05-12 09:30:55 -06:00
Ralf Becker
e089f4428f show how long the backup took 2019-02-18 13:42:29 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
49abce8235 Fix wrongly spelled EGroupware name 2018-04-11 15:13:39 +02:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
ca2ffb6aea using new api for setup 2016-05-01 15:56:49 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00
Ralf Becker
a1a88d801a show sha1 hashes for uploaded backups 2014-10-30 15:18:59 +00:00
Ralf Becker
544d57ca46 prevent CSRF for setup and admin site configuration 2014-05-01 06:26:09 +00:00
Ralf Becker
c3e0a2ab15 * Setup/Admin: restoring 10 rows per sql statement to speed up restore 2012-06-10 12:38:35 +00:00
Ralf Becker
508c3c5517 * Admin/Setup: button to mount backup directory under /backup into VFS 2012-03-27 11:20:08 +00:00
Ralf Becker
403600fdd9 * removing memory limit from backup download, by switching off output buffering and zlib output compression 2011-02-25 13:13:40 +00:00
Ralf Becker
3afe73c701 do NOT allow to change backup_files config if backup is called outside of setup, as it can have a huge impact on the server 2011-01-20 22:17:06 +00:00
Ralf Becker
a65406b88b * restore to current system charset, to force all restores to utf-8, and do NOT halt on sql errors in restore 2010-08-19 08:07:06 +00:00
Ralf Becker
10cf1b2b8e * not overwriting system configuration (eg. pathes) on restore, which break a running system and if called from within EGroupware update the restored backup, in case it is an older version 2010-08-15 15:46:23 +00:00
Klaus Leithoff
686ada2d40 fix to show all files in backup_dir, not only entrys with different ctime (ctime was used as key for list) 2010-04-20 14:06:26 +00:00
Klaus Leithoff
88687148cd Call-time pass-by-reference has been deprecated Stuff. 2009-08-28 11:46:07 +00:00
Klaus Leithoff
5378561274 fixed an issue with 0 not passed or passed as empty minCount; Now forcing it to 0 if empty 2009-08-27 13:14:54 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Ralf Becker
93112e0277 phpDoc headers 2008-08-20 06:04:28 +00:00
Ralf Becker
92474ad4ca fixed not settable minutes for sheduling backups 2006-11-06 13:30:40 +00:00
Ralf Becker
11e8e4feaa view --> few patch, thanks to Adi Kriegisch 2006-06-08 19:50:31 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Ralf Becker
b6883d59e8 1) fixed setup-detection, to allow login into setup again
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Miles Lott
e69b1c0f96 Spell-check new db backup function 2004-10-26 12:59:15 +00:00
Ralf Becker
74c705264c added renaming of backups 2004-10-22 09:22:29 +00:00
Ralf Becker
940deb08a9 finished DB backup and restore for eGW:
- the backup is independent of the used DB and can eg. be used to port an install to an other DB type
- autom. backup before upgrades of the DB structure
- installing backups instead an installation from scratch
- own backup screen in setup and admin to:
  + shedule repeating backups
  + up- and download of backups
  + creating and restoring backups
2004-10-15 23:06:34 +00:00