Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    1. You'll need a self-compiled version of the UrBackup server, as the precompiled versions do not include debugging information. See e.g. here for how it is done in Ubuntu (Note, that you can install the package libcurl4-gnutls-dev instead of compiling it on newer systems).
    2. You need to have the gdb debugger installed
    3. With UrBackup Server < 1.3:
      1. Replace exec the last line in the script /usr/local/sbin/start_urbackup_server with gdb --args. So it is now
        gdb --args $DAEMON $S_DAEMON $DAEMON_ARGS
        instead of
        exec $DAEMON $S_DAEMON $DAEMON_ARGS
        And change the prefix to /usr/local (depends on where you installed the compiled binaries, but this is the default). That is change
           PREFIX=/usr
        to
          PREFIX=/usr/local
        in line 4 of the script.
      2. Run the UrBackup server via
        start_urbackup_server --loglevel debug --no_daemon
        If you want to log off while it runs, run it in screen
    4. With UrBackup Server >= 1.3:
      1. Run the UrBackup server via
        start_urbackup_server --loglevel debug --startrun_in_gdb
        If you want to log off while it runs, run it in screen
    5. If log rotation is enabled enter "handle SIGHUP nostop" in the gdb command prompt to prevent gdb from stopping during log rotation
    6. Enter run in the gdb command prompt to start the server
    7. Once it crashed enter bt to get information on the location where it crashed.

...