Skip to content

Flussonic Media Server Migration


When migrating Flussonic Media Server settings from one server to another, do not move executable files and installed libraries. Use the batch manager to install the software on the new server. Only the configuration and license files should be transferred.

List of files to migrate:

  • /etc/flussonic/flussonic.conf — the main configuration file.
  • /etc/flussonic/license.txt — license.
  • /opt/flussonic/priv/iptv.db — IPTV plugin database file.

Copying of configuration files is possible only with root privileges.

Ways to transfer files:

Transferring the configuration using SCP

SCP (Secure CoPy) is a program for transferring files over a network between hosts. It uses SSH for data transfer, including authentication and security protocols that are implemented in SSH.

To copy a file from one remote server "remote.host1" to another remote server "remote.host2", execute the following command:

$ scp user@remote.host1:/directory/file.txt user@remote.host2:/some/directory/

Install Flussonic Media Server on the new server:

curl -sSf | sh

After that, transfer the configuration files to the new server:

scp user@remote.host1:/etc/flussonic/flussonic.conf user@remote.host2:/etc/flussonic/
scp user@remote.host1:/etc/flussonic/license.txt user@remote.host2:/etc/flussonic/
scp user@remote.host1:/opt/flussonic/priv/iptv.db user@remote.host2:/opt/flussonic/priv/

Start Flussonic Media Server:

service flussonic start


Transferring a Configuration Using USB Media

If you want to transfer configuration files using any USB media, use the following instruction.

Mounting USB

First, create the mount point (directory):

mkdir -p /mnt/usb

Insert the USB flash drive into the USB port and find the name of the attached device:

fdisk -l

The result of this command will look like:

Disk /dev/sdb: 4008 MB, 4008706048 bytes
118 heads, 53 sectors/track, 1251 cylinders, total 7829504 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x74a37a4d

Device    Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63     7829503     3914720+   b  W95 FAT32

In this example the device name is /dev/sdb1.

Use it to mount the device:

mount /dev/sdb1 /mnt/usb

Copying the configuration

cp /etc/flussonic/flussonic.conf /mnt/usb/flussonic.conf
cp /etc/flussonic/license.txt /mnt/usb/license.txt
cp /opt/flussonic/priv/iptv.db /mnt/usb/iptv.db

After copying, do not forget to unmount the drive:

sudo umount /dev/sdb1

Installing the configuration on a new server

Install Flussonic Media Server on the new server:

curl -sSf | sh

Create a directory in which the USB-drive will be mounted:

mkdir -p /mnt/usb

Insert the media into the USB port and find the name of the device:

fdisk -l


mount /dev/sdb1 /mnt/usb

Transfer the configuration files:

cp /mnt/usb/flussonic.conf /etc/flussonic/flussonic.conf
cp /mnt/usb/license.txt /etc/flussonic/license.txt
cp /mnt/usb/iptv.db /opt/flussonic/priv/iptv.db

Launch Flussonic Media Server:

Start Flussonic Media Server: