Hi there!
I'm currently testdriving Bacula 1.38.7. Three machines are backupping
eachother:
il1 (Windows) -> il2
il2 (Linux) -> il3
il3 (Linux) -> il2
This setup works. Today, I've tried to restore the il3 machine to
/tmp/restoretest. The restoration seems to have worked, but I got 2 errors:
- 15-Apr 14:22 il2-dir: message.c:454 Mail prog: bsmtp: bsmtp.c:85 Fatal
malformed reply from localhost: 552 Error: message too large
(Whatever, this isn't really important, to do later)
- CMD=/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s "Bacula:
Restore Error of il3-fd Full" [EMAIL PROTECTED]
The last message was created because of /sys, which seems to be
backupped. Because of the size being different, Bacula gives an error.
However: /sys should not have been backupped!
my backup:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
cwd is: /
$ dir
drwxr-xr-x 23 root root 4096 2006-02-23 22:37:05 /
drwxr-xr-x 2 root root 4096 2006-03-08 14:43:49 /bin/
drwxr-xr-x 3 root root 4096 2006-01-16 22:37:40 /boot/
lrwxrwxrwx 1 root root 11 2005-12-07 18:50:55 /cdrom
drwxr-xr-x 11 root root 24576 2006-01-18 12:16:02 /dev/
drwxr-xr-x 78 root root 4096 2006-04-07 13:20:05 /etc/
drwxrwsr-x 17 root staff 4096 2006-04-07 13:19:50 /home/
drwxr-xr-x 2 root root 4096 2005-12-07 18:51:30 /initrd/
drwxr-xr-x 9 root root 4096 2006-01-16 22:45:13 /lib/
drwxr-xr-x 2 root root 49152 2005-12-07 18:50:06
/lost+found/
drwxr-xr-x 4 root root 4096 2005-12-07 18:50:55 /media/
drwxr-xr-x 2 root root 4096 2005-12-07 18:51:25 /mnt/
drwxr-xr-x 3 root root 4096 2006-02-19 17:08:03 /opt/
drwxr-xr-x 7 root root 4096 2006-04-09 16:55:12 /root/
drwxr-xr-x 2 root root 4096 2006-03-08 14:43:49 /sbin/
drwxr-xr-x 2 root root 20480 2006-02-25 21:56:35 /spamlearn/
drwxr-xr-x 2 root root 4096 2005-12-07 18:51:30 /srv/
drwxr-xr-x 10 root root 0 2006-01-18 12:15:40 /sys/
drwxr-xr-x 13 root root 4096 2006-02-01 17:04:52 /usr/
drwxr-xr-x 16 root root 4096 2006-02-22 16:02:13 /var/
$ cd sys
cwd is: /sys/
$ dir
drwxr-xr-x 20 root root 0 2006-01-18 12:15:51 /sys/block/
drwxr-xr-x 11 root root 0 2006-01-18 12:15:57 /sys/bus/
drwxr-xr-x 17 root root 0 2006-01-18 12:15:57 /sys/class/
drwxr-xr-x 6 root root 0 2006-01-18 12:15:50
/sys/devices/
drwxr-xr-x 3 root root 0 2006-01-18 12:15:40
/sys/firmware/
drwxr-xr-x 3 root root 0 2006-04-12 23:12:27
/sys/kernel/
drwxr-xr-x 29 root root 0 2006-02-22 13:33:51
/sys/module/
drwxr-xr-x 2 root root 0 2006-04-12 23:12:27 /sys/power/
$
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My FileSet:
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = SHA1 compression=GZIP9 exclude=yes
}
#
# 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 partitons such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula build
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
# File = /var/tmp/bacula-1.38.5
File = /
File = /sys
File = /var
File = /usr
File = /home
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = /backup
File = /sys
}
}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My job:
Job {
Name = "Imagelibrary 3"
Type = Backup
# Level = Incremental
Client = il3-fd
FileSet = "Full Set"
Storage = il2-sd
Write Bootstrap = "/var/bacula/working/il3.bsr"
Schedule = "WeeklyCycle"
Pool = Full-Pool
Full Backup Pool = Full-Pool
Incremental Backup Pool = Inc-Pool
Differential Backup Pool = Diff-Pool
Messages = Standard
}
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Excluded /backup because of the setup: This contains the files for the
Storage Daemon.
My question:
What is wrong in my FileSet? I don't want /tmp, and especially not /proc
and /sys to be in my backup, but it is :)
Can someone give a vague hint in the right direction?
Thanks!
Diederik
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users