     constructor: (@project_id, @global_client) ->
         @database = @global_client.database
 
-    get_location_pref: (cb) =>
+    get_location_pref: (cb) =>   # db(err, server_id)
         @database.select_one
             table   : "projects"
             columns : ["bup_location"]

                                    if x.host == '' # special case - the server hosting the project
                                        s = server_id
                                    else
                                        s = @global_client.servers.by_host[x.host].server_id
                                    if not x.error?
                                        last_save[s] = r.timestamp*1000
                                    else

        errors    = []
        async.series([
            (cb) =>
                dbg("figure out where/if project is running")
                @sync_topology
                    cb : (err, resp) =>
                        if err
                            cb(err); return
                        server_id = resp.host.server_id
                        targets   = resp.targets
                        cb()
            (cb) =>
                dbg("get the project itself")
                @project
