Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

question on backup log

ng_7
Regular Advisor

question on backup log

hi, guy, allow me to ask stupid question again :

1. 1 block is equivalent to how many mb ?
2. the total block write to output is different with total read blocks, does it mean my backup got problem ? is yes where to trace the error ?

thanks


/home/oraprod/dbackup.sh: /home/applprod/fbkp.log: Cannot create the specified file.
fbackup(1004): session begins on Fri Jun 8 02:30:00 2007
fbackup(3024): writing volume 1 to the output file /backup/prod
fbackup(3055): total file blocks read for backup: 162486343
fbackup(3056): total blocks written to output file /backup/prod: 162637358
4 REPLIES
skt_skt
Honored Contributor

Re: question on backup log

It does not looks like erroored. Try to check the exit code of the fbackup command in the script.
A. Clay Stephenson
Acclaimed Contributor

Re: question on backup log

1 block (for fbackup) is 1024Bytes (1KiB). There actually is no standard definition of a "block"; it entirely depends upon the application and/or context.

The output file is larger than the sum of the inut files because of overhead. The backup must also record the metadata associated with each file (e.g. mtime,ctime,uid,gid,mode,size) plus possibly some padding.
If it ain't broke, I can fix that.
ng_7
Regular Advisor

Re: question on backup log

so do you mean that my backup should be no problem ?
ng_7
Regular Advisor

Re: question on backup log

my backup file size is about 79GB, but if you said 1 block = 1024bytes, then the total read and output is should be about 162GB right ? why there is such a big different ?