Hi,
I backup some VMs using SSH with vzdump redirecting to stdout, similar to the command below:
ssh root@pve-server vzdump 100 --mode snapshot $VZDUMP_PARAMETERS --stdout > ${SERVER}_${NAME}_$(date +%Y-%m-%d).vma 2> >(tee -a ${SERVER}_${NAME}_$(date +%Y-%m-%d).log >&2)
But I noticed that if the connection goes offline, the machine being dumped starts to show erros and becomes read-only system.
Is it possible to prevent this from happening?
Thanks.
I backup some VMs using SSH with vzdump redirecting to stdout, similar to the command below:
ssh root@pve-server vzdump 100 --mode snapshot $VZDUMP_PARAMETERS --stdout > ${SERVER}_${NAME}_$(date +%Y-%m-%d).vma 2> >(tee -a ${SERVER}_${NAME}_$(date +%Y-%m-%d).log >&2)
But I noticed that if the connection goes offline, the machine being dumped starts to show erros and becomes read-only system.
Is it possible to prevent this from happening?
Thanks.