DeskNow Knowledge Base
 
      
Home Backup and migration How do I migrate DeskNow from Windows to Linux/Unix?

How do I migrate DeskNow from Windows to Linux/Unix?

It is possible, and usually straightforward, to migrate your DeskNow installation and data from Windows to Linux/Unix (and viceversa, following pretty much the inverse steps).

  1. install DeskNow on the Linux server, and make sure it runs fine
  2. stop DeskNow both on the Windows and Linux servers
  3. make a zip (or tar.gz) archive of the entire desknowdata directory in Windows, and copy it to the Linux server. Tip: if using ftp, make sure to use a binary transfer, or the zip file will be corrupted. We will presume that the backup is stored in /root/desknow_backup.zip
  4. in the linux server, login as root, and give the following commands:
    • mv /var/desknowdata /var/desknowdata_old
    • cd /var
    • unzip /root/desknow_backup.zip
    • cd desknowdata
    • cp /var/desknowdata_old/server.xml .
  5. edit /var/desknowdata/cfg/DeskNowBase.cfg and adjust the path accordingly
  6. edit /var/desknowdata/cfg/Backup.cfg and make sure that BasePath points to a valid path
  7. run the configuration wizard:
    • /var/desknow/bin/configconsole.sh
  8. start DeskNow
  9. login as admin and adjust the antivirus settings in Administration/Antivirus

Important:

If you are using an external database (like MySQL), and yow want to migrate it to the new server as well, see this article. Note that you don't have to. You can run DeskNow on one server, and the database on another. You can also run DeskNow on Linux, and keep using a MS SQL Server database on Windows. Make sure that Database.cfg is pointing to the location of your database.

If you're using the embedded PostgreSQL database, you will need to migrate that to Linux as well. See this article. Also make sure to edit the Database.cfg configuration file, and set:

Startup.Enable  FALSE
Shutdown.Enable  FALSE

Once the migration process is complete, start DeskNow in console with the command:

/var/desknow/bin/catalina.sh run

 

This will show immediately if DeskNow is starting correctly. To stop DeskNow while running in console, simply press CTRL-C.

Once everything works fine, restart DeskNow as normal with /etc/init.d/desknow start

 

 

 

Email Article Email
Print Article Print


How helpful was this article to you?
Related Articles
article How do I migrate my data from Linux to Windows?
It is possible, and usually straightforward, to...

  May 25, 2004    Views: 58871   
article How do I migrate my data from Linux to another Linux/Unix server?
It is possible, and usually straightforward, to...

(No rating)  May 2, 2007    Views: 16935   
article On Linux/Unix, DeskNow seems to cache DNS results forever
The default Java installation caches DNS...

  May 4, 2006    Views: 19190   



Powered by Lore :: (c)2003 Pineapple Technologies.