Re: sub for dump/restore?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Thu, 08 May 2025 22:28:43 -0700 ToddAndMargo via users wrote:
> With borg, I backed up three file and restored
> them (somewhere else).
...
> So the checksum was equivalent, but I lost my sparseness.
...
> As a test, now that dump/restore is working again, I backed up
> a sparse file and restored:
...
> dump/restore gives back exactly what it backed up.  Exactly.
...
> Borg is incapable of the same result. ...

I don't think so. I made a successful test with a 100M sparseFile like
yours, but you have to give the --sparse option to borg.

In short (under /tmp):

    borg init --encryption none /tmp/borg/repo

    borg create --sparse /tmp/borg/repo::sparseFile sparseFile

    cd ../dst
    borg extract --sparse /tmp/borg/repo::sparseFile sparseFile

    du -m ../dst/sparseFile
    0       ../dst/sparseFile

-- 
francis
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux