Migration Assistant doesn't migrate empty directories in /usr/local
Originator: | dieter.komendera | ||
Number: | rdar://20446896 | Date Originated: | 07-Apr-2015 11:27 AM |
Status: | Closed | Resolved: | Fixed |
Product: | OS X | Product Version: | 10.10 |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: When migrating from a Time Machine Backup to a new Mac with the Migration Assistent, empty directories are not recreated on the new Mac. This makes some applications (in particular PostgreSQL) which expect those directories to be present fail after the migration. This corrupts the database if could lead to dataloss if the user doesn’t recognize they have to restore those empty directories to fix the database. Steps to Reproduce: * Install postgres sql via homebrew https://wiki.postgresql.org/wiki/Homebrew * create database as instructed in /usr/local/var/postgres * observer postgresql server starting up correctly * create Time Machine Backup of the Mac * restore Time Machine Backup to a new Mac with Migration Assistant Expected Results: * Database server starting up successfully after migration Actual Results: * Database server not starting because auf missing directories, which were on the old Mac but aren’t created when restoring the backup Regression: don’t now Notes: Many others are running into that issue, including when upgrading from another OSX Version to Yosemite. E.g http://stackoverflow.com/questions/25970132/pg-tblspc-missing-after-installation-of-os-x-yosemite
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Developer Relations
09-Jun-2015 09:54 PM
We believe this issue has been addressed in the latest OS X v10.11 Developer beta. This is a pre-release OS X v10.11 update.
Please refer to the release notes for complete installation instructions.
Please test with this release. If you still have issues, please include any relevant logs or information that could help us investigate.
OS X El Capitan https://developer.apple.com/osx/download/