Giter Site home page Giter Site logo

Comments (3)

etskinner avatar etskinner commented on August 29, 2024 1

Perfect, thanks for the input. I'll try to integrate that when I get some time.

from svtree.

etskinner avatar etskinner commented on August 29, 2024

I'm not sure what you mean, could you give an example?

from svtree.

HaleTom avatar HaleTom commented on August 29, 2024

I'd like to be able to visually represent relationships between parent/child snapshots, such as shown by:

$ sudo btrfs sub list -qu . | grep home-var
ID 260 gen 12308 top level 257 parent_uuid - uuid 7898449e-382e-1848-af9e-595f3c5b0769 path btrbk/home-var
ID 471 gen 374 top level 260 parent_uuid - uuid 091ae071-7c5d-dc42-a2f0-38a8ed147725 path home-var.20170816T1200
ID 803 gen 4244 top level 260 parent_uuid 8c6a337e-a161-314b-b983-79bd2ade0d99 uuid fc8f634b-1e9c-2a47-b7ac-68abdeb303f1 path home-var.20170827T1431
ID 941 gen 5030 top level 260 parent_uuid fd70bd9f-657e-3e45-9b32-a32fdfa82e3c uuid 31955d33-4921-2e40-853c-8b95a84f7b6b path home-var.20170903T0000
ID 1388 gen 9704 top level 260 parent_uuid 35003b19-24ea-6f45-aa7e-fcc0b6e29a2c uuid 8d58ea35-3482-7340-b174-81470e1fac71 path home-var.20170910T0000
ID 1483 gen 10177 top level 260 parent_uuid 121915d0-2990-6941-b92a-b75b7be32d8d uuid de536fe5-0e65-8145-9e90-210e7c19da85 path home-var.20170911T0000
ID 1532 gen 10376 top level 260 parent_uuid b94ad682-d6de-3646-a266-bf0452a71ea0 uuid 6ee008ce-cba8-8442-b673-ce099f532284 path home-var.20170912T1137
ID 1562 gen 10762 top level 260 parent_uuid 37b9d30a-3069-1e41-85c4-0f8e2b887e2e uuid 04950750-0e5f-4f42-b566-44a070d58fcc path home-var.20170913T1057
ID 1611 gen 11132 top level 260 parent_uuid a96ee54d-a127-9d47-b718-1c7c065438a4 uuid 6fa2212a-3054-3642-ba91-26165679df52 path home-var.20170914T0000
ID 1655 gen 11551 top level 260 parent_uuid 871fa6d0-b65c-9e42-b127-817ac2469294 uuid 0b104a79-5fbe-714c-a7aa-ad33a54d0e4b path home-var.20170914T2026
ID 1656 gen 11628 top level 260 parent_uuid 0b104a79-5fbe-714c-a7aa-ad33a54d0e4b uuid 857e57fb-a571-594b-8808-16b03c35e8d4 path home-var.20170914T2100
ID 1663 gen 11697 top level 260 parent_uuid 857e57fb-a571-594b-8808-16b03c35e8d4 uuid ffb6ba9c-e684-c441-a37f-679eeef2f456 path home-var.20170914T2200
ID 1666 gen 11776 top level 260 parent_uuid ffb6ba9c-e684-c441-a37f-679eeef2f456 uuid 5156529d-1a6d-804b-aa6d-bcee4e5e71fe path home-var.20170914T2300
ID 1669 gen 11804 top level 260 parent_uuid 5156529d-1a6d-804b-aa6d-bcee4e5e71fe uuid ace72515-ccda-7d4c-b201-83e2f744c53e path home-var.20170915T0000
ID 1672 gen 11872 top level 260 parent_uuid ace72515-ccda-7d4c-b201-83e2f744c53e uuid a3b6dbea-88f2-9d40-9c47-b8cd9990d3d4 path home-var.20170915T0100
ID 1676 gen 11999 top level 260 parent_uuid a3b6dbea-88f2-9d40-9c47-b8cd9990d3d4 uuid 9bba90ba-87e3-a04c-aca4-f6f7fc4192b0 path home-var.20170915T0200
ID 1679 gen 12087 top level 260 parent_uuid 9bba90ba-87e3-a04c-aca4-f6f7fc4192b0 uuid 27604274-dc31-9348-bc19-c8abef7d4a2e path home-var.20170915T0300
ID 1682 gen 12109 top level 260 parent_uuid 27604274-dc31-9348-bc19-c8abef7d4a2e uuid ad9153cd-0ce3-c14b-98af-569082d71025 path home-var.20170915T0400
ID 1685 gen 12135 top level 260 parent_uuid ad9153cd-0ce3-c14b-98af-569082d71025 uuid e955e660-4317-844b-bb37-87c23f29b4f3 path home-var.20170915T0500
ID 1689 gen 12160 top level 260 parent_uuid e955e660-4317-844b-bb37-87c23f29b4f3 uuid 17d8b837-259c-194e-b377-ab86dd598bee path home-var.20170915T0600
ID 1692 gen 12200 top level 260 parent_uuid 17d8b837-259c-194e-b377-ab86dd598bee uuid 1a9516ad-0070-d542-8488-e00da8eacb4c path home-var.20170915T0700
ID 1695 gen 12222 top level 260 parent_uuid 1a9516ad-0070-d542-8488-e00da8eacb4c uuid 975f9686-dc6e-a64f-9d9d-860a7816b45f path home-var.20170915T0800
ID 1698 gen 12253 top level 260 parent_uuid 975f9686-dc6e-a64f-9d9d-860a7816b45f uuid 1e596cb5-fb0b-b746-ac91-e3465bfa728c path home-var.20170915T0900
ID 1703 gen 12256 top level 260 parent_uuid 1e596cb5-fb0b-b746-ac91-e3465bfa728c uuid 68855474-05b9-f040-9b13-236a2aa6c24c path home-var.20170915T1627
ID 1704 gen 12299 top level 260 parent_uuid 68855474-05b9-f040-9b13-236a2aa6c24c uuid b0e7e187-8848-5247-933b-a13fe531b8d1 path home-var.20170915T1700
ID 1714 gen 12302 top level 260 parent_uuid b0e7e187-8848-5247-933b-a13fe531b8d1 uuid 5cb73bc9-17c7-8448-8f00-fdcdb6863521 path home-var.20170915T1800
ID 1715 gen 12305 top level 260 parent_uuid 5cb73bc9-17c7-8448-8f00-fdcdb6863521 uuid 004de2f8-0d34-2342-9649-cc3720ad216e path home-var.20170915T1900
ID 1716 gen 12308 top level 260 parent_uuid 004de2f8-0d34-2342-9649-cc3720ad216e uuid d303af97-79c4-b74a-85d1-954d0a4a8a41 path home-var.20170915T2000
ID 1717 gen 12308 top level 260 parent_uuid d303af97-79c4-b74a-85d1-954d0a4a8a41 uuid 91c81178-6ec2-e648-bddd-3ea7e15366cf path home-var.20170915T2100

Here, the output is a visual mess, even though each of the later timestamp-named subvolumes has the previous as a parent.

Many backup programs (eg btrbk) generate snapshots like this.

It's not obvious when:

  • A snapshot is a child of another
  • A snapshot is not a child of another

from svtree.

Related Issues (1)

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.