Re: [qubes-users] Altering the backup engine.

2016-08-18 Thread Drew White
On Thursday, 18 August 2016 16:03:26 UTC+10, Alex  wrote:
> It looks like the Qubes Manager has an internal app for backup in
> /usr/lib64/python2.7/site-packages/qubesmanager/backup.py, that manager
> the window-based wizard, and uses the generic backup tool in
> /usr/lib64/python2.7/site-packages/qubes/backup.py to get the job done.
> 
> At the beginning of the latter I can see some definitions like
> "DEFAULT_COMPRESSION_FILTER = 'gzip'", I think you may want to check
> there. The compression filter defined there is passed to the command
> line of various tar executions with --use-compress-program=%s.
> 
> I don't think it is intented to be actually changed by users via the
> GUI, but the fact that it has been moved to a definition at the
> beginning of the file and that it is named "DEFAULT" may indicate that
> is is intended to be customizable in a possible future extension.
> 
> -- 
> Alex

I just didn't understand how it went about it, it actually calls the qvm-backup 
from there. so it's already set up, but I don't think the program will use what 
I want because the tool I use is working differently for the passing of data to 
be compressed.

But now I know how it does it, I will just build a unit for that to work for 
the one I use as well, not just the default.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/13de45d2-e4dd-4567-8802-352f2d19247e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Altering the backup engine.

2016-08-18 Thread Alex
On 08/18/2016 07:52 AM, Drew White wrote:
> Hi folks,
> 
> Any davs here able to tell me how to set Qubes Manager default to use
> a different archiving method other than gzip ?
> 
> gzip is the default, but I don't know how or where to change it in
> the manager code, I've tried to find the command it uses, but I'm
> unable to find the command anywhere. Either I'm not looking in the
> right place, or the command isn't what I believe it is.
> 
> Please help?
> 
> Sincerely Drew.
It looks like the Qubes Manager has an internal app for backup in
/usr/lib64/python2.7/site-packages/qubesmanager/backup.py, that manager
the window-based wizard, and uses the generic backup tool in
/usr/lib64/python2.7/site-packages/qubes/backup.py to get the job done.

At the beginning of the latter I can see some definitions like
"DEFAULT_COMPRESSION_FILTER = 'gzip'", I think you may want to check
there. The compression filter defined there is passed to the command
line of various tar executions with --use-compress-program=%s.

I don't think it is intented to be actually changed by users via the
GUI, but the fact that it has been moved to a definition at the
beginning of the file and that it is named "DEFAULT" may indicate that
is is intended to be customizable in a possible future extension.

-- 
Alex

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7619c646-0f65-ff58-4bee-d12759b8ab3e%40gmx.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


[qubes-users] Altering the backup engine.

2016-08-17 Thread Drew White
Hi folks,

Any davs here able to tell me how to set Qubes Manager default to use a 
different archiving method other than gzip ?

gzip is the default, but I don't know how or where to change it in the manager 
code, I've tried to find the command it uses, but I'm unable to find the 
command anywhere. Either I'm not looking in the right place, or the command 
isn't what I believe it is.

Please help?

Sincerely
Drew.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/029c179d-8c3f-4b20-9c80-740102d8f524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.