backup fsarchiver doesn;t backup whole disk

  • Hi,

    This is my ssd disk:

    Zitat

    /dev/sda1 2048 1050623 1048576 512M EFI System

    /dev/sda2 1050624 174067711 173017088 82.5G Linux filesystem

    /dev/sda3 498116608 500117503 2000896 977M Linux swap

    /dev/sda4 174067712 305137663 131069952 62.5G Linux filesystem

    /dev/sda5 305137664 498116607 192978944 92G Linux filesystem

    I set up backup in omv using fsarchiver.

    When the backup completes, I have no errors.


    But when I check fsarchiver the fsa file shows this:

    Where are the other partitions? sda1,,3,4,5

    • Offizieller Beitrag

    fsarchiver backups only the content of a filesystem.

    And the backup plugin with fsarchiver backups only the OS filesystem.


    If you want to have a complete backup of your drive use "full dd" in the backup plugin.

    Or use fsarchiver for the OS filesystem and rsync (or rsnapshot or borg backup) for the data filesystem.

    I guess you don't need a backup or swap ;)

  • so the description in OMV is misleading

    "fsarchiver - use fsarchiver to clone all partitions to an archive file"


    All partitions....


    many articles recommend fsarchiver over dd, why?

    • Offizieller Beitrag

    According to the code only the root fs and a /boot partition (if it exists) are subject to backup:

    openmediavault-backup/usr/sbin/omv-backup at master · OpenMediaVault-Plugin-Developers/openmediavault-backup
    Plugin to backup OpenMediaVault for emergency recovery - OpenMediaVault-Plugin-Developers/openmediavault-backup
    github.com


    If you check the log, you also see this. Here is an example of an sd card with two partitions. One is the root fs another one is a data partition:



    many articles recommend fsarchiver over dd, why?

    Don't the mention.


    Advantage of fsarchiver is, that it is usually faster and the compressed data use less space, as fsarchiver only backups where actual content is, while dd will backup all space on bit level, used and unused. If the unused space is all "0" it does not matter if compressed, but if there are "0" and "1" the size increases.

    • Offizieller Beitrag

    so the description in OMV is misleading


    "fsarchiver - use fsarchiver to clone all partitions to an archive file"

    ryecoaaron might make sense to change the description to


    "fsarchiver - use fsarchiver to clone root partition to an archive file"

    • Offizieller Beitrag

    might make sense to change the description to

    Changed to match dd - https://github.com/OpenMediaVa…5e7ffe71c4d0e865fc505d1ad


    Since this description has been on there for 3+ years, I will release a new package when I have time (only have short amounts between puppy naps).

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!