Universal file storage ?

Discussion in 'C-Bus Toolkit and C-Gate Software' started by UK Household Automation, Aug 4, 2011.

  1. UK Household Automation

    UK Household Automation

    Joined:
    Aug 6, 2004
    Messages:
    105
    Likes Received:
    0
    We have been using drop box to store files from different manufacturers programs for some time - it works a treat as every time one of our engineers has access to a network it backs up the data and any person with access e.g. another engineer on another day has access - superb! We then back up the Dropbox folder on the office server.

    Is there a way of pointing the file storage away from /clipsal/c-gate2/tag ?
     
    UK Household Automation, Aug 4, 2011
    #1
  2. UK Household Automation

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    770
    Likes Received:
    21
    Location:
    Adelaide
    Hi UKHA,

    First a caveat. Because C-Gate is constantly writing back to the project database (sometimes every second) while you are using Toolkit, if you open the same tag database from multiple locations you are going to be in trouble. You would need to be very careful yourself in managing who is accessing the files.

    That said, there's a couple of ways to do this.

    The best way to do it would be to configure Dropbox to sync other folders. You can look here for more info: http://wiki.dropbox.com/TipsAndTricks/SyncOtherFolders

    The not so good way is that in C-Gate\config\C-GateConfig.txt there is an option:

    Code:
    project.default.dir=tag/
    You COULD change this to something like

    Code:
    project.default.dir=%USERHOME%/Dropbox/tag
    However, this is not recommended as the other apps (Toolkit, etc) don't yet fully support changing this property and a few things may break. For example there may be issues with DLT label images and the project repair operation. So I'm afraid this is at your own risk. I am trying to get this sorted out for future releases though (#14719,#16480).
     
    Last edited by a moderator: Aug 5, 2011
    daniel, Aug 5, 2011
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.