Wojciech Zygmunt Porczyk
fe954632c0
regexp fixes and validation ( #829 )
2014-05-19 15:41:37 +02:00
Marek Marczykowski-Górecki
b109f8ce7c
backups: fix in VM path dialog handling
2014-02-20 01:05:37 +01:00
Marek Marczykowski-Górecki
53433bc47d
backups: fix unicode handling in passphrase and backup path
...
Convert from QString to unicode, not str object.
2014-02-05 06:54:22 +01:00
Marek Marczykowski-Górecki
89280d0283
backups: start dom0 file browser with '/' as default
...
Do not suggest home directory as right place for backups. If the user
chosen some block device, it will be used as default.
2014-02-05 06:54:11 +01:00
Marek Marczykowski-Górecki
7757e343e1
backups/restore: implement selecting the backup even in VM
...
Using new qubes.SelectFile RPC service, qubes manager can show the file
select dialog from within VM.
The user still can enter the path (or command) manually.
2014-01-13 05:20:54 +01:00
Marek Marczykowski-Górecki
07068be8ed
backups: improve handling of dom0 devices
...
Do not use blk_manager if the device is already in dom0, try to detach
device only when it was mounted (otherwise it was detached already in
error handling code).
2014-01-13 05:19:43 +01:00
Marek Marczykowski-Górecki
9214fb1488
backups: update imports
2014-01-13 05:19:06 +01:00
Marek Marczykowski-Górecki
c5ed749c22
backups: make released block device visible to the block manager
...
Devices used as part of other device (e.g. LUKS) are marked as
unavailable. So after releasing the device it need to be discovered
again. Unfortunately udev event isn't triggered on such occasion (only
"remove" event for device-mapper dev). This patch triggers this event
manually.
2014-01-13 05:09:07 +01:00
Marek Marczykowski-Górecki
02ac37c316
backups: default path on block device only on backup, not restore
...
On restore the user must point which backup want to use.
2014-01-12 05:43:15 +01:00
Marek Marczykowski-Górecki
26d4f67963
backups: detach block device when finished or error occurred
2014-01-12 05:42:19 +01:00
Marek Marczykowski-Górecki
5f7113e11e
backups: allow only one of "block device" and "VM"
...
Block device can be pointed only when source VM is "dom0".
2014-01-12 05:20:48 +01:00
Marek Marczykowski-Górecki
92a6a85a4b
backups: kill self.backup_location variable
...
This is copy of dir_line_edit content and its easy to desynchronize its
value, so just use the later directly.
2014-01-11 22:57:34 +01:00
Marek Marczykowski-Górecki
0b0297f129
backups: default file select state to previously selected directory
2014-01-10 03:37:28 +01:00
Marek Marczykowski-Górecki
e1e60f692c
backups: allow to select backup in old format (directory instead of file)
...
New backup is store in one file, but old one in a whole directory. While
selecting old backup, the user need to point 'qubes.xml' file.
2013-12-29 04:56:27 +01:00
Marek Marczykowski-Górecki
21d72cdc6c
backups: UI improvements
...
Prompt for retype the backup password, more thoroughly test if the user
entered all required informations, use "dom0" instead of "None" for local
backup indication.
2013-11-28 03:52:02 +01:00
Marek Marczykowski-Górecki
ced6fc672b
backups: Update for new API - backup code moved to qubes.backup module
...
Also some improvements/fixes for handling new backup format
2013-11-28 03:50:17 +01:00
Marek Marczykowski-Górecki
6ad6e7c661
Whitespace fixes.
2013-11-28 03:45:22 +01:00
Olivier MEDOC
e8cec85874
backup: implemented restore functions using the new backup model
2013-09-27 09:19:38 +02:00
Marek Marczykowski
69a2ac62fb
use any python2, not explicit python2.6
...
Especially allow python2.7.
2013-01-23 15:55:14 +01:00
Bruce A Downs
a64aab0acf
qubes-manager: Bug fixes for backup/restore dialog around pumount usage
...
* pumount was not being called with sudo
* pumount cleans up mount_dir, therefore rmdir removed
* check for NoneType when setting dir_line_edit to avoid exception
2012-10-16 01:01:27 +02:00
Marek Marczykowski
4da2e33bf1
initialize backup_dir after mounting backup device ( #587 )
2012-06-19 00:52:16 +02:00
Marek Marczykowski
0801ee3c9c
remove backup mount dir after unmounting ( #587 )
2012-06-19 00:45:27 +02:00
Marek Marczykowski
7639ba67d6
backup: automatically fill in target directory ( #587 )
2012-06-11 16:46:44 +02:00
Marek Marczykowski
1034bcedd9
backup: refresh dev list after attaching backup device to dom0
2012-06-11 16:46:18 +02:00
Agnieszka Kostrzewa
be0d4be5c1
Option to retry pumount if failed.
2012-04-22 17:13:42 +02:00
Agnieszka Kostrzewa
0e206d9f05
More user friendly pmount/pumount fails.
2012-04-21 21:03:26 +02:00
Agnieszka Kostrzewa
9470f69be8
Used Watch API for block devices
2012-04-13 01:08:36 +02:00
Agnieszka Kostrzewa
7cf25ccffd
Support for LUKS devices in backup/restore ( ticket #487 )
2012-03-19 14:22:51 +01:00
Agnieszka Kostrzewa
b915d725bc
Enabled selecting paths for backup/restore without mounting a device.
2012-03-02 02:50:12 +01:00
Agnieszka Kostrzewa
6d0a247997
Restore dialog
2012-02-22 06:09:25 +01:00