#184 Issue closed: BACKUP=DP: restore does not handle sparse files properly

Labels: bug

pavoldomin opened issue at 2012-12-18 17:45:

Recovery from the rear backup taken with BACKUP=DP option may fill the filesystem due to inefficient sparse files handling: omnir should be called with '-sparse' option.

gdha commented at 2012-12-19 07:12:

One minor bug discovered though: sparse files are not treated. Fixed by adding '-sparse' to omnir command in restore/DP/default/40_restore_with_dp.sh:

/opt/omni/bin/omnir -filesystem ${host_fs} "${label}" -full -session ${SessionID} -tree ${fs} -into /mnt/local -sparse -device ${Device} -target `hostname` -log >&8

[Export of Github issue for rear/rear.]