ThisisaMySQL/PostgreSQLdatabasebackupscriptfortheZabbixmonitoringsoftwarefromversion1.3.1upto4.4.
DownloadDownloadthelatest(stable)releasehere:
https://github.com/maxhq/zabbix-backup/releases/latest
MoreinformationsPleaseseetheProjectWiki.
Versionhistory0.9.3(2020-01-17)
ENH:CheckforunknowntablesENH:SpeedupMySQLbackupbynotcallingmysqldumpforeverysingletableanymoreENH:Newoption-StospecifyPostgreSQLschemaFIX:StabilizeandenhancePostgreSQLdumpFIX:SkipIPreverselookupforlocalhost,fixmultilinediganswers0.9.2(2020-01-16)
ENH:SupportforZabbix4.4ENH:Fix(non-critical)shellcheckissues(MarioTrangoni)CHG:Fixandenhancehelperscriptget-table-list.plFIX:Escapespecialcharacterswhilereadingpassword(ironbishop)FIX:Re-enableaccidentallydisabledcleanupofpostgresqlpasswordfileFIX:Inserthostnameintobackupfilealsoifdatabaseresidesonlocalhost0.9.1(2019-03-21)
FIX:Correctlyprocesshostnameoption-H(TiagoCruz)0.9.0(2019-03-14)
NEW:SupportforPostgreSQLdatabases(SergeyGalkin)NEW:Option-Ptospecifydatabaseserverport(SergeyGalkin)NEW:SupportforsocketconnectionstoMySQLandPostgreSQLserver(GregCockburn)NEW:DatabaseconnectionparametersarereadfromZabbixservernconfigbydefault(GregCockburn)ENH:SupportforZabbix4.0(WesleySchaft)ENH:Options-hand--helptoshowhelp(hostnameisnowspecifiedusing-H)ENH:Options-ZtoskipreadingtheZabbixserverconfigfileCHG:Renamescriptto"zabbix-dump"FIX:Supportforwhitespacesindatabaseparameters(GregCockburn)FIX:Supportforbackslashesinmanuallyenteredpassword(GregCockburn)0.8.2(2016-09-08)
NEW:Option-xtouseXZinsteadofGZforcompression(JonathanWright)NEW:Option-0for"nocompression"FIX:Evilspacewasmaskingendofhere-document(fixedin#8by@msjmeyer)FIX:Prevent"Warning:Usingapasswordonthecommandlineinterfacecanbeinsecure."0.8.1(2016-07-11)
ENH:AddedZabbix3.0.xtablestolist(added&testedbyRuslanOhitin)0.8.0(2016-01-22)
FIX:OnlyinvokedigifavailableENH:Option-ctouseaMySQLconfig("options")file(suggestedbyDanielSchneller)ENH:Option-rtorotatebackupfiles(DanielSchneller)ENH:AdddatabaseversiontofilenameifavailableENH:Addquietmode.IPreverselookupoptional(DanielSchneller)ENH:Bashrelatedfixes(MisuMoldovan)CHG:Defaultoutputdirectoryisnow$PWDinsteadofscriptdir0.7.1(2015-01-27)
NEW:ParsingofcommandlineargumentsimplementedENH:TryreverselookupofIPsandincludehostname/IPinfilenameREV:Stopifdatabasepasswordiswrong0.7.0(2014-10-02)
ENH:CompleteoverhaultomakescriptworkwithlotsofZabbixversions0.6.0(2014-09-15)
REV:Updatedthetablelistforusewithzabbixv2.2.30.5.0(2013-05-13)
NEW:Addedtablelistcomparisonbetweendatabaseandscript0.4.0(2012-03-02)
REV:Incorporatedmysqldumpoptions(suggestedbyJonathanBayer)0.3.0(2012-02-06)
ENH:BackupofZabbix1.9.x/2.0.0,removedunnecessaryuseofvariables(DATEBINetc)forcommandsthatusetobein$PATH0.2.0(2011-11-05)
评论