...
The following error may be seen when a backup of the MCS database occurs:avtar Error : Path "var/mc/server_data/prefs/sessionticket.srl": Total processed bytes is inconsistent with original data size The subsequent backups will complete without issue.
This error is seen when the sessionticket.srl is being written to during the backup and changes in size.
The sessionticket.srl is not required to restore the MCS so this error can be safely ignored. Workaround:If you would like to prevent this error in the future follow the workaround provided below to modify the mcserver.xml file Before making any changes to the mcserver.xml make a backup copy of it: cd /usr/local/avamar/var/mc/server_data/prefs/ cp -p mcserver.xml x-mcserver.xml.old.'date -I' Edit /usr/local/avamar/var/mc/server_data/prefs/mcserver.xml and add the following information to the flush_exclude_subdirs line:,prefs/sessionticket.srlSo the flush_exclude_subdirs line should appear as follows:value="mcs_data_dump.sql.restore,postgres/data/base,postgres/data/global,postgres/data/pg_clog,postgres/data/pg_xlog,postgres/data/postmaster.pid,flush,postgres/data/pg_log,postgres/data/pg_tblspc,postgres/data/pg_twophase,postgres/data/pg_multixact,postgres/data/pg_subtrans,postgres/data/pg_stat_tmp,prefs/sessionticket.srl" />Note that the MCS will need to be restarted for these changes to take affect: dpnctl stop mcs dpnctl start mcs Once the next backup of the MCS has been completed you can confirm the sessionticket.srl was not backed up by grepping through the flush.log to confirm;grep sessionticket.srl /usr/local/avamar/var/mc/server_log/flush.log 2016-10-26 05:50:10 avtar Info : - Adding user exclude "var/mc/server_data/prefs/sessionticket.srl" 2016-10-26 05:52:38 avtar Info : 1 match for exclude pattern "var/mc/server_data/prefs/sessionticket.srl". 2016-10-26 06:50:01 avtar Info : Command Line: /usr/local/avamar/bin/avtar.bin --flagfile=/usr/local/avamar/etc/usersettings.cfg --password=**************** --vardir=/usr/local/avamar/var --server=server-internal --id=root --bindir=/usr/local/avamar/bin --vardir=/usr/local/avamar/var --bindir=/usr/local/avamar/bin --sysdir=/usr/local/avamar/etc -c -v --account=/MC_BACKUPS --nocache --senddata --logfile=var/mc/server_log/flush.log --id=root --password=**************** --retention-type=daily,weekly,monthly,yearly var/mc/server_data/ --exclude=var/mc/server_data/mcs_data_dump.sql.restore --exclude=var/mc/server_data/postgres/data/base --exclude=var/mc/server_data/postgres/data/global --exclude=var/mc/server_data/postgres/data/pg_clog --exclude=var/mc/server_data/postgres/data/pg_xlog --exclude=var/mc/server_data/postgres/data/postmaster.pid --exclude=var/mc/server_data/flush --exclude=var/mc/server_data/postgres/data/pg_log --exclude=var/mc/server_data/postgres/data/pg_tblspc --exclude=var/mc/server_data/postgres/data/pg_twophase --exclude=var/mc/server_data/postgres/data/pg_multixact --exclude=var/mc/server_data/postgres/data/pg_subtrans --exclude=var/mc/server_data/postgres/data/pg_stat_tmp --exclude=var/mc/server_data/prefs/sessionticket.srl --server=server-internal --hfsport=27000 --conntimeout=120 --vardir=/usr/local/avamar/var