Help → Migrating to Mac

Migrating to Mac

As a new Mac owner, I'm about to start migrating my old files from my Windows box onto the Mac. If I update my Windows POPFile to 1.1.0RC3, will the data files be able to be copied straight across to the 1.1.0RC3 Mac OSX POPFile, or will I have to start with a clean slate?

  • Message #387

    Hi

    As a new Mac owner, I'm about to start migrating my old files from my Windows box onto the Mac. If I update my Windows POPFile to 1.1.0RC3, will the data files be able to be copied straight across to the 1.1.0RC3 Mac OSX POPFile, or will I have to start with a clean slate?

    You can copy the data files to your Mac.
    You don't have to upgrade the Windows version. POPFile will convert the old version of database to the new version.

    Please follow these steps:

    1. Back up the data folder from your Windows box.
    2. Install POPFile 1.1.0 RC3 on your Mac.
    3. Stop POPFile. (you can use the 'stop-popfile' utility script.)
    4. Copy the backuped files to /Library/POPFile/ folder.
    5. Restart POPFile. (use the 'start-popfile' utility script.)
    6. POPFile will automatically convert the database to the new version.

    Naoki

    • Message #390

      Thanks Naoki, it is working well! Just one more question. Can I specify the path to the data directory on my Mac?

      I have a separate encrypted drive for personal data, as I really don't want anything stored in the main Library folder. I have POPFile data in a separate directory on my Windows box, but this doesn't seem possible on a Mac? I even tried creating an alias/symlink in Library, but POPFile wouldn't start when I tried this...

      • Message #391

        Currently the Mac version uses the /Library/POPFile folder as the user data folder.
        The Mac version of POPFile runs as a deamon, so you cannot change the data folder.

        But POPFile itself supports another data folder.
        You can use another data folder by running POPFile by a simple start up script.
        Here's an example:

        #!/bin/sh
        
        export POPFILE_ROOT=/Library/POPFile
        export POPFILE_USER=/path/to/your/data/folder
        
        perl -I"${POPFILE_ROOT}/lib" "${POPFILE_ROOT}/popfile.pl"
        

        Or, you can write a simple AppleScript? applet.
        I'll try to make one and include it in the next RC.

        Naoki

        • Message #392

          Thanks, very much appreciated. Having my recent email all stored in plain text in the Library folder was a big security concern to me, so I'm glad to see I should be able to work around that :)