Created
August 28, 2011 06:49
-
-
Save Winslett/1176330 to your computer and use it in GitHub Desktop.
Possible EY Backup Reloading Across Servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Possible cross-server database restoring of databases by adding the following at line 79 of: | |
# | |
# /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/ey_cloud_server-1.4.24/lib/ey_backup/cli.rb | |
# | |
# Then, you could run the following: | |
# | |
# eybackup -E my_other_environment -D my_local_db_name_if_different --restore 9:mybackedup_database.sql.gz | |
# | |
opts.on("-E", "--environment EY_Environment", "Engine Yard Environment.") do |environment| | |
options[:environment] = environment | |
end | |
opts.on("-D", "--database LOCAL_DATABASE", "Explicit local database name.") do |database| | |
options[:db] = database | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually like 77