Installation | Topics | Beyond Lino

Importing legacy data from TIM to Lino

  • Generate a SSH key pair for the TIM server: (see How to generate a SSH key pair) and add its public key to the ~/.ssh/authorized_keys file of the Lino server.

  • Write a script that uploads the TIM data to the Lino server. A typical rsync command:

    rsync C:\\TIM\\xxxx xxxx@xxx.mylino.net:/usr/local/lino/lino_local/xxxx/timdata
    
  • Install the script as a cron job so that it runs automatically every day.

  • On the Lino site, install a daily cron job that loads the timdata:

    cd /usr/local/lino/lino_local/xxxx
    . env/bin/activate
    python manage.py loaddata tim2lino