Bacula-users

Re: [Bacula-users] bacula wont backup new partition /nfs01

2015-10-27 16:08:33
Subject: Re: [Bacula-users] bacula wont backup new partition /nfs01
From: Thing <thing.thing AT gmail DOT com>
Date: Wed, 28 Oct 2015 09:06:44 +1300
Hi,

I had no error it simply ignored it.  I later restarted the bacula-fd and now its backing up /nfs01 though I am about to run out of space on /bacula/backup!  ouch.  I didnt expect a 107gb backup when using compression to fill a 250gb disk by 207gb+ (it has not finished yet) but it is only a test disk.

I obviously will need to swap in a 2TB+ disk for "real" backups.








On 28 October 2015 at 05:55, Ana Emília M. Arruda <emiliaarruda AT gmail DOT com> wrote:
Hello Thing,

Could you post the error messages that you get when run the job?

Maybe the "_onefs_ = no" directive should be configured in your fileset. The default is yes, so bacula will not descend into different file systems and It seems your "/" and "nfs01" are different filesystems.

Also, this should be corrected: "File = /nonexistant/path/to/file/archive/dir". I´m quite sure you will not have this directory in your filesystem.

Best regards,
Ana

On Mon, Oct 26, 2015 at 6:35 PM, Thing <thing.thing AT gmail DOT com> wrote:
I just added a new disk and mounted it as /nfs01 and put 107gb of data on it.

========
root@warlocke:/etc/bacula# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        59G   17G   40G  30% /
devtmpfs        428M     0  428M   0% /dev
tmpfs            87M  412K   86M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           173M     0  173M   0% /run/shm
/dev/mmcblk0p1   56M   20M   37M  36% /boot
/dev/sda1       230G  107G  112G  49% /nfs01
/dev/sdc1       230G   25G  193G  12% /bacula/backup
========

I added this "File" to the dir conf as below and restarted bacula-dir run a backup but bacula is not backing it up as /bacula/backup is still only showing 25gb used and the backup is 40mb,

========
# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
      compression = GZIP
    }
#
#  Put your list of files here, preceded by 'File =', one per line
#    or include an external list with:
#
#    File = <file-name
#
#  Note: / backs up everything on the root partition.
#    if you have other partitions such as /usr or /home
#    you will probably want to add them too.
#
#  By default this is defined to point to the Bacula binary
#    directory to give a reasonable FileSet to backup to
#    disk storage during initial testing.
#
    #File = /usr/sbin
    File = /
    File = /nfs01
  }

#
# If you backup the root directory, the following two excluded
#   files can be useful
#
  Exclude {
    File = /var/lib/bacula
    File = /var/log
    File = /bacula
    File = /nonexistant/path/to/file/archive/dir
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}
========

What have I missed please?

------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>