Basic Instructions

From MemopalBetaTest

Jump to: navigation, search

Contents

Basics

There is no GUI (Graphical User Interface) at the moment. Memopal can run in two modes

  • as a system service (as root user)
  • as an unprivileged user from the command line

Using Memopal as a system service

After completing the installation..

  • Version 1.0 or later
    • copy /etc/memopal.conf.sample to /etc/memopal.conf
    • edit /etc/memopal.conf and specify your account information (username, password)
    • and specify which folders to backup
    • If you want you can activate a local embedded webserver to show the backup status
    • using the runEmbeddedWebserver=5876 (change 5876 with the TCP port you want to use)
    • then point your browser to http://127.0.0.1:5876
    • for more advanced options in the configuration file type: memopal --help
  • Version 0.9 or earlier
    • Run memopal once manually as root
      • su - root
      • memopal -u username -p password --backupFolder /[complete_path]
    • or
      • sudo -i
      • memopal -u username -p password --backupFolder /[complete_path]

From now on you can use Memopal as a system service. Using the init script (called memopal)

...
/etc/init.d/memopal [start|stop]
...

Then if you wish add it to a runlevel (usually 5 for X windows interface)

...
cd /etc/rc5.d/
ln -s ../init.d/memopal S95memopal
...

Installation

Debian Based distributions (Debian & Ubuntu)

Get the .deb package from our betaprogram

dpkg -i memopal-xxx.deb

If installation fails for unmet dependencies, let the system resolve them doing:

apt-get -f install

RPM Based distributions (Fedora)

Get the .rpm file from page

rpm -U memopal-xxx-x.rpm

If you have unmet dependencies, ask yum to download it:

yum install missingpackage

Using Memopal from the command line

Typical usage

memopal -u username -p password --backupFolder /[complete_path]

see memopal -h for list of command line options

Problem with ssl

In many cases you need to manually specify the path to the CA (SSL root certificate authority) certificate files, which are in different paths for different distributions of Linux.

If memopal complains about SSL specify --caCertPath option

memopal -u username -p password --caCertpath [pathtocafile] --backupFolder /[complete_path]

The CA file is usually somewhere in /etc

for ubuntu/debian: /etc/ssl/certs/ca-certificates.crt

in case the file is missing, you can try to rebuild it by doing:

[sudo|run as root] update-ca-certificates

for fedora: /etc/pki/tls/cert.pem

for centos: /etc/pki/tls/certs/memopal-ca-certs.pem

Personal tools