<div dir="auto">I'm using this one liner to get the progress<div dir="auto"><br></div><div dir="auto">grep 'mmbackup:Backup job finished'|cut -d ":" -f 6|awk '{print $1}'|awk '{s+=$1}END{print s}'</div><div dir="auto"><br></div><div dir="auto">That can be compared to the files identified during the scan.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Sept 2023, 21:29 Stephan Graf, <<a href="mailto:st.graf@fz-juelich.de">st.graf@fz-juelich.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I think it should be possible because mmbackup know, how many files are <br>
to be backed up, which have been already processed and how many are <br>
still to go.<br>
<br>
BTW it would also be nice to have an option in mmbackup to generate <br>
machine readable log file like JSON or CSV.<br>
<br>
But the right way to ask for a new feature or to look if there is <br>
already a request open is the IBM IDEA portal:<br>
<br>
<a href="https://ideas.ibm.com" rel="noreferrer noreferrer" target="_blank">https://ideas.ibm.com</a><br>
<br>
Stephan<br>
<br>
On 9/6/23 11:02, Jonathan Buzzard wrote:<br>
> <br>
> Would it be possible to have the mmbackup output display the percentage <br>
> output progress when backing up files?<br>
> <br>
> So at the top we you see something like this<br>
> <br>
> Tue Sep  5 23:13:35 2023 mmbackup:changed=747204, expired=427702, <br>
> unsupported=0 for server [XXXX]<br>
> <br>
> Then after it does the expiration you see during the backup lines like<br>
> <br>
> Wed Sep  6 02:43:53 2023 mmbackup:Backing up files: 527024 backed up, <br>
> 426018 expired, 4408 failed. (Backup job exit with 4)<br>
> <br>
> It would IMHO be helpful if it looked like<br>
> <br>
> Wed Sep  6 02:43:53 2023 mmbackup:Backing up files: 527024 (70.5%) <br>
> backed up, 426018 (100%) expired, 4408 failed. (Backup job exit with 4)<br>
> <br>
> Just based on the number of files. Though as I look at it now I am <br>
> curious about the discrepancy in the number of files expired, given that <br>
> the expiration stage allegedly concluded with no errors?<br>
> <br>
> Tue Sep  5 23:21:49 2023 mmbackup:Completed policy expiry run with 0 <br>
> policy errors, 0 files failed, 0 severe errors, returning rc=0.<br>
> Tue Sep  5 23:21:49 2023 mmbackup:Policy for expiry returned 0 Highest <br>
> TSM error 0<br>
> <br>
> <br>
> <br>
> JAB.<br>
> <br>
<br>
-- <br>
Stephan Graf<br>
Juelich Supercomputing Centre<br>
<br>
Phone:  +49-2461-61-6578<br>
Fax:    +49-2461-61-6656<br>
E-mail: <a href="mailto:st.graf@fz-juelich.de" target="_blank" rel="noreferrer">st.graf@fz-juelich.de</a><br>
WWW:    <a href="http://www.fz-juelich.de/jsc/" rel="noreferrer noreferrer" target="_blank">http://www.fz-juelich.de/jsc/</a><br>
---------------------------------------------------------------------------------------------<br>
---------------------------------------------------------------------------------------------<br>
Forschungszentrum Juelich GmbH<br>
52425 Juelich<br>
Sitz der Gesellschaft: Juelich<br>
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br>
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke<br>
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),<br>
Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht,<br>
Prof. Dr. Frauke Melchior<br>
---------------------------------------------------------------------------------------------<br>
---------------------------------------------------------------------------------------------<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://gpfsug.org" rel="noreferrer noreferrer" target="_blank">gpfsug.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" rel="noreferrer noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a><br>
</blockquote></div>