• 5 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle










  • vonProteusOPtoZFS@sh.itjust.workszfs destroy parent of clone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    thx for sugestion

    looks very promising src

    # zfs create pool/project/production
      populate /pool/project/production with data
    # zfs snapshot pool/project/production@today
    # zfs clone pool/project/production@today pool/project/beta
      make changes to /pool/project/beta and test them
    # zfs promote pool/project/beta
    # zfs rename pool/project/production pool/project/legacy
    # zfs rename pool/project/beta pool/project/production
      once the legacy version is no longer needed, it can be destroyed
    # zfs destroy pool/project/legacy
    

    not tested yet