Serghey Rodin
04d617d756
MySQL 5.7 support. Fixes #959 . Thanks Maks Skamasle!
2016-12-09 18:43:20 +02:00
dpeca
5d6c0137c1
Fix for: /usr/local/vesta/func/db.sh: line 390: [: : integer expression expected
...
Every night cron is sending email with subject: Cron <admin@host> sudo /usr/local/vesta/bin/v-update-sys-queue disk
And content of that email is: /usr/local/vesta/func/db.sh: line 390: [: : integer expression expected
This is a fix for that bug.
I guess mysql for some databases returns empty string for DB size, so this will handle that case.
2016-07-21 02:27:51 +02:00
Serghey Rodin
5d30b67fb1
refactoring: log_event(), is_format_valid()
2016-06-24 16:33:24 +03:00
Serghey Rodin
e05dca61a6
refactoring: log_event(), is_format_valid()
2016-06-09 16:55:35 +03:00
Serghey Rodin
1a1d333ea4
improved sql functions
2015-03-29 14:43:02 +03:00
Serghey Rodin
14c507685e
dump mysql database using --single-transaction
2015-01-11 20:34:04 +02:00
Serghey Rodin
840b12ce30
Aligned event logger calls with new formating
2014-12-09 23:47:44 +02:00
Serghey Rodin
9be508768a
send detailed mysql error if dump failed
2014-07-31 13:01:51 +03:00
Serghey Rodin
260cc5171a
delete database user
2013-10-28 17:56:27 +02:00
Serghey Rodin
861585bcca
removed unnecessary sed expr defenition
2013-10-27 13:54:31 +02:00
Serghey Rodin
a5714c10e6
removed empty string
2013-10-23 23:45:28 +03:00
Serghey Rodin
2dce1a5de4
updated error code table
2013-05-24 11:02:58 +03:00
Yonathan Dossow
104bfc2277
[db.sh] change -d to --inserts
...
the -d parameter was removed in pgsql 8.4
Signed-off-by: Yonathan Dossow <ydossow@inf.utfsm.cl>
2013-04-19 11:01:05 -03:00
Serghey Rodin
e23249a997
backup/restore procedure
2013-03-27 01:16:14 +02:00
Serghey Rodin
bbba9aeb34
web backup scheduler
2013-03-13 16:07:49 +02:00
Serghey Rodin
7113dd6625
email notification in case of failed backup
2013-03-07 14:00:57 +02:00
Serghey Rodin
2ce5290efc
fixed database disk space calculation
2012-12-13 09:57:39 +02:00
Serghey Rodin
fe7c4cb95c
dashes as valid character for mysql databases
2012-12-11 22:56:53 +02:00
Serghey Rodin
f79262da21
fixed database disk space calculation
2012-12-09 02:34:57 +02:00
Serghey Rodin
e9e3323c36
fixed mysql unsuspend bug
2012-12-01 11:25:40 +02:00
Serghey Rodin
4fffddddfb
fixed typo in rebuid script
2012-11-23 13:18:03 +02:00
Serghey Rodin
0aba6a267f
bug: delete user from database host
2012-10-09 11:54:37 +03:00
Serghey Rodin
3cec339748
sycned repo with current build
2012-07-13 12:26:58 +03:00
Serghey Rodin
9dd6022057
database add page
2012-06-20 16:58:16 +03:00
Serghey Rodin
46e0bc239b
mysql bugfix + updated rrd functions
2012-04-28 22:44:22 +03:00
Serghey Rodin
4b44937540
improved rebuilds
2012-04-05 17:19:59 +03:00
Serghey Rodin
f2133f9776
Refactoring stage VI (mail)
2012-04-03 22:08:48 +03:00
Serghey Rodin
fb40168aa3
Refactoring stage V (user)
2012-04-02 15:17:28 +03:00
Serghey Rodin
33717629f7
Refactoring stage III (db)
2012-03-27 23:08:44 +03:00
Serghey Rodin
4fa3013716
Refactoring stage III
2012-03-19 02:42:28 +02:00
Serghey Rodin
83196f310b
Refactoring stage I
2012-03-06 22:07:06 +02:00