forked from pool/mylvmbackup
osc copypac from project:home:LenzGr package:mylvmbackup revision:20
OBS-URL: https://build.opensuse.org/package/show/server:database/mylvmbackup?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
7
_service
Normal file
7
_service
Normal file
@@ -0,0 +1,7 @@
|
||||
<services>
|
||||
<service name="download_url">
|
||||
<param name="host">www.lenzg.net</param>
|
||||
<param name="protocol">http</param>
|
||||
<param name="path">/mylvmbackup/mylvmbackup-0.14.tar.gz</param>
|
||||
</service>
|
||||
</services>
|
3
_service:download_url:mylvmbackup-0.14.tar.gz
Normal file
3
_service:download_url:mylvmbackup-0.14.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a979082f525f5b0b44bd09169938f2b5d8394fc403fc8b6a6e8b809d7c1a5724
|
||||
size 57338
|
55
mylvmbackup.spec
Normal file
55
mylvmbackup.spec
Normal file
@@ -0,0 +1,55 @@
|
||||
#
|
||||
# spec file for package mylvmbackup (Version 0.14)
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by the Free
|
||||
# Software Foundation; either version 2 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
# for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc., 59
|
||||
# Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Name: mylvmbackup
|
||||
Summary: Utility for creating MySQL backups via LVM snapshots
|
||||
Version: 0.14
|
||||
Release: 0
|
||||
License: GPL
|
||||
Group: Productivity/Archiving/Backup
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
URL: http://www.lenzg.net/mylvmbackup/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
mylvmbackup is a script for quickly creating backups of MySQL server's data
|
||||
files. To perform a backup, mylvmbackup obtains a read lock on all tables and
|
||||
flushes all server caches to disk, makes an LVM snapshot of the volume
|
||||
containing the MySQL data directory, and unlocks the tables again. The snapshot
|
||||
process takes only a small amount of time. When it is done, the server can
|
||||
continue normal operations, while the actual file backup proceeds.
|
||||
|
||||
%prep
|
||||
|
||||
%setup
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace,missingok) %attr(600, root, root) %{_sysconfdir}/mylvmbackup.conf
|
||||
%config(noreplace) %{_datadir}/%{name}/*.pm
|
||||
%doc ChangeLog COPYING CREDITS INSTALL README TODO
|
||||
%doc %{_mandir}/man1/%{name}.1*
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_bindir}/%{name}
|
Reference in New Issue
Block a user