On 9/7/19 10:54 PM, 'Heinrich Ulbricht' via qubes-users wrote: > The best bet I currently have it applying the "sleep trick" (see here > <https://github.com/QubesOS/qubes-issues/issues/3230#issuecomment-340253679>) > to line 598ff > <https://github.com/QubesOS/qubes-core-admin-client/blob/master/qubesadmin/backup/restore.py#L598> > in /restore.py/. > > So this: > elifinner_name inself.handlers: > tar2_cmdline =['tar', > '-%svvO'%("t"ifself.verify_only else"x"), > inner_name] > redirect_stdout =subprocess.PIPE > > Would become something like this: > elifinner_name inself.handlers: > tar2_cmdline =['tar', > '-%svvO'%("t"ifself.verify_only else"x"), > '--checkpoint=20000', > '--checkpoint-action=exec=\'sleep "$(stat -f > --format="(((%b-%a)/%b)^5)*30" /var/tmp | bc -l)"\'', > inner_name] > redirect_stdout =subprocess.PIPE > > > Too naive? >
It could work, take in account that backup file should be exposed directly to dom0 or it will use 'qfile-unpacker': https://github.com/QubesOS/qubes-issues/issues/3230#issuecomment-340277836 Good luck :) -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/6a0e8f93-8755-696c-bc5b-6a4035a72da7%40riseup.net.