Simple mysql database backup

Edit Package mysql-backupscript
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

Refresh
Refresh
Source Files
Filename Size Changed
LICENSE 0000001511 1.48 KB
README.SUSE 0000001359 1.33 KB
mysql-backup.logrotate 0000000146 146 Bytes
mysql-backup.sysconfig 0000003040 2.97 KB
mysql-backupscript 0000008988 8.78 KB
mysql-backupscript.changes 0000006396 6.25 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 0000000083 83 Bytes
mysql_start_slave_after_dump.sh 0000000073 73 Bytes
mysql_stop_galera_sync_before_dump.sh 0000000105 105 Bytes
mysql_stop_slave_before_dump.sh 0000000097 97 Bytes
Revision 41 (latest revision is 51)
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 41)
- update to 2.0.4
  Added the possibility to execute scripts before and after the 
  backup is done.
  Packaged 4 example scripts in 
  /usr/share/doc/packages/mysql-backupscript/examples/:
  + mysql_start_galera_sync_after_dump.sh
  + mysql_start_slave_after_dump.sh
  + mysql_stop_galera_sync_before_dump.sh
  + mysql_stop_slave_before_dump.sh
Comments 0
openSUSE Build Service is sponsored by