Photo by mondopiccolo Capistranoã§ã¯deployãã¦ããåã®ã½ã¼ã¹ãæ®ã£ã¦ããããã«ãããã«åã®ãã¼ã¸ã§ã³ã«æ»ãã¾ããããã¼ã¿ãã¼ã¹ã¯ããã¯ããã¾ããã ããã§ãdeploy:migrationsãå®è¡ããåã«èªåã§DBã®ããã¯ã¢ãããåããããªã¿ã¹ã¯ãæ¢ãã¦ã¿ã¾ããã MySQLå°ç¨ã§ãããããã§ãã¼ã«ã«ã®backupsã¨ãããã£ã¬ã¯ããªã«ãmigrationå®è¡åã®ãã³ãããã¦ã³ãã¼ãããã¾ãã require 'yaml' desc "Backup the remote production database" task :backup, :roles => :db, :only => { :primary => true } do filename = "#{application}.dump.#{Time.now.to_i}.sql.bz2" fi
{{#tags}}- {{label}}
{{/tags}}