Marek Marczykowski-Górecki
a8ea1d4b39
Merge remote-tracking branch 'origin/pr/10'
...
* origin/pr/10:
backup: Allow to specify custom temporary directory
2016-05-04 23:54:34 +02:00
Jon Griffiths
63407b689e
qvm-backup/qvm-backup-restore: Allow reading pass phrase from file or stdin
...
Passing -p/--passphrase-file uses the first line of the file passed,
or stdin if '-' is given. This works with piped input too.
2016-03-09 01:41:20 +13:00
Marek Marczykowski-Górecki
d2640b517f
backup: Allow to specify custom temporary directory
...
Using tmpfs-backed directory may speed up the backup process.
QubesOS/qubes-issues#1652
2016-01-20 03:35:35 +01:00
Marek Marczykowski-Górecki
8725bdefb0
backup: add qvm-backup --compress-filter option
...
Custom compression program was supported for a long time. But there was
no option to use it...
Fixes QubesOS/qubes-issues#1459
2015-11-27 20:00:34 +01:00
Marek Marczykowski-Górecki
eaac99bf64
qvm-tools: check if running as root only on systems with os.geteuid
2014-11-19 12:50:26 +01:00
Marek Marczykowski-Górecki
96d5b47cce
qvm-tools/qvm-backup: add --debug option
2014-09-26 14:42:25 +02:00
Marek Marczykowski-Górecki
44f38fe076
Declare file encoding for all python files, fill missing copyright headers
...
Without that, python do not accept UTF-8 even in comments.
2014-05-18 21:03:27 +02:00
Marek Marczykowski-Górecki
3914835ceb
backups: add option to disable encryption
...
While the encryption is enabled by default in reasonable cases, allow the
user to disable it if he/she want to.
2014-05-05 05:22:57 +02:00
Marek Marczykowski-Górecki
dda1bbc41a
backups/qvm-backup: show all warnings at one place, clarify pass phrase prompt ( #801 )
2014-03-17 21:26:42 +01:00
Marek Marczykowski-Górecki
5d7688a2fe
backups: allow provide full path for the backup (instead of directory) ( #801 )
...
This will allow the user to choose custom filename, instead of
auto generated 'qubes-backup-XXX'.
2014-03-17 21:15:39 +01:00
Marek Marczykowski-Górecki
4ff39859c4
backups/qvm-tools: decode password using console encoding
2014-02-05 06:53:07 +01:00
Marek Marczykowski-Górecki
ca31b57ee3
backups: improve help message
2014-02-05 02:49:26 +01:00
Marek Marczykowski-Górecki
60d373dbda
qvm-tools: grammar fix in help message
...
might be repeated -> may be repeated
2014-01-23 04:50:14 +01:00
Marek Marczykowski-Górecki
dc34b6c94c
qvm-backup: automatically start destination VM ( #767 )
2014-01-15 05:52:46 +01:00
Marek Marczykowski-Górecki
d473140dff
qvm-backup: encrypt the backup when custom enc algo specified
...
Also move forcing encryption earlier to have VM names hidden
(backup_prepare call).
2014-01-15 05:51:52 +01:00
Marek Marczykowski-Górecki
16f8e46f68
qvm-backup: automatically exclude destination VM from backup ( #767 )
2014-01-15 05:51:18 +01:00
Marek Marczykowski-Górecki
8921df90d8
qvm-backup: add options to specify custom hmac/enc algorithms
2014-01-15 05:34:35 +01:00
Marek Marczykowski-Górecki
adbec8e843
backups/qvm-backup: force encryption if backup is sent to AppVM ( #769 )
2014-01-15 05:34:21 +01:00
Marek Marczykowski-Górecki
4b493b6d9a
backups: unify compress/encrypt parameter names
2014-01-15 03:45:12 +01:00
Marek Marczykowski-Górecki
99b001502a
backups: compression support
2013-12-02 14:05:41 +01:00
Marek Marczykowski-Górecki
10100767da
backups: hide VM names in encrypted backup
...
Even when encrypted backup is selected, file list isn't encrypted. Do
not leak VM names in the filenames.
2013-11-27 03:19:23 +01:00
Marek Marczykowski-Górecki
d7e3f3cb0a
backups: qvm-backup: check if /var/tmp have enough space
2013-11-25 05:43:15 +01:00
Marek Marczykowski-Górecki
3a898db663
backups: Prompt for password twice for verification
2013-11-25 05:42:47 +01:00
Marek Marczykowski-Górecki
c781a522d8
backups: move backup code to separate file
...
Also some major cleanups: Reduce some more code duplication
(verify_hmac, simplify backup_restore_prepare). Rename
backup_dir/backup_tmpdir variables to better match its purpose. Rename
backup_do_copy back to backup_do. Require QubesVm object (instead of VM
name) as appvm param.
2013-11-25 05:41:13 +01:00
Marek Marczykowski-Górecki
07ae02915f
backups: add missing import in qvm-backup
2013-11-25 00:55:10 +01:00
Marek Marczykowski-Górecki
c306b9c00a
backups: increase readability of long function calls
2013-11-24 23:49:53 +01:00
Marek Marczykowski-Górecki
6c61e79ebf
backups: don't echo entered passwords
2013-11-24 03:19:11 +01:00
Marek Marczykowski-Górecki
61b3a81e82
backup: remove unused argument from backup_prepare
2013-11-24 03:17:15 +01:00
Marek Marczykowski-Górecki
e7701d9c5d
backup: check for disk space if target is local directory
2013-11-24 03:15:44 +01:00
Marek Marczykowski-Górecki
a9a8335403
Merge remote-tracking branch 'oliv/master' into new-backups
...
Conflicts:
core/qubesutils.py
dom0/qvm-core/qubes.py
2013-11-07 22:41:16 +01:00
Marek Marczykowski-Górecki
f74caf876b
qvm-backup: support explicit list of VMs to backup
2013-10-01 03:18:44 +02:00
Marek Marczykowski
a84886db07
Move all files one level up
2013-03-16 19:56:51 +01:00