Giter VIP home page Giter VIP logo

Comments (2)

dmoerner avatar dmoerner commented on June 18, 2024 1
* Option to backup hot volumes (Qubes *-private-snap)

What exactly is missing for this option? I just did some crude testing and I seemed to be able to backup hot volumes without problems. I imagine there are a lot of stability issues lurking here, but is there something more fundamental, especially if the VM has run sync before the backup?

from wyng-backup.

tasket avatar tasket commented on June 18, 2024

@dmoerner It certainly works for volumes like dom0 root (i.e. non-guest volumes). Note that when qubes-backup makes a backup of a live VM volume, it uses the old at-rest version of the volume not the live one.

Although this applies to Linux VM guests in general, there is very little written on the subject of suspending guest filesystems for snapshots / image backups. And it appears this is not handled automatically for domUs/guests, so simply having Wyng back up the live vols will probably produce backups that will need fsck if/when they are restored. But I noticed that fsfreeze was made part of the util-linux command set in recent years. The manpage claims that is can stabilize a filesystem although I haven't tested it.

Volume naming:
If you point Wyng at the -snap volumes (the live volumes) instead, they won't exist if you backup while the VM happens to NOT be running. Wyng needs a way of knowing either a) naming convention for finding the two possible volume names, or b) a way to simply store the two volume names. A user workaround to handle it right now could be a cron job that snapshots whichever snap/non-snap volume was available to a vol name with a user-chosen suffix. Then configure Wyng to backup volumes with the new suffix.

from wyng-backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.