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 | 0000001383 1.35 KB | |
mysql-backup.logrotate | 0000000146 146 Bytes | |
mysql-backup.sysconfig | 0000004768 4.66 KB | |
mysql-backupscript | 0000010705 10.5 KB | |
mysql-backupscript.changes | 0000006970 6.81 KB | |
mysql-backupscript.service | 0000000133 133 Bytes | |
mysql-backupscript.spec | 0000004631 4.52 KB | |
mysql-backupscript.timer | 0000000146 146 Bytes | |
mysql_start_galera_sync_after_dump.sh | 0000000406 406 Bytes | |
mysql_start_slave_after_dump.sh | 0000000395 395 Bytes | |
mysql_stop_galera_sync_before_dump.sh | 0000000428 428 Bytes | |
mysql_stop_slave_before_dump.sh | 0000000419 419 Bytes |
Revision 42 (latest revision is 51)
Lars Vogdt (lrupp)
committed
(revision 42)
- update to 2.0.5: Added NSCA support. + added configurable Email address in the /etc/sysconfig/mysql-backup file, to allow to sent to other Email addresses than root + added needed configuration options for NSCA, which allows to send messages to remote monitoring systems (like Nagios or Icinga) => the script will send messages on success (including some performance data for the time needed) and on failures
Comments 0