samba-bugs at samba.org
2014-Feb-13  18:24 UTC
[Bug 10445] New: flag to suppress link_stat error messages
https://bugzilla.samba.org/show_bug.cgi?id=10445
           Summary: flag to suppress link_stat error messages
           Product: rsync
           Version: 3.1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: mij at bitchx.it
         QAContact: rsync-qa at samba.org
rsync complains about file arguments not existing.
For example, running this command to archive a selected set of files:
rsync -aq --remove-from-source --remove-source-files /var/log/messages*bz2
/backup/maillog*bz2 /backup/auth.log*bz2 backupserver::myname/
will issue the following errors if any of the given patters has no match:
rsync: link_stat "/var/log/messages*bz2" failed: No such file or
directory (2)
rsync: link_stat "/backups/maillog*bz2" failed: No such file or
directory (2)
...
One particular application of commands similar to this is to periodically save
archives to a central backup server via cron. This causes cron to periodically
mail admins with the above errors. The option to divert this to /dev/null is
dangerous, as it would lose other error messages which ARE actually useful,
such as failures to reach the backup server.
A command line argument such as --ignore-missing-files that avods this type of
errors (link_stat) would do great.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2014-Feb-13  18:28 UTC
[Bug 10445] flag to suppress link_stat error messages
https://bugzilla.samba.org/show_bug.cgi?id=10445
michele <mij at bitchx.it> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
--- Comment #1 from michele <mij at bitchx.it> 2014-02-13 18:28:22 UTC ---
I see that the newest version of rsync does support this as
"--ignore-missing-args" . The manpage on the Mac tricked me to assume
otherwise. Closing this, sorry for the noise.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.