Unsolved
This post is more than 5 years old
6 Posts
0
1175
Is any way to know how many files in filesystem (file count) at every incr backup job?
As title. Is any way to know how many files in every client filesystem (total file count) at every incr backup job?
Is possible to know...maybe using mminfo command?
bingo.1
2.4K Posts
0
August 2nd, 2016 22:00
You already got the right idea - use mminfo and include the parameter 'nfiles' in the report.
ponponben
6 Posts
0
August 3rd, 2016 01:00
For example:
mminfo -r "client,name,group,sscreate,sscomp,level,totalsize,nfile" -q "savetime>=07/01/2016"
add the "nfile" parameter only shows changed files that be backuped at incr backup as below:
but have any way to know how many files in filesystem at this time, not how many files be backuped.
bingo.1
2.4K Posts
0
August 3rd, 2016 04:00
I am not sure where you get your numbers from - the parameter is called 'nfiles' not 'nfile' .
Here is an example for a full backup but it will of course work for any other level.
C:\>mminfo -q "client= ,savetime>-1days" -r "client,name,level,savetime,sumflags,sumsize,nfiles"
client name lvl date fl size nfiles
cl_name <1>Y:\ full 03.08.2016 cb 437 GB 254294
cl_name <2>Y:\ full 03.08.2016 cb 389 GB 241665
cl_name <3>Y:\ full 03.08.2016 cb 427 GB 251990
cl_name Y:\ full 03.08.2016 cb 428 GB 327818
C:\>
So if you only want to know about the incremental backup, just extend the query part appropriately:
mminfo -r "client,name,group,sscreate,sscomp,level,totalsize,nfiles" -q "level=incr,savetime>=07/01/2016"
ponponben
6 Posts
0
August 3rd, 2016 08:00
sorry, my fault. I means nfiles not nfile. All my customer want if first full backup, files count shows "151944". if end-user add 2 files, at next incr backup, the table should be show "151946" not "2". same reson, if end-user delete 10 files, on next incr backup, the table should show "151936".
Is possible can do this? I am not sure. Finally, I am very thankful to you.
bingo.1
2.4K Posts
0
August 3rd, 2016 13:00
No - this is not possible. NW will just give you the numbers per save set - he will not be able to process the results.
If you want, you could script (Powershell?) a routine that adds the values in a column. But this is your task.
2 more issues:
- If NW backups up something, there will be at least 1 file entry in the save set.
Consequently, the 'total count' can only increase.
- Keep in mind that NW will also add 1 file index entry for each directory. So the value 'nfiles' will not only represent file
numbers.