On 11/16/2016 06:02 PM, Marek Marczykowski-Górecki wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wed, Nov 16, 2016 at 01:35:53PM -0800, pixel fairy wrote:
On Wednesday, November 16, 2016 at 2:12:37 PM UTC-5, Loren Rogers wrote:
What's a good approach for regular backups?
Does Qubes have a simple way of automatically saving VM snapshots? And,
is there a way to do this incrementally? I assume not, since the
encryption would block it?
you can encrypt the volume and put snapshots on that. maybe the future of
qubes-backup?
till then i use a script from dom0,
qvm-run backupkeeper "rm -rf QubesIncoming/*"
for i in `cat backuplist`;do qvm-run $i "qvm-copy-to-vm backupkeeper .";done
then rdiff-backup QubesIncoming /run/media/user/.../backups/rdiff
this way, the same drive can also keep appvm snapshots.
backupkeeper is just an appvm with no network access and a lot of space. the
usb disks are setup with cryptsetup, ext4 and a backups folder owned by user.
the first line is to get rid of old backups. qvm-copy-to-vm wont let you
overwrite.
its no TimeMachine, and deleting and copying entire folders is inefficient. but
does the job and easy to recover on any linux system.
would be nice to be able to initiate the file copy from dom0 and auto allow it.
then it could run in the background.
Actually you can "auto allow it". Simply click "Yes to all" during one
backup run - it will add appropriate rule to policy to allow the same
operation (same source and target VM) in the future without asking.
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJYLOWUAAoJENuP0xzK19cs3UAH/3CcPVZy9fTSCCI8r/8yR4i5
bx4Y6HDuNQeF3gYp18rsCKAc9U+iBZXMata+lHzN0htIRV3Uncv0orEdhlM7SBT/
0d1mB5DN93hZid+H1MtHD6UmwL3mFhkcFo14kYcEYkQO72whBwMzSXIVd5g5iLmg
m04+RGXt8fhEe1DoL0RcZj/Kcu3R4UxhJR0ODRl96K8n6bUEgfq8Y0SybmUqT9lz
lx2SL1TTUVmNC8ZiMCMni8ckm84vxrPe3u3gCW6KzzO4IlEZG9ON4MCvXnSin/BK
hL/IB2Jy/RkjU1MRa8uqKMCnxzTg3ueMKfqPCoJzTgGSTzZ/ZRzhNRJZOTiHuCw=
=MNuy
-----END PGP SIGNATURE-----
Very interesting - I'll look into these as options. Out of curiosity,
would it be possible to post your script to Gist? (To be sure I don't
miss something.) I'd like to explore this in more detail, and it would
be really helpful to see a working example.
In the past, I've had great success with this rsync backup script:
https://github.com/eaut/rsync-time-backup
What would be the costs/benefits of using VM snapshots instead of rsync?
Would it even be possible to run an rsync script like the one above in
dom0 that reached into the VMs? (I'm still learning the ins and outs of
Qubes.)
Loren
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/aaae9069-c55a-1b8b-6564-acdfcbdd8a86%40lorentrogers.com.
For more options, visit https://groups.google.com/d/optout.