config

josephj at main.nc.us josephj at main.nc.us
Fri Jun 25 21:55:00 UTC 2021


Part of the genius of Linux is the concept that each tool should do one
thing well and with pipes it is extremely easy to chain these tools
together in combinations unique to the current requirements of any task.

I can't speak for the rsync developers, but I don't believe they would be
open to adding functionality to their codebase that is already easily
obtained with a few lines of shell scripting. This would also open the
door to many other custom requests that that could tie up the developers
while adding no functionality to rsync itself.

Unless you are in an isolated location, it should be relatively easy to
find a local programmer who can add a few lines of code to your backup
system to give you the desired output. If the system is setup nicely, the
required work might take a few minutes to complete. If it's hard to get to
the output itself before it gets emailed, then it might take a little
longer.

Joe
>
> Am 25.06.2021 um 17:34 schrieb Knight, Dave:
>> The rsync stdout typically lists directories "considered" with a "/"
>> at the end and lists those files that actually get copied/sync'd by
>> name with no "/" at the end.  If I understand your "problem"
>> correctly, you want to see only the copied files.
>>
>> My suggestion: save the report email as a text file (e.g. report.txt)
>> and use the grep command to filter out the lines that end with a "/"
>> (forward slash) character, e.g.:
>>
>>     grep -v '\$'  report.txt
> Exactly that is my problem.I would have to run a routine every day to
> see what is backed up.Wouldn't it be much easier if rsync itself filters
> out the lines that have been backed up?A program with so many options
> could also contain an additional function with which the desired can be
> set.That would be a lot easier than doing it yourself every day.Sorry,
> but I'm not a programmer to do this myself ...
>>
>> The grep command comes standard with all *nix and Linux distros and is
>> incluaded with CygwinX for windows
>> <https://www.cygwin.com/install.html> systems.  See this macworld
>> article <https://www.macworld.com/article/173702/jangeekfactor.html>
>> if you are running a mac.
>>
>> I hope this is helpful...
>>
>> Viel Glück!
>>
>> --
>>
>> In your time of need, may your piece be with you!
>>
>> The trouble with many of today's college graduates is not that they're
>> ignorant, it's that they've been taught so much that just isn't so!
>>
>> (with apologies to Ronald Reagan).
>>
>>
>>
>> On Fri, Jun 25, 2021 at 9:49 AM Gerhard Obermayr via rsync
>> <rsync at lists.samba.org <mailto:rsync at lists.samba.org>> wrote:
>>
>>     Hello everyone,
>>
>>     Briefly to my problem - or wish: By lucky coincidence I came into
>>     possession of an HP Proliant.
>>     My junior installed OpenMediaVault for me.
>>     I've been using it as a daily backup for my TeraStation ever since.
>>     Rsync is set up for this.
>>     Every day I get two emails from this backup, in which the complete
>>     directory is listed that is due to be backed up.
>>     But that's pretty confusing, because that's currently more than
>>     8000 lines in total.
>>     And why? Because, among other things, I back up my directories
>>     with the photos from one NAS to another.
>>     And that's quite a lot of directories from the last 20 years ...
>>     In between, individual files appear in individual directories that
>>     have changed and have been saved as a result.
>>     Isn't it possible that only those files appear in this mail that
>>     were actually backed up because of the change?
>>     That would be easier and clearer ...
>>     Maybe there is already a solution - an additional option button -
>>     *to only display the copied files in the report* ...
>>
>>     What can i do? What parameter work right? Is there an option for
>>     that?
>>
>>     --
>>     Liebe Grüße aus Haag - und Xund bleim!
>>
>>     Gerhard Obermayr
>>
>>     --
>>     Please use reply-all for most replies to avoid omitting the
>>     mailing list.
>>     To unsubscribe or change options:
>>     https://lists.samba.org/mailman/listinfo/rsync
>>     <https://lists.samba.org/mailman/listinfo/rsync>
>>     Before posting, read:
>>     http://www.catb.org/~esr/faqs/smart-questions.html
>>     <http://www.catb.org/~esr/faqs/smart-questions.html>
>>
>
> --
> Liebe Grüße aus Haag - und Xund bleim!
>
> Gerhard Obermayr
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>





More information about the rsync mailing list