Memopal for Linux How To

From Memopal Linux
Revision as of 10:10, 10 September 2015 by Filippo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Getting Started

A Web-UI (Web User Interface) is available: you can view the client's status and change some parameters at run time. Memopal can operate in two modes:

  1. As a system service daemon (as the root)
  2. From the command line, as root or as any unprivileged user

Please keep in mind that running more than one instance per user at a time is not supported and may lead to unexpected behavior.

Using Memopal as a system service

All of the commands below are to be executed as root.

After installation is complete:

cp /etc/memopal.conf.sample /etc/memopal.conf

edit the file "/etc/memopal.conf" specifying your account information (username, password) and the folders you want to backup.

The Web User Interface (web-ui) is activated by the "runEmbeddedWebserver = 5876" line (you can change the TCP port 5876 with any you like), which is same as "-runEmbeddedWebserver 5876" from the command line.

A brief manual page is available: type in a shell "man memopal" or, for more advanced options:
memopal --help

Done editing the config file, you can start using Memopal as a system service running the init script (called memopal)

/etc/init.d/memopal [start|stop|restart|force-reload|status]
or (debian/ubuntu)
service memopal [start|stop|restart|force-reload|status]

From now on you can start backing up by running "/etc/init.d/memopal start".

You can monitor your backup using the web-ui: open your favorite browser and go to http://localhost:5876.

You can also use the web-ui to monitor/manage a remote machine backup, browsing to http://remote_machine_ip_address:5876.

If you want to run Memopal at startup a way is to add the startup-link in the desired runlevels(x-windows usually corresponds to runlevel 5 and is a good choice)

cd/etc/rc5.d ln -s ../init.d/memopal S95memopal
debian/ubuntu can run:
update-rc.d memopal defaults
or (debian stardard)
inserv memopal
red hat based distros can use "ntsysv" or
chkconfig --add memopal

If Memopal complains about SSL...

You need to specify --caCertPath option (or edit caCertPath value in /etc/memopal.conf) The CA file is usually somewhere in /etc/.

For Latest ubuntu/debian:


For older ubuntu/debian:


IF YOU ARE RUNNING Ubuntu 12.04 Memopal Client on LATEST UBUNTU: Please keep in mind that memopal.conf has caCertPath set to "/etc/ssl/certs/ca.pem" by default (distro default ssl ca-cert path), however, if the client goes "server error" you will need to stop memopal, change it in /etc/memopal.conf to "/etc/ssl/certs/ca-certificates.crt", and restart !!!

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


For red hat and centos:


Using Memopal from the command line

Typical use:

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

A brief manual page is available: type "man memopal" or, for the full list of command line options see

memopal --help

How to navigate through your files

The preferred method to access your files is using the WebApp at

The Memopal WebApp site is accessible from any device that has an internet browser. You can share your files, view your pictures, manage your memopal account and pretty much everything you can do with Memopal from this web site.

Another method is accessing the WebDAV folder (using a web or a file browser).

File access is also available on smartphones using specific apps for iOS, Android and BlackBerry. The mobile apps can be found on or in the App Stores.

EXAMPLE: WebDAV access using Gnome.

Gnome's file browser has an easy way to access a dav resource: open the file browser, click "connect to server" and fill in the credentials.

Server: "" (some browsers need

Type (or protocol): Secure WebDAV

Username: Your Memopal username

Password: Your Memopal password


.. makes your backup available in your filesystem just as a normal nfs or smb share.

To fit enough:

mount-t davfs

Any proxy must be indicated in:




If no proxy is defined in the configuration file davfs uses this environment variable:


Support for non-root users

To allow an ordinary user to mount this line must be in /etc/fstab (also makes davfs mount at boot): davfs noauto, user 0 0

If you use a proxy to connect to the Internet davfs2 must be configured in "/home/filomena/.davfs2/davfs2.conf"


Now the WebDAV resource can be mounted by a normal user:

mount /media/dav

and removed by a normal user.

umount /media/dav

== Mount automatically on startup == adding this line to /etc/fstab: davfs user 0 0

Personal tools

Memopal for Linux How To
Get a 3GB Free Memopal account
Do you have an activation code?
Download Memopal for Linux
Download Old Releases for Linux