Backup setup

Step by step how-to instructions on installing and running KoBo Toolbox on a standalone server.
Jump to: navigation, search

Permanently mount network share

1. Create the file containing cretendials for Windows share, and restrict access to the file

$ sudo nano /etc/samba/kobo-backups.cred
$ sudo chmod 0600 /etc/samba/kobo-backups.cred

2. Create mounting point and add entry to Host's fstab

$ sudo mkdir /media/kobo-backups
$ sudo nano /etc/fstab
...adding the following two lines at the end of the file. The first line starts with #, the second one starts with //192 and contains everything upto the end
# KOBO-Backups folder on
// /media/kobo-backups cifs credentials=/etc/samba/kobo-backups.cred,iocharset=utf8,sec=ntlm 0 0

The backup share will this be automatically mounted on every reboot of the system. To activate the changes immediately, issue the command

$ sudo umount -a