Backup much bigger than root filesystem

  • I recently moved my docker containers from my root drive to another drive. My backups are no smaller. I'm using fsarchiver in omv system/backup. My root drive is only using about 8GB according to multiple utilities, including du, but fsarchiver is creating a backup that's 60GB.

    It has to be backing up stuff that's not on that drive, or perhaps deleted files? What can I do to make my backup size reflect the actual disk usage?

    • Official Post

    Post the output of a backup run.

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • Thanks for the reply. Here's the log from yesterday's backup:

    [2024-03-23 01:00:01-0400] [backup] Starting backup...

    [2024-03-23 01:00:01-0400] [backup] Create /srv/dev-disk-by-uuid-4752abb9-f21f-408c-a38b-efdb2bf69182/bak/omvbackup

    [2024-03-23 01:00:01-0400] [backup] Method: fsarchiver

    [2024-03-23 01:00:01-0400] [backup] Device file: /dev/sdc1

    [2024-03-23 01:00:01-0400] [backup] Root drive: /dev/sdc

    [2024-03-23 01:00:01-0400] [backup] Save fdisk output for /dev/sdc

    [2024-03-23 01:00:01-0400] [backup] Successfully saved fdisk output for /dev/sdc

    [2024-03-23 01:00:01-0400] [backup] Save blkid output

    [2024-03-23 01:00:01-0400] [backup] Successfully saved blkid output

    [2024-03-23 01:00:01-0400] [backup] Save package list

    [2024-03-23 01:00:01-0400] [backup] Successfully saved package list

    [2024-03-23 01:00:01-0400] [backup] Partition type :: dos

    [2024-03-23 01:00:01-0400] [backup] Save mbr

    [2024-03-23 01:00:01-0400] [backup] Successfully saved MBR

    [2024-03-23 01:00:01-0400] [backup] Save mbr and partition table

    [2024-03-23 01:00:01-0400] [backup] Successfully saved MBR and partition table

    [2024-03-23 01:00:01-0400] [backup] Save partitions using sfdisk

    [2024-03-23 01:00:01-0400] [backup] Successfully saved partition table using sfdisk

    [2024-03-23 01:00:01-0400] [backup] Starting FSArchiver backup...

    [2024-03-23 01:20:16-0400] [backup] FSArchiver backup complete.

    [2024-03-23 01:20:16-0400] [backup] keep days :: 5

    [2024-03-23 01:20:16-0400] [backup] Purging old files...

    [2024-03-23 01:20:16-0400] [backup] Purging done.

    [2024-03-23 01:20:16-0400] [backup] Backup complete.

    • Official Post

    What is the output of:

    ls -alh /srv/dev-disk-by-uuid-4752abb9-f21f-408c-a38b-efdb2bf69182/bak/omvbackup/

    sudo fdisk -l /dev/sdc

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

  • output of the backup folder:

    and fdisk:


    Some additional info:
    I added --exclude=/srv to my fsarchiver settings, and the result is the backup you see that's only 3G. So clearly without that exclusion it's backing stuff up from another disk, because the only other folders under /srv are "pillar", "salt" and "ftp", all of which are tiny or empty.

    • Official Post

    Strange. The path isn't even passed to fsarchiver in the code - just /dev/sdc1. So, I don't understand why fsarchiver is backing up files from other disks. That said, you don't need anything in /srv/ for the OS backup. So, i would leave the exclusion. If you run sudo omv-backup from the command line, you will be able to see what files it is including from other filesystems.

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    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!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!