Sha256: 360d5a4afbe783325dc5a93ec5653f8679dd198197ad4d3a0227ea777ddc2422

Contents?: true

Size: 687 Bytes

Versions: 10

Compression:

Stored size: 687 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

10 entries across 10 versions & 1 rubygems

Version Path
smartmachine-1.3.0 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.2.3 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.2.1 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.2.0 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.2.0.dev lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.1.1 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.1.0 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.0.1 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-1.0.0 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb
smartmachine-0.9.0 lib/smart_machine/templates/dotsmartmachine/config/mysql/schedule.rb