You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function cleanup_build_area_and_end_program() in framework-functions.sh contains following line:
rm -Rf $BUILD_DIR/outputfs
When using NFS target, BUILD_DIR is the same as BACKUP_URL. It happened that BUILD_DIR was still mounted when this command was run, resulting in loss of all files there. I'm unable to reproduce it right now but it certainly happened several times. I was also having trouble with poor NFS server response time at the same time, maybe this caused some unusual code path to be run. Not sure why but it can cause cause unwanted deletes, Maybe BUILD_DIR should point to temporary location, not to backup destination.
The text was updated successfully, but these errors were encountered:
The OUTPUT_URL was not going to NFS, but a local file system. However, if I understood it well /backup is a NFS mounted file system. What you should do is or unset OUTPUT_URL or define a proper nfs mount point
removed OUTPUT_URL parameter and I'm doing backup to mounted NFS share (BACKUP_URL=file:///...). It works too, but I need to mount correct NFS directory manually before recover. That's all.
function cleanup_build_area_and_end_program() in framework-functions.sh contains following line:
When using NFS target, BUILD_DIR is the same as BACKUP_URL. It happened that BUILD_DIR was still mounted when this command was run, resulting in loss of all files there. I'm unable to reproduce it right now but it certainly happened several times. I was also having trouble with poor NFS server response time at the same time, maybe this caused some unusual code path to be run. Not sure why but it can cause cause unwanted deletes, Maybe BUILD_DIR should point to temporary location, not to backup destination.
The text was updated successfully, but these errors were encountered: