Very Newbie Linux Full Backup Size

65 views
Skip to first unread message

Richard Rogers

unread,
Jan 25, 2021, 3:32:29 AM1/25/21
to bareos-users
Hi,
I've just started looking into this app for backing up my Linux and FreeBSD boxes.
I've started by backing up one server, which is a pretty small one.
However, the first full backup is huge (584GB).
The server is an ESXi 6.5 VM with only a 200GB drive assigned.
Obviously there is something I've configured wrong, so any advice gratefully appreciated.
This is what's listed in Bareos:
Bareos-Linux-Client.png
This is the client's file system:
Bareos-Linux-Client-Files-System.png
This the the FileSet:

FileSet {
  Name = "LinuxAll"
  Description = "Backup all regular filesystems, determined by filesystem type."
  Include {
    Options {
      Signature = MD5 # calculate md5 checksum per file
      One FS = No     # change into other filessytems
      FS Type = btrfs
      FS Type = ext2  # filesystems of given types will be backed up
      FS Type = ext3  # others will be ignored
      FS Type = ext4
      FS Type = reiserfs
      FS Type = jfs
      FS Type = xfs
      FS Type = zfs
    }
    File = /
  }
  # Things that usually have to be excluded
  # You have to exclude /var/lib/bareos/storage
  # on your bareos server
  Exclude {
    File = /var/lib/bareos
    File = /var/lib/bareos/storage
    File = /proc
    File = /tmp
    File = /var/tmp
    File = /.journal
    File = /.fsck
  }
}


JobDef:
  GNU nano 4.8                                                                 /etc/bareos/bareos-dir.d/jobdefs/LinuxJob.conf
JobDefs {
  Name = "LinuxJob"
  Type = Backup
  Level = Incremental
  Client = bareos-fd
  FileSet = "LinuxAll"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Incremental
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = Full                  # write Full Backups into "Full" Pool         (#05)
  Differential Backup Pool = Differential  # write Diff Backups into "Differential" Pool (#08)
  Incremental Backup Pool = Incremental    # write Incr Backups into "Incremental" Pool  (#11)
}

Dir Config for Client:
Job {
  Name = "svrwebutil01"
  Client = svrwebutil01-fd
  JobDefs = "LinuxJob"
}


Client {
  Name = svrwebutil01-fd
  Address = svrwebutil01        # the name has to be resolvable through DNS
  Password = "REMOVED"         # password for FileDaemon which has to be the same like the password in the director ressource of the bareos-fd.conf on the backup c>
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                      # Prune expired Jobs/Files
}

Thanks,
Richie

Frank Cherry

unread,
Jan 26, 2021, 1:44:58 AM1/26/21
to bareos-users
What's the output of "du -sch", executed at the VM's root: "/"
Message has been deleted

Richard Rogers

unread,
Jan 26, 2021, 3:11:29 PM1/26/21
to bareos-users
Hi,
This is what I get:
SVRWEBUTIL01-su-sch.png

Thanks,
Richie

Andrew Feldmann

unread,
Jan 26, 2021, 10:05:30 PM1/26/21
to Frank Cherry, bareos-users

Is it possible that you have a symbolic link that references back up the directory tree.

I have seen problems like this from circular references before.

--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/ac84897e-2390-4e0e-9ddf-2238cb76b31an%40googlegroups.com.

Knauf Steffen

unread,
Jan 27, 2021, 2:54:20 AM1/27/21
to bareos...@googlegroups.com, ric...@rogersuk.me.uk
Hi Richie,

please execute a "df -h" on the server.

greets

Steffen

> Hi,
> This is what I get:
>
>
> Thanks,
> Richie
>
> On Tuesday, January 26, 2021 at 6:44:58 AM UTC Frank Cherry wrote:
> > What's the output of "du -sch", executed at the VM's root: "/"
> >
> > ric...@rogersuk.me.uk schrieb am Montag, 25. Januar 2021 um
> > 09:32:29 UTC+1:
> > > Hi,
> > > I've just started looking into this app for backing up my Linux
> > > and FreeBSD boxes.
> > > I've started by backing up one server, which is a pretty small
> > > one.
> > > However, the first full backup is huge (584GB).
> > > The server is an ESXi 6.5 VM with only a 200GB drive assigned.
> > > Obviously there is something I've configured wrong, so any advice
> > > gratefully appreciated.
> > > This is what's listed in Bareos:
> > >
> > > This is the client's file system:
> > >

Richard Rogers

unread,
Jan 27, 2021, 3:02:21 AM1/27/21
to bareos-users
Hi,
This is the result of df -h:
SVRWEBUTIL01-df-h.png

@Knauf Steffen: No idea about any sym links that may exist.

Thanks,
Richie

Knauf Steffen

unread,
Jan 27, 2021, 4:00:45 AM1/27/21
to bareos...@googlegroups.com, ric...@rogersuk.me.uk
Hi Richie,

i think Andrew Feldmann is right. I only want to ensure that we talk
about a ~200 GB Disk. You only used ~7,1 GB Space, so 550GB is way too
much. Your Confing looks fine.......

greets

Steffen


> Hi,
> This is the result of df -h:
>
>

Richard Rogers

unread,
Jan 29, 2021, 3:24:09 AM1/29/21
to bareos-users
Hi,
Ok, so that has confirmed the actual size, but why is my backup over 580GB?
What is the next thing to check?

Thanks,
Richie

Frank Kirschner

unread,
Jan 29, 2021, 3:55:43 AM1/29/21
to bareos...@googlegroups.com
restore the backup to a safe place - don't overwrite the original data - and see, what you have backuped.
maybe like mentioned above symlinks.

Frank
--
You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/2Yj_0shasDc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/72d4dd89-5e17-4187-a2fc-b06bb91555ecn%40googlegroups.com.


Wolfgang Denk

unread,
Jan 29, 2021, 6:45:39 AM1/29/21
to Richard Rogers, 'Richard Rogers' via bareos-users
Dear Richard,

In message <72d4dd89-5e17-4187...@googlegroups.com> you wrote:
>
> Ok, so that has confirmed the actual size, but why is my backup over 580GB?
> What is the next thing to check?

Does your file system contain any sparse files (for example,
databases) ?



Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
How many seconds are there in a year? If I tell you there are 3.155 x
10^7, you won't even try to remember it. On the other hand, who could
forget that, to within half a percent, pi seconds is a nanocentury.
-- Tom Duff, Bell Labs
Reply all
Reply to author
Forward
0 new messages