Re: [Bacula-users] Defining a FileSet
I think that you can fix the first problem with this: http://gnuwin32.sourceforge.net/packages/regex.htm I forget to mention that my Director is running on Debian Sarge machine. So, I installed libregex0 package (http://packages.debian.org/stable/oldlibs/libregex0) but still get the error. Andrus --- 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=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Defining a FileSet
Hello I have problem with defining a FileSet. Let's say I want to backup just one directory for every user in the machine. It's c:/Documents and Settings/*/My Documents where * indicates the user name. As I understand I have to use Options where Exclude expression is set to yes and exclude all other directories except My Documents. I thought that RegexDir = ^c:/Documents and Settings/*/[^(My Documents)] will do, but using Regex expression gave me an error message that Regex is not available in the system. Any tips, how to solve missing regex problem or maybe I even don't need it and there are another way to solve my FileSet problem? Version of my bacula director - Version: 1.36.2 (28 February 2005) Include{ Options{ RegexDir = ^c:/Documents and Settings/*/[^(My Documents)] Exclude = yes } File = c:/Documents and Settings/ } 23-Mar 09:26 varund-dir: Start Backup JobId 1811, Job=andrusJ.2006-03-23_09.26.42 23-Mar 09:26 andrus-fd: andrusJ.2006-03-23_09.26.42 Fatal error: REGEX ^.?*$ compile error. ERR=REGEX not available on this system. 23-Mar 09:26 varund-dir: andrusJ.2006-03-23_09.26.42 Fatal error: Socket error from Filed on Include command: ERR=No data available 23-Mar 09:26 varund-dir: andrusJ.2006-03-23_09.26.42 Error: Bacula 1.36.2 (28Feb05): 23-Mar-2006 09:26:45 Andrus --- 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=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with volume permissions
Hello I'm looking for help. I'm totally newbie in this thing and I have no idea where to start to solve this problem, so I just tell you what I know. Hopefully someone will show me right direction. I got Permission denied error when bacula tried to write into the volume. VolStatus of this volume (name is varund0070) is Recycle and it's size is 1 byte. I have one pool with 100 volumes (varund0001 .. varund0100) each 4GB and they are on HD with free space 48GB. I'm probably missing some important information which helps to solve this, ask then. And log is here: 09-Mar 02:05 varund-dir: Start Backup JobId 1708, Job=varund.2006-03-09_02.05.00 09-Mar 02:05 varund-sd: varund.2006-03-09_02.05.00 Fatal error: device.c:317 Unable to open device /mnt/varund. ERR=dev.c:340 Could not open: /mnt/varund/varund0070, ERR=Permission denied 09-Mar 02:05 varund-fd: varund.2006-03-09_02.05.00 Fatal error: job.c:1665 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data 09-Mar 02:05 varund-dir: varund.2006-03-09_02.05.00 Error: Bacula 1.36.2 (28Feb05): 09-Mar-2006 02:05:17 JobId: 1708 Job:varund.2006-03-09_02.05.00 Backup Level: Incremental, since=2006-02-25 02:05:01 Client: varund-fd FileSet:Full Set 2005-09-29 01:05:01 Pool: Recycle Storage:FileStorage Start time: 09-Mar-2006 02:05:01 End time: 09-Mar-2006 02:05:17 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Volume Session Id: 1 Volume Session Time:1141815304 Last Volume Bytes: 1 Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** Andrus Naulainen --- 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=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with volume permissions
I got Permission denied error when bacula tried to write into the volume. VolStatus of this volume (name is varund0070) is Recycle and it's size is 1 byte. I have one pool with 100 volumes (varund0001 .. varund0100) each 4GB and they are on HD with free space 48GB. I'm probably missing some important information which helps to solve this, ask then. And log is here: The first thing is to determine exactly what permissions are wrong: 1) Look at the mode and ownership of the volume using ls -l /mnt/varund/varund0070 Login as a root gives varund:~# ls -l /mnt/varund/varund0070 ls: /mnt/varund/varund0070: Permission denied varund:~# ls -l /mnt/varund ls: /mnt/varund/varund0070: Permission denied total 433409986 -rw-r- 1 bacula tape 4649952949 Feb 25 02:13 varund0001 -rw-r- 1 bacula tape 4649960250 Jan 30 09:07 varund0002 -rw-r- 1 bacula tape 4649960464 Jan 30 09:25 varund0003 -rw-r- 1 bacula tape 4649962658 Jan 31 02:17 varund0004 -rw-r- 1 bacula tape 4649956748 Jan 27 02:49 varund0068 -rwxrwxrwx 1 bacula tape 1341030322 Feb 25 02:31 varund0069 -rwxrwxrwx 1 bacula tape 4649960511 Feb 20 11:18 varund0071 -rwxrwxrwx 1 bacula tape 4649958092 Feb 20 12:04 varund0072 2) Find the user/group bacula-sd (varund-sd) runs as, e.g. from the command line args used to start it. varund:~# ps aux | more bacula 24880 0.0 1.4 27928 1868 ?Ssl Mar08 0:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape 3) Is /mnt/varund mounted for writing? varund:~# mount -l ... /dev/mapper/vg-lv on /mnt/varund type reiserfs (rw) ... 4) Did anything change since you first wrote these volumes? I'm not sure. I have to deal with system which is set up by someone else and I have written anything yet. Bacula suppose to do backup jobs every night, but haven't done anything since I came to the house (that was two weeks ago). But in first days I didn't touch anything. Andrus --- 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=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users