Simple mysql database backup
https://github.com/openSUSE/mysql-backupscript
This package contains a simple mysql database backup script
running daily.
To restore, simply 'cd' into the backup directory of your
choise (configured in %{_sysconfdir}/sysconfig/mysql-backupscript),
bunzip2 the database file you want to restore and run:
mysql < $dbfile
That's it. The script also copies your %{_sysconfdir}/my.cnf away, so
you have something at hand if you played too much with the
settings there ;-)
More information can be found in
%{_docdir}/%{name}/README.SUSE
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:lrupp/mysql-backupscript && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
LICENSE | 0000001511 1.48 KB | |
README.SUSE | 0000001038 1.01 KB | |
mysql-backup.logrotate | 0000000146 146 Bytes | |
mysql-backup.sysconfig | 0000001339 1.31 KB | |
mysql-backupscript.changes | 0000004238 4.14 KB | |
mysql-backupscript.spec | 0000002982 2.91 KB | |
suse.de-mysql-backup | 0000007074 6.91 KB |
Revision 34 (latest revision is 51)
Lars Vogdt (lrupp)
committed
(revision 34)
create the directory, if it does not exist
Comments 0