Commit Graph
16 Commits
Author SHA1 Message Date
Jérémie Courrèges-Anglas 7e6983f77a Also log error messages from btrfs.
Minor whitespace cleanup while here.
2015-05-15 12:26:53 +02:00
Jérémie Courrèges-Anglas e3e58d8963 Sync with last changes in backup_rsync.py 2015-05-15 12:16:14 +02:00
Jérémie Courrèges-Anglas 8711610053 Actually, log the last 512 bytes. 2015-05-15 11:59:44 +02:00
Jérémie Courrèges-Anglas 5001af381b On unknown error, log the last 256 bytes of rsync output
... else we're completely clueless about what actually happened.
2015-05-15 11:49:34 +02:00
Jérémie Courrèges-Anglas cb9ceba2f8 The intent was probably to log the returncode here too 2015-05-15 11:47:40 +02:00
Jérémie Courrèges-Anglas 0152852eb4 Re-add cipher_spec optional setting, this time with no default value 2015-05-13 17:38:05 +02:00
Jérémie Courrèges-Anglas 94335e6d23 L'implem' de 'cipher_spec' comme param optionel ne marche pas en l'etat 2015-05-13 16:22:22 +02:00
Jérémie Courrèges-Anglas 41d09962eb blowfish is slow and isn't supported on Jessie: let ssh decide
cf. https://support.tranquil.it/issue648
2015-05-13 16:06:45 +02:00
Jérémie Courrèges-Anglas 53b0d44ead Make the cipher spec optional 2015-05-13 15:48:37 +02:00
Jérémie Courrèges-Anglas 2fc54046c2 Just use the json module from the python distribution
One less requirement for packaging.
2014-11-20 16:10:55 +01:00
Jérémie Courrèges-Anglas cde133eadd str2bool is not only useful in backup_xva, make it avail. elsewhere. 2014-11-20 15:59:29 +01:00
Jérémie Courrèges-Anglas bea13b4424 Log errors when fetching .xva images 2014-11-20 15:48:56 +01:00
Jérémie Courrèges-Anglas 3ede128155 Simplify url construct. 2014-11-20 15:48:29 +01:00
Jérémie Courrèges-Anglas 059c94797a Tiny optimization for copy_vm_xcp / backup_xva schemes
Both methods create a snap and make a copy of it, and both methods
ought to be used in the same backup process.  To avoid overwhelming
the storage, it is now possible to avoid deleting a snap in
copy_vm_xcp (delete_snapshot=no) so that it gets reused in
backup_xva (reuse_snapshot=yes).

Requested by Yvan.
2014-11-20 15:48:00 +01:00
Jérémie Courrèges-Anglas 4d054189c7 Better error message 2014-11-20 15:32:02 +01:00
Jérémie Courrèges-Anglas d43b948482 A basic .gitignore. 2014-11-19 17:23:32 +01:00