How to backup the database

Go to your terminal and use:

cd ~pg_dump whatsspy -U postgres > whatsspy_backup.sql

(where whatsspy is the database name)

This command creates a file called whatsspy_backup.sql of the whole database in your home directory. You can copy this file over with for example WinScp (if you use SSH) or just copy it over to a USB drive.

To restore the database on the new system:

pg_dump whatsspy -U postgres --clean > whatsspy_backup.sql

Ofcourse the location of whatsspy_backup.sql may vary depending on your current directory.

How to shutdown tracker

You can shutdown the tracker down via a proper method (closing the sessions in the database):

Use screen -r to re-attach to the tracker session. Now you can use Ctrl + c to shutdown the tracker process. After this you can quit the screen by using exit.

Change/add notification sounds

You can add new notification sounds by just putting .mp3 files in the sound/ folder. Reload the web interface and you can edit any account and change the notification sound used.

You can change the default notification sound by replacing default.mp3 with another .mp3 file.