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 (Revision 8)
Currently displaying revision
8
,
show latest
Name: automysqlbackup Version: 2.6.2 Release: 3 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.sh.2.5 Source1: multimysqlbackup.sh Source2: multimysqlbackup.conf Patch0: automysqlbackup.sh.multihost_per_environment.patch Patch1: automysqlbackup.sh.mailfrom.patch Patch2: automysqlbackup.sh.pipe_compression_and_pertable_and_bzip2.patch Requires: bzip2 mysql mutt mailx >= 9.25 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}.sh.2.5 cp %{S:1} $RPM_BUILD_DIR/%{name}-%{version}/multimysqlbackup.sh cp %{S:2} $RPM_BUILD_DIR/%{name}-%{version}/multimysqlbackup.conf %patch0 %patch1 %patch2 %build %install %__install -D -m 0755 %{name}.sh.2.5 %{buildroot}%{_sbindir}/%{name} %__install -D -m 0755 multimysqlbackup.sh %{buildroot}%{_sbindir}/multimysqlbackup %__install -D -m 0644 multimysqlbackup.conf %{buildroot}%{_sysconfdir}/multimysqlbackup.conf %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sbindir}/%{name} %{_sbindir}/multimysqlbackup %config(noreplace) %{_sysconfdir}/multimysqlbackup.conf %changelog * 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