[Bacula-users] Some problem with database and volumes
2010-02-05 03:04:51
> Has it ever created any files? Looks like store0001 should exist, as that is
> Full?
It has created 10 directories store0001 -> store0010 when I created volumes
using command add in bconsole.
Output of ls -laR /mnt:
/mnt:
total 12
drwxrwxrwx 3 root root 4096 2009-04-13 11:33 .
drwxr-xr-x 21 root root 4096 2010-02-05 08:30 ..
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 mnt1
/mnt/mnt1:
total 240
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 .
drwxrwxrwx 3 root root 4096 2009-04-13 11:33 ..
-rw-r----- 1 bacula tape 131077 2010-02-05 08:43 backup
-rw-r----- 1 bacula tape 194 2010-02-05 08:42 backup1
-rw-r----- 1 bacula tape 195 2010-02-05 08:42 backup10
-rw-r----- 1 bacula tape 194 2010-02-05 08:40 backup3
-rw-r----- 1 bacula tape 194 2010-02-05 08:41 backup4
-rw-r----- 1 bacula tape 194 2010-02-05 08:41 backup5
-rw-r----- 1 bacula tape 194 2010-02-05 08:41 backup6
-rw-r----- 1 bacula tape 194 2010-02-05 08:41 backup7
-rw-r----- 1 bacula tape 194 2010-02-05 08:41 backup8
-rw-r----- 1 bacula tape 194 2010-02-05 08:42 backup9
drwxrwxrwx 2 root root 16384 2010-02-03 19:55 lost+found
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0001
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0002
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0003
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0004
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0005
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0006
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0007
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0008
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0009
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 store0010
/mnt/mnt1/lost+found:
total 20
drwxrwxrwx 2 root root 16384 2010-02-03 19:55 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0001:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0002:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0003:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0004:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0005:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0006:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0007:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0008:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0009:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
/mnt/mnt1/store0010:
total 8
drwxrwxrwx 2 root root 4096 2010-02-04 09:00 .
drwxrwxrwx 14 root root 4096 2010-02-05 08:42 ..
Output of ps -ef|grep bacula:
bacula 2329 1 0 08:30 ? 00:00:00 /usr/sbin/bacula-sd -c
/etc/bacula/bacula-sd.conf -u bacula -g tape
root 2368 1 0 08:30 ? 00:00:00 /usr/sbin/bacula-fd -c
/etc/bacula/bacula-fd.conf
bacula 2386 1 0 08:30 ? 00:00:00 /usr/sbin/bacula-dir -c
/etc/bacula/bacula-dir.conf -u bacula -g bacula
root 2831 2513 0 08:50 pts/0 00:00:00 grep bacula
I just managed to successfully label created volumes (that's why there are
those bacula files in /mnt/mnt1). And so I found out that bacula stores
backuped files in some kind of archives, doesn't it?
Oooh, and finally I think it's running OK :) Please just confirm it. A ran job,
and the output was:
05-Feb 08:43 ubuntu-dir JobId 18: Start Backup JobId 18,
Job=Client1.2010-02-05_08.43.00.05
05-Feb 08:43 ubuntu-dir JobId 18: Using Device "FileStorage"
05-Feb 08:43 ubuntu-sd JobId 18: Volume "backup" previously written, moving to
end of data.
05-Feb 08:43 ubuntu-sd JobId 18: Ready to append to end of Volume "backup"
size=65635
05-Feb 08:43 ubuntu-sd JobId 18: Job write elapsed time = 00:00:01, Transfer
rate = 64.34 K bytes/second
05-Feb 08:43 ubuntu-dir JobId 18: Bacula ubuntu-dir 2.4.4 (28Dec08):
05-Feb-2010 08:43:02
Build OS: i486-pc-linux-gnu debian 5.0
JobId: 18
Job: Client1.2010-02-05_08.43.00.05
Backup Level: Full
Client: "ubuntu-fd" 2.4.4 (28Dec08)
i486-pc-linux-gnu,debian,5.0
FileSet: "Full Set" 2010-02-03 21:30:47
Pool: "Default" (From Job resource)
Storage: "File" (From Job resource)
Scheduled time: 05-Feb-2010 08:42:58
Start time: 05-Feb-2010 08:43:02
End time: 05-Feb-2010 08:43:02
Elapsed time: 0 secs
Priority: 10
FD Files Written: 22
SD Files Written: 22
FD Bytes Written: 61,877 (61.87 KB)
SD Bytes Written: 64,340 (64.34 KB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Storage Encryption: no
Volume name(s): backup
Volume Session Id: 2
Volume Session Time: 1265355005
Last Volume Bytes: 131,077 (131.0 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
05-Feb 08:43 ubuntu-dir JobId 18: Begin pruning Jobs.
05-Feb 08:43 ubuntu-dir JobId 18: No Jobs found to prune.
05-Feb 08:43 ubuntu-dir JobId 18: Begin pruning Files.
05-Feb 08:43 ubuntu-dir JobId 18: No Files found to prune.
05-Feb 08:43 ubuntu-dir JobId 18: End auto prune.
If this means, that bacula is running properly, thanks everybody who helped mi
with my problem :) It looks like it's working first time after two months of
trying to make it work.
+----------------------------------------------------------------------
|This was sent by m.juranyi AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|