How can I debug SBackup?

Created by Jean-Peer Lorenz on on 2010-10-13
Keywords:
debugging
Last updated by:
Jean-Peer Lorenz on on 2011-01-26

Q:
How can I debug SBackup?

A:
If you are unsure what happens when running sbackup or if the application suddenly disappears and nothing is logged in the log files you can do the following:

1. open a console window

2. invoke the application from the console using
    a) 'sbackup-config-gtk' to invoke the configuration tool as user
    b) 'gksu sbackup-config-gtk' to invoke the configuration tool as root
    a) 'sbackup-restore-gtk' to invoke the restoration tool as user
    b) 'gksu sbackup-restore-gtk' to invoke the restoration tool as root

3. you can now see the output of sbackup within the console window

If you discover a failure in that output please make a copy and post it.

How to debug the backup process:

1. among the mentioned commands you can invoke a backup process directly from the console:
type 'sbackupd' to run as user and 'sudo sbackupd' to run as root.

Disclaimer: Follow these hints only in the case you understand what you are doing! If not please ask a question or report a bug with detailed informations.