Syncing two macs
Discussion
.Mac is by far and away the simplest way. But its not free. It ticks most if not all your boxes though. .Mac does not sync iTunes however. But is that essential anyway? iTunes has built in sharing of tunes over a network. Just needs to be enabled in iTunes sharing prefs on both macs, no .Mac needed for that.
There are a couple of other options for syncing your stuff. But none quite as comprehensive and straightforward to use as .Mac
P,
There are a couple of other options for syncing your stuff. But none quite as comprehensive and straightforward to use as .Mac
P,
actually syncing itunes is quite high up the priority
as i want it if a change a rating on track it is changed on both machines also if i buy a track from itunes it turns up on both machines
I have looked at .mac but it is a pricey solution and i am not sure if it goes over th local network or over the internet which would be dumb
as i want it if a change a rating on track it is changed on both machines also if i buy a track from itunes it turns up on both machines
I have looked at .mac but it is a pricey solution and i am not sure if it goes over th local network or over the internet which would be dumb
I have pretty much the same problem. I use dotMac for everything except iTunes - the calendar, address book, Safari bookmark, etc. syncing works perfectly once you clear any remaining cruft (e.g. from previous Sync addins like Palm Treo / Missing Sync etc.) out.
Yes it does everything over WebDAV so across the internet, which is silly when your two machines are on the same local network. Apparently Leopard Server will allow you to host your own .Mac-type Calendar and Address Book server very easily. I have a day-zero copy of Leopard Server right in front of me (bought on Friday at 6:01 pm
) but I haven't upgraded my two servers yet - waiting for someone else to be the guinea pig. May upgrade the webserver as that isn't critical, but my mail server ain't getting upgraded until I know it's going to work perfectly 
As to iTunes - I've always maintained one library remoted via NFS as a hard link on my main workstation. I found out the hard way that two Macs with their own local Library files both trying to 'self-organise' the NFS link leads to corruption and chaos, since then I've used the local-subnet broadcast function from the main Mac (which is always on) to allow other machines to share the library. It's not ideal but until the actual Library database (that contains playlists etc.) is held on the server machine (e.g. my Cube off NFS) there will always be each iTunes install using its own database, which will get out of sync with the actual files on the fileserver.
Also the basic (thankfully) DRM demands of Apple's music store stuff would preclude you bunging a paid file on a server and then linking to it from everywhere (though this is possible using OS X Server as a VPN endpoint and VPNing in from the internet so it looks like you're on the local subnet). You may be trying to do something that iTunes isn't intended to allow... the Music Sharing works well if you leave the main machine (with the Library database you want as the golden source) on all the time - but it means all tunes data / management is done over the network. I've been doing it for years and it isn't a problem for me, YMMV.
dotMac is not cheap, but it is cheaper than OS X Server and running the WebDAV stuff yourself to sync calendars and address books. Given that the address book and calendar database formats don't appear to be 100% straightforward (calendars appear to be groups of individual files per event, address book is a database that I can't open - it may be SQLite as per the iPhone but I'm not 100% sure) - a homebrew hack synchronisation job may be damned difficult.
I don't backup all my files to dotMac - 5 GB isn't enough and dotMac itself never seems fast enough to make this worthwhile - but for the sync services I *do* use, I've been pleasantly surprised by how well it works.
Yes it does everything over WebDAV so across the internet, which is silly when your two machines are on the same local network. Apparently Leopard Server will allow you to host your own .Mac-type Calendar and Address Book server very easily. I have a day-zero copy of Leopard Server right in front of me (bought on Friday at 6:01 pm
) but I haven't upgraded my two servers yet - waiting for someone else to be the guinea pig. May upgrade the webserver as that isn't critical, but my mail server ain't getting upgraded until I know it's going to work perfectly 
As to iTunes - I've always maintained one library remoted via NFS as a hard link on my main workstation. I found out the hard way that two Macs with their own local Library files both trying to 'self-organise' the NFS link leads to corruption and chaos, since then I've used the local-subnet broadcast function from the main Mac (which is always on) to allow other machines to share the library. It's not ideal but until the actual Library database (that contains playlists etc.) is held on the server machine (e.g. my Cube off NFS) there will always be each iTunes install using its own database, which will get out of sync with the actual files on the fileserver.
Also the basic (thankfully) DRM demands of Apple's music store stuff would preclude you bunging a paid file on a server and then linking to it from everywhere (though this is possible using OS X Server as a VPN endpoint and VPNing in from the internet so it looks like you're on the local subnet). You may be trying to do something that iTunes isn't intended to allow... the Music Sharing works well if you leave the main machine (with the Library database you want as the golden source) on all the time - but it means all tunes data / management is done over the network. I've been doing it for years and it isn't a problem for me, YMMV.
dotMac is not cheap, but it is cheaper than OS X Server and running the WebDAV stuff yourself to sync calendars and address books. Given that the address book and calendar database formats don't appear to be 100% straightforward (calendars appear to be groups of individual files per event, address book is a database that I can't open - it may be SQLite as per the iPhone but I'm not 100% sure) - a homebrew hack synchronisation job may be damned difficult.
I don't backup all my files to dotMac - 5 GB isn't enough and dotMac itself never seems fast enough to make this worthwhile - but for the sync services I *do* use, I've been pleasantly surprised by how well it works.
cyberface said:
As to iTunes - I've always maintained one library remoted via NFS as a hard link on my main workstation. I found out the hard way that two Macs with their own local Library files both trying to 'self-organise' the NFS link leads to corruption and chaos, since then I've used the local-subnet broadcast function from the main Mac (which is always on) to allow other machines to share the library. It's not ideal but until the actual Library database (that contains playlists etc.) is held on the server machine (e.g. my Cube off NFS) there will always be each iTunes install using its own database, which will get out of sync with the actual files on the fileserver.
Also the basic (thankfully) DRM demands of Apple's music store stuff would preclude you bunging a paid file on a server and then linking to it from everywhere (though this is possible using OS X Server as a VPN endpoint and VPNing in from the internet so it looks like you're on the local subnet). You may be trying to do something that iTunes isn't intended to allow... the Music Sharing works well if you leave the main machine (with the Library database you want as the golden source) on all the time - but it means all tunes data / management is done over the network. I've been doing it for years and it isn't a problem for me, YMMV.
Help i don't speak that language Also the basic (thankfully) DRM demands of Apple's music store stuff would preclude you bunging a paid file on a server and then linking to it from everywhere (though this is possible using OS X Server as a VPN endpoint and VPNing in from the internet so it looks like you're on the local subnet). You may be trying to do something that iTunes isn't intended to allow... the Music Sharing works well if you leave the main machine (with the Library database you want as the golden source) on all the time - but it means all tunes data / management is done over the network. I've been doing it for years and it isn't a problem for me, YMMV.
I take there is no simple way of keeping two itunes Libraries in sync on a desktop and a laptop.
What are you trying to achieve? Are you effectively wanting to synchronise all the data (and Library detail, such as playlists, ratings, etc.) from the main desktop Mac onto the laptop, allowing you to listen to the music on the laptop **when out and off your network**, maybe make some playlist alterations, etc. - and then when you connect back to your home network, this detail gets merged into the library on your desktop???
If so, then that's a tricky one. Apple don't support this with their own software - you'd have to knock up a backup script to do incremental backup for a particular directory only (I reckon you could do this with rsync, but if you didn't understand my first post then you probably aren't in the market for Unix CLI script-fu).
However if all you want to do is listen to the same music on both machines, then use the built-in Sharing feature of iTunes and keep the tunes on one computer only. If you want music accessible on the laptop when away from home, then the library will have to be on the laptop. However this will stop the desktop from being able to listen to music if the laptop's not connected.
The alternative is to have a Mac always-on at home with the music library on, with sharing on, and then use VPN from the laptop back to the home network (but this is complicated, as I mentioned).
Otherwise you'll be stuck with two copies of exactly the same data, and if you've got a big music library, this can fill up a significant proportion of a laptop hard disk!
(Incidentally, though rsync would probably do a reasonable job of maintaining the same files across both machines, if you've done any database edits (playlist changes, track rating changes, etc.) that were different on the two different machines, then you'll only get the last-changed version on both and lose the changes on the other... the database is a monolithic file and there's no support for concurrent versioning there)
If so, then that's a tricky one. Apple don't support this with their own software - you'd have to knock up a backup script to do incremental backup for a particular directory only (I reckon you could do this with rsync, but if you didn't understand my first post then you probably aren't in the market for Unix CLI script-fu).
However if all you want to do is listen to the same music on both machines, then use the built-in Sharing feature of iTunes and keep the tunes on one computer only. If you want music accessible on the laptop when away from home, then the library will have to be on the laptop. However this will stop the desktop from being able to listen to music if the laptop's not connected.
The alternative is to have a Mac always-on at home with the music library on, with sharing on, and then use VPN from the laptop back to the home network (but this is complicated, as I mentioned).
Otherwise you'll be stuck with two copies of exactly the same data, and if you've got a big music library, this can fill up a significant proportion of a laptop hard disk!
(Incidentally, though rsync would probably do a reasonable job of maintaining the same files across both machines, if you've done any database edits (playlist changes, track rating changes, etc.) that were different on the two different machines, then you'll only get the last-changed version on both and lose the changes on the other... the database is a monolithic file and there's no support for concurrent versioning there)
cyberface said:
Are you effectively wanting to synchronise all the data (and Library detail, such as playlists, ratings, etc.) from the main desktop Mac onto the laptop, allowing you to listen to the music on the laptop **when out and off your network**, maybe make some playlist alterations, etc. - and then when you connect back to your home network, this detail gets merged into the library on your desktop???
If so, then that's a tricky one. Apple don't support this with their own software - you'd have to knock up a backup script to do incremental backup for a particular directory only (I reckon you could do this with rsync, but if you didn't understand my first post then you probably aren't in the market for Unix CLI script-fu).
yep that is what i be trying to do.If so, then that's a tricky one. Apple don't support this with their own software - you'd have to knock up a backup script to do incremental backup for a particular directory only (I reckon you could do this with rsync, but if you didn't understand my first post then you probably aren't in the market for Unix CLI script-fu).
I have found a program that keeps both the actual songs in the library in sync. But what i want to do is to also keep the ratings and playlists in sync
Thats where the tricky bit is as i have fund nothing to do that yet
Well in the Music/iTunes folder in your home directory, there will be an 'iTunes Library' file along with an XML version of that file - this is a database file (in some proprietary format, and the XML isn't easily parsable either without existing knowledge of the key-value pair structure).
Copying the latest version of this to the other machine will replace the library database and you should be good to go. I bet that trying to do this while iTunes is running will cause either corruption, crash iTunes or be simply prohibited since the file will be open - so you'll need to close iTunes on the other Mac, copy the library database files across, and restart iTunes.
You won't be able to 'sync' independent changes made on different machines though - it's an all-or-nothing copy of one of the machines' library files. Without knowledge of the database format and access to said database, you're not going to be able to actually do this - and even with a public API for the iTunes library format, you'll need to write a database app to do this.
It will work as long as you only make playlist / rating changes on one machine at a time though - i.e. if you've changed anything on the laptop, copy it back to the desktop before making any changes on the desktop, and vice versa.
If anyone knows whether the iTunes Library database file is machine-specific in any way (e.g. for DRM) and this technique would fail horribly and corrupt stuff, then please let me know!!!! I don't buy DRM music so haven't used the iTunes Music Store, and haven't had problems with restoring iTunes Library files in the past, but it may be a different story if you've got DRM'd music. If all the DRM is held in the file itself and nothing in the Library, then the above technique should work.
Copying the latest version of this to the other machine will replace the library database and you should be good to go. I bet that trying to do this while iTunes is running will cause either corruption, crash iTunes or be simply prohibited since the file will be open - so you'll need to close iTunes on the other Mac, copy the library database files across, and restart iTunes.
You won't be able to 'sync' independent changes made on different machines though - it's an all-or-nothing copy of one of the machines' library files. Without knowledge of the database format and access to said database, you're not going to be able to actually do this - and even with a public API for the iTunes library format, you'll need to write a database app to do this.
It will work as long as you only make playlist / rating changes on one machine at a time though - i.e. if you've changed anything on the laptop, copy it back to the desktop before making any changes on the desktop, and vice versa.
If anyone knows whether the iTunes Library database file is machine-specific in any way (e.g. for DRM) and this technique would fail horribly and corrupt stuff, then please let me know!!!! I don't buy DRM music so haven't used the iTunes Music Store, and haven't had problems with restoring iTunes Library files in the past, but it may be a different story if you've got DRM'd music. If all the DRM is held in the file itself and nothing in the Library, then the above technique should work.
Okay iTunes sorted (sort of) just copied whole folder from one machine to the other and used my favourite accelerator for the computer (cup of tea)
Signed up for .mac thingy
deleted a load of old contacts on lappy and then synced to .mac and the buggering thing wants to put them all back
Is there anyway to stop it returning deleted guff
Signed up for .mac thingy
deleted a load of old contacts on lappy and then synced to .mac and the buggering thing wants to put them all back
Is there anyway to stop it returning deleted guff
thinfourth2 said:
Okay iTunes sorted (sort of) just copied whole folder from one machine to the other and used my favourite accelerator for the computer (cup of tea)
Signed up for .mac thingy
deleted a load of old contacts on lappy and then synced to .mac and the buggering thing wants to put them all back
Is there anyway to stop it returning deleted guff
Delete all the old guff again thenSigned up for .mac thingy
deleted a load of old contacts on lappy and then synced to .mac and the buggering thing wants to put them all back
Is there anyway to stop it returning deleted guff
10.4
Goto System Preferences>>.Mac>>Advanced>>Reset Synch Data
10.5
Goto System Preferences>>.Mac>>Sync>>Advanced>>Reset Synch Data
Then its upto you whether you reset all synch data on .mac with the data on your computer or just your Contacts.
HTH
edited for spooling and leopard differences
Edited by RoadRailer on Monday 29th October 20:42
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



