Sha256: 769d950f52dfbebe5ac1b9945c67a6c15daced89aaa1a1418734b8d4c7e634de

Contents?: true

Size: 684 Bytes

Versions: 1

Compression:

Stored size: 684 Bytes

Contents

# Recommended defaults have been setup.
# This file should be changed only when you know what you are doing.

# Flush logs used to create consistent binlogs to be used for incremental backups
every :day, at: '12:00 pm' do
	command "smartmachine runner grids mysql flushlogs"
end

# Create daily backup.
# This also flushes the logs before backup
every :day, at: '12:00 am' do
	command "smartmachine runner grids mysql backup --daily"
end

# Promote currently latest daily backup to weekly backup.
# This is only possible when a daily backup creation has already been completed.
every :monday, at: '3:00 am' do
	command "smartmachine runner grids mysql backup --promote-to-weekly"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smartmachine-0.8.0 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb