Am 05.11.2012 11:12, schrieb Marco van Wieringen:
> Looks like its busy updating the sqlite database with backup info.
> You probably have configured the system with attribute spooling which
> means that after the backup is done the director needs to update the
> database with all the file data to be able to restore your backup.
Btw: What does 'Spool Attributes = yes/no' do? I wasn't able to find much info
in the docs on that.
> First of all sqlite is just a proof of concept and should not be
> used for production use a proper database like mysql or postgresql.
I feared as much. I like sqlite for "simple databases" (and I figured Bacula's
DB would be one of those) as it is completely maintenance-free. Well, I
switched to PostgreSQL 8.4 now.
Still a full backup after a base backup does not work for me... With Postgres
it's a bit different though:
I see that the fd sends some data back but after some minutes the fd goes
somehow into "idle":
- backup is still running according to bconsole (for dir+sd+fd)
- almost no CPU/IO on dir/sd/fd anymore
strace on the client (Bacula 5.2.11 on Fedora 17) shows that it just does some
writes until it fails with EAGAIN and then waits in a select again. The client
doesn't seem to recover.
I'll try to play around with the acurate/spool settings to see if that makes
any difference.
fs
[pid 20195] select(6, NULL, [5], NULL, {10, 0} <unfinished ...>
[pid 20212] <... select resumed> ) = 0 (Timeout)
[pid 20212] select(6, [5], NULL, NULL, {5, 0}^[[B <unfinished ...>
[pid 19992] <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out)
[pid 19992] futex(0x35f8a5ea20, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 19992] futex(0x35f8a5ea64, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME,
93, {1352124663, 548817000}, ffffffff <unfinished ...>
[pid 20195] <... select resumed> ) = 1 (out [5], left {2, 191603})
[pid 20195] write(5,
"\367W\205\232/t\2619C\253\354\232^;\377\0322\262\273\25G\264\22\364\4\n\232\371Q\223;\240"...,
74) = 74
[pid 20195] fcntl(5, F_SETFL, O_RDWR) = 0
[pid 20195] fcntl(5, F_GETFL) = 0x2 (flags O_RDWR)
....
[pid 20195] fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 20195] write(5, "\27\3\1\0
\1\315\247\267\321\353\341+\274\27\340\251\302q\250\16\230\376\7\211|\320ds\353e\377"...,
154) = 80
[pid 20195] write(5,
"\367W\205\232/t\2619C\253\354\232^;\377\0322\262\273\25G\264\22\364\4\n\232\371Q\223;\240"...,
74) = -1 EAGAIN (Resource temporarily unavailable)
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users