|
From: Jamie C. <jca...@we...> - 2006-06-15 21:59:50
|
On 15/Jun/2006 16:53 Kaiser, Hans wrote ..
<blockquote type=3D"cite">
<blockquote type=3D"CITE">
<blockquote type=3D"CITE">
<font color=3D"#000000">For run after, it reports success even if a add an wrong command</font><br />
<br />
</blockquote>
<font color=3D"#000000">Are you sure? I just tested this with a command like :</font><br />
<font color=3D"#000000">/bin/false</font><br />
<font color=3D"#000000">which will of course report a failing exit status, and the backup was correctly recorded as failed.</font><br />
</blockquote>
<br />
cmd to run after:<br />
- /bin/false<br />
or<br />
- asdf<br />
<br />
and here my output:
<pre><b>Performing backup of </b><b><tt>/etc</tt></b><b> to </b><b><tt>/tmp/dummy.dump</tt></b><b> ..</b>
</pre>
<br />
<pre> DUMP: Date of this level 0 dump: Thu Jun 15 23:46:57 2006<br /> DUMP: Dumping /dev/hda2 (/ (dir etc)) to /tmp/dummy.dump001<br /> DUMP: Label: /<br /> DUMP: Writing 10 Kilobyte records<br /> DUMP: mapping (Pass I) [regular files]<br /> DUMP: mapping (Pass II) [directories]<br /> DUMP: estimated 47280 blocks.<br /> DUMP: Dumping volume 1 on /tmp/dummy.dump001<br /> DUMP: Volume 1 started with block 1 at: Thu Jun 15 23:47:02 2006<br /> DUMP: dumping (Pass III) [directories]<br /> DUMP: dumping (Pass IV) [regular files]<br /> DUMP: Closing /tmp/dummy.dump001<br /> DUMP: Volume 1 completed at: Thu Jun 15 23:47:15 2006<br /> DUMP: Volume 1 46860 blocks (45.76MB)<br /> DUMP: Volume 1 took 0:00:13<br /> DUMP: Volume 1 transfer rate: 3604 kB/s<br /> DUMP: 46860 blocks (45.76MB) on 1 volume(s)<br /> DUMP: finished in 13 seconds, throughput 3604 kBytes/sec<br /> DUMP: Date of this level 0 dump: Thu Jun 15 23:46:57 2006<br /> DUMP: Date this dump completed: Th
u Jun 15 23:47:15 2006<br /> DUMP: Average transfer rate: 3604 kB/s<br /> DUMP: DUMP IS DONE<br /></pre>
<b>.. backup complete.</b><br />
<br />
<br />
<b><font color=3D"#000000">Version 1.279 on localhost.localdomain (Ubuntu Linux 5.10)</font></b><br />
<br />
<br />
By the way<br />
This is also not nice: <br />
=A0 localhost.localdomain<br />
And the system is Ubuntu dapper and therefore: <br />
=A0 Ubuntu Linux 6.06
</blockquote>OK, I see the bug now .. it is not checking the post-backup command output when you run in from the web interface. I'll fix this in the 1.280 release.<br /><br />=A0- Jamie<br /><br />
|