fmorgue

Software Screenshot:
fmorgue
Software Details:
Version: 1.2
Upload Date: 14 Apr 15
Developer: Peter Troger
Distribution Type: Freeware
Downloads: 11

Rating: nan/5 (Total Votes: 0)

fmorgue is a Python tool for mirroring files permanently to a remote server. In contrast to rsync and friends, it identifies missing files on the server only based on modification time and size, which makes it suitable for archiving rotated log files.

The package installs two new shell commands, 'fmorgue' for the client application, and 'fmorgue-server'.

The client application

The fmorgue client is expected to be called on a regular base, e.g. as cron job. It inspects the given list of files and asks the server which files need to be transfered. In case some of the files are missing, they are immediately transferred to the server.

Example:


fmorgue http://my.archive.example.com/ /var/log/*.log

Try 'fmorgue -h'.

The server application

The fmorgue server can either run as standalone application on a dedicated port, or as CGI script. In both operation modes, the server must be told were to store the retreived data.

In standalone mode, you have to define the directory as command-line parameter.

In CGI mode, you have to create a config file in '/etc/fmorgue' The configuration file should look like this:

        # Configuration file for fmorgue
        [fmorgue-server]
        dir=/tmp/
        # Possible values: yes/no
        withhostname=no
        # Possible values: yes/no
        withorigname=no


You also need to configure your web server, e.g. by adding a ScriptAlias directive.

By default, the files are renamed according to their modification time, since the original file name is expected to be changing (think logrotate). You can add the original host name and file name to the generated file name on server side.

Requirements:

  • Python

Similar Software

TAR GUI
TAR GUI

3 Jun 15

Xarchiver
Xarchiver

17 Feb 15

plzip
plzip

20 Feb 15

GRF Tool
GRF Tool

3 Jun 15

Comments to fmorgue

Comments not found
Add Comment
Turn on images!