You can sync data received by EUMETCast Terrestrial client to shared file system (SFS) with following steps: 

  1. Setup the file share, and mount it to the EUMETCast Terrestrial VM in preferred folder (here: /mountpoint) following: EUMETSAT - Shared File System (SFS) usage in tenants
  2. Create directory with preferred name, e.g.

    mkdir /mountpoint/eumetcast-data
  3. Modfiy crontab

    sudo crontab -e
    by adding following line (note that if you have modified the default location of the data, this have to be modified respectively):

    */1 * * * * rsync -rt --delete /root/data/eumetcast/ter-1/default/ /mountpoint/eumetcast-data

    Note that you may need to set folder permissions to enable data usage in your applications. The above command takes care to always sync back changes done locally to the remote. That means it takes care to synchronize local and remote such that ( local → /root/data/eumetcast/ter-1/default/  remote → /mountpoint/eumetcast-data )

    1. files added in local are added to remote
    2. files removed from local are removed from remote
    3. files added in remote are removed
    4. files removed from remote are restored from local if they exist, else ignored

  • No labels