XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Need FeedBack: New version of the File level restore

    Scheduled Pinned Locked Moved Backup
    12 Posts 5 Posters 350 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      ph7 @florent
      last edited by

      @florent
      fix_flr commit b7230
      Restored files from debian 12 on local ext
      and from Linux Mint 22.3 on NFS
      both with tgz and zip
      👍

      1 Reply Last reply Reply Quote 0
      • R Offline
        ravenet @florent
        last edited by

        @florent

        Any plans for ReFS?

        florentF 1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          There's no open source driver for ReFS, so…

          1 Reply Last reply Reply Quote 0
          • florentF Offline
            florent Vates 🪐 XO Team @ravenet
            last edited by

            @ravenet not directly, it's not mountable into linux

            But if ( and this is a big if) we are able to make FLR more resilent, I have some next step that would expose the disks so you can mount it directly in your preferred OS or XCP , probably through webdav

            1 Reply Last reply Reply Quote 0
            • florentF Offline
              florent Vates 🪐 XO Team @Andrew
              last edited by florent

              @Andrew thank

              I pushed some fixes , can you retry the VM . With this config in the toml ? if it fails if will gives us more logs in journalctl

              [logs]
              # Display all logs matching this filter, regardless of their level
              filter = 'xo:backups:RemoteAdapter'
              
              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Andrew Top contributor @florent
                last edited by

                @florent Ubuntu LVM file restore is working! (commit 38931)

                Now for another important issue I noticed with file restore (not directly LVM).

                Symbolic links don't show up. They should be restorable alone, but more importantly you need to be able to see and follow them for directories.

                For example. In Ubuntu, /bin is a link to /usr/bin. It is important to be able to click on /bin as a link to /usr/bin so files can be found in the backup. Another example is /vmlinuz that is a link to boot/vmlinuz-5.10.0-44-amd64. At worst the file restore should show a link (and it's destination), even if I can't restore the link. This is not just a LVM issue.

                florentF 1 Reply Last reply Reply Quote 2
                • florentF Offline
                  florent Vates 🪐 XO Team @Andrew
                  last edited by

                  @Andrew good news : the lvm id/name collision is the root cause of a lot of issues of the the file restore.

                  I think restoring the symbolic links will be hard to secure ( a symbolic link can point anywhere in the os and the disk are mounted in the xoa as root) and quite tricky to ensure we are not bombing ourself

                  I think we can add them to the zip/tar as (brokenà symbolic link, but we need to look into the impact on the client side file browser

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Andrew Top contributor @florent
                    last edited by

                    @florent As a note, I'm using Debian as the base OS for XO. Other OS, like Ubuntu may have other name conflicts...

                    As for links, the dropdown box should show the link and it's destination). As a link, I don't think you need to "follow" it when selected (like a directory would), it's just a file. I did not check other non-standard files (like devices).

                    If I select a directory to restore then it would be good if the links are included. Both tar and zip do support links, so they should be restorable.

                    florentF 1 Reply Last reply Reply Quote 0
                    • florentF Offline
                      florent Vates 🪐 XO Team @Andrew
                      last edited by

                      @Andrew working on it with @julienxovates

                      at least including them by default , without following them, in the archive seems doable . The change on the XO5 UI may be trickier, and we are not far to rewrite it for XO6

                      florentF 1 Reply Last reply Reply Quote 0
                      • florentF Offline
                        florent Vates 🪐 XO Team @florent
                        last edited by

                        the new code is now in master

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post