Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
automysqlbackup
> automysqlbackup.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File automysqlbackup.spec of Package automysqlbackup
Name: automysqlbackup Version: 2.6.9 Release: 1 Group: System/Backup Summary: MySQL backup script License: GPL Url: http://members.lycos.co.uk/wipe_out/automysqlbackup/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Source0: automysqlbackup-%{version}.sh Source1: multimysqlbackup.sh Source2: multimysqlbackup.conf Source3: automysqlbackup.8 Requires: bzip2 mutt Requires: /usr/bin/mysqldump Provides: multimysqlbackup = %{version} Provides: ix-automysqlbackup = %{version} Provides: psa-automysqlbackup = %{version} %if 0%{?suse_version} Requires: mailx >= 9.25 %endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?redhat_version} || 0%{?sl_version} Requires: nail %endif BuildArch: noarch %description A script to take daily, weekly and monthly backups of your MySQL databases using mysqldump. Features: - Backup multiple databases - Single backup file or to a separate file for each DB - Compress backup files - Backup remote servers - E-mail logs %prep %setup -c -T cp %{S:0} $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}.sh cp %{S:1} $RPM_BUILD_DIR/%{name}-%{version}/multimysqlbackup.sh cp %{S:2} $RPM_BUILD_DIR/%{name}-%{version}/multimysqlbackup.conf cp %{S:3} $RPM_BUILD_DIR/%{name}-%{version}/automysqlbackup.8 %build %install %__install -D -m 0755 %{name}-%{version}.sh %{buildroot}%{_sbindir}/%{name} %__install -D -m 0755 multimysqlbackup.sh %{buildroot}%{_sbindir}/multimysqlbackup %__install -D -m 0644 multimysqlbackup.conf %{buildroot}%{_sysconfdir}/multimysqlbackup.conf %__install -D -m 0644 automysqlbackup.8 %{buildroot}%{_mandir}/man8/automysqlbackup.8 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sbindir}/%{name} %{_sbindir}/multimysqlbackup %config(noreplace) %{_sysconfdir}/multimysqlbackup.conf %{_mandir}/man8/automysqlbackup.8* %changelog * Wed Sep 22 2021 Carsten Schoene <cs@linux-administrator.com> - 2.6.9-1 - fix mysql and mysqldump warn message behaviour by substituting defaults file - fix bug where listing databases and tables with all option didn't take port as argument - add option to quiet compression option if no compression is set - add option to quiet rotation messages - enable pre/post backup script for possible limitation of backup cycles - fix logging to backup target directory at initial backup run (create missing directory) * Tue Jul 16 2013 Carsten Schoene <cs@linux-administrator.com> - 2.6.8-1 - set PATH in script and rename MAIL variable * Tue Jul 09 2013 Carsten Schoene <cs@linux-administrator.com> - 2.6.7-1 - fix readlink endless loop in qmail detection code * Thu Jul 04 2013 Carsten Schoene <cs@linux-administrator.com> - 2.6.6-1 - detect --events support in mysqldump and use it when available * Wed Jun 26 2013 Carsten Schoene <cs@linux-administrator.com> - 2.6.5-1 - detect qmail sendmail binary replacement and adapt mailcmd according to it, qmails sendmail does not support -r option * Tue Feb 28 2012 Carsten Schoene <cs@linux-administrator.com> - 2.6.4-3 - enhanced multimysqlbackup.sh & automysqlbackup to use different Port numbers * Fri Oct 21 2011 Carsten Schoene <cs@linux-administrator.com> - 2.6.4-2 - enhanced multimysqlbackup.sh for use on plesk systems - silent errors flag in multimysqlbackup.sh - plesk detection flag in multimysqlbackup.sh - autodetect plesk installation and backup mysql data * Sun Jul 03 2011 Carsten Schoene <cs@linux-administrator.com> - 2.6.4-1 - updated to release 2.6.4 - new default options --single-transaction & --routines - table exclude support - mail command detection * Sun Jan 23 2011 Carsten Schoene <cs@linux-administrator.com> - 2.6.3-1 - updated to base 2.5.1-01 release - reworked patches - mailfrom - pertable - multihost - added manpage * Fri Jun 26 2009 Carsten Schoene <cs@linux-administrator.com> - 2.6.2-3 - updated patches - added exclude db option to multimysqlbackup * Sat May 23 2009 Carsten Schoene <cs@linux-administrator.com> - 2.6.2-2 - added mailfrom patch * Sat May 23 2009 Carsten Schoene <cs@linux-administrator.com> - 2.6.2-1 - added multimysqlbackup wrapper and sample config * Thu Dec 04 2008 Carsten Schoene <cs@linux-administrator.com> - 2.6.2-0 - initial build