bugrdiff-backup - Bugs: bug #46424, return code not null when using...


bug #46424: return code not null when using "--compare-full" flag

Submitted by:  Ploc <ploc>
Submitted on:  Thu 12 Nov 2015 12:34:02 AM UTC  
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 24 Feb 2020 04:28:54 PM UTC, comment #2: 

This will be addressed by https://github.com/rdiff-backup/rdiff-backup/issues/1 so that you can check for 1 (error) vs. 2 (difference) in return code.

Eric L. <ericzolf>
Project Administrator
Thu 12 Nov 2015 12:44:16 AM UTC, comment #1: 

The same behaviour occurs when using any of the --compare* options.

It is maybe the desired behaviour as when rdiff-backup is comparing directories, it is not backuping !

But comparing should not be considered as an error !

Ploc <ploc>
Thu 12 Nov 2015 12:34:02 AM UTC, original submission:  

I'm using the following command line to check if my backup will be ok:

rdiff-backup --exclude-globbing-filelist /home/user/conf/rdbackup.exclude --compare-full /home/user /media/user/external/backup

This leads to exit with exit code "1" when I expect a "null" exit code. This makes my whole backup script to fail as I'm checking the return code of rdiff-backup.

When not using the "--compare-full" flag, everything seems to be ok :

rdiff-backup --exclude-globbing-filelist /home/user/conf/rdbackup.exclude /home/user /media/user/external/backup

I'm using rdiff-backup on debian with ext4 filesystem on source and destination.

Ploc <ploc>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ericzolf (Posted a comment)
  • -email is unavailable- added by davekempe (Updated the item)
  • -email is unavailable- added by ploc (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-24 ericzolf StatusPostponed => Duplicate
        Open/ClosedOpen => Closed
    2016-02-12 davekempe Severity3 - Normal => 2 - Minor
        StatusNone => Postponed

    Back to the top

    Powered by Savane 3.5