BrianGilbert / OSXAegirInstaller

This script installs aegir on OSX using Homebrew
30 stars 10 forks source link

Save existing logs, configurations and databases #30

Closed rpsu closed 10 years ago

rpsu commented 10 years ago

This commit changes default behaviour of uninstall/re-install the way that script does not just delete all logs, configuration files and - most notably - local databases!

[I did not test this thoroughly; not removing db:s lead to breaking re-installation. See next pull request.]

rpsu commented 10 years ago

This commit asks if user wants to do mysqldumps and it also saved old configurations (but not logs exept Aegir installers txt-file).

BrianGilbert commented 10 years ago

Can you please upate so it doesn't mess with indenting on all the lines you didn't actually change?

rpsu commented 10 years ago

Sure, sorry for the white space mess. My IDE ignores white space differences by default so I did not see it my self. I'll check this soon.

rpsu commented 10 years ago

I removed now whitespace differences.

ATM script assumes ~/Desktop/aegir-install-backups to be target for all saved logs/databases/whatever. Do you think it is okay or should script ask target dir?