|
From: Jamie C. <jca...@we...> - 2006-09-02 15:29:53
|
On 2/Sep/2006 04:55 Kaiser, Hans wrote ..
<blockquote type=3D"cite">
<blockquote type=3D"CITE">
<blockquote type=3D"CITE">
<font color=3D"#000000">I found the next bug/feature request.</font><br />
<br />
<font color=3D"#000000">dump backups ony the inodes of one filesystem. But for backups it would be more sensible to backup all ext2/ext3 filesystems of the given path.</font><br />
<font color=3D"#000000">For example:</font><br />
<font color=3D"#000000">- you create a task to backup /</font><br />
<font color=3D"#000000">- under /mnt/ you have 2 additional filesystems mounted</font><br />
<font color=3D"#000000">=3D> webmin/dump will only backup the filesystem under with the / is mounted, the other two under /mnt get ommited and without any warning...</font><br />
<br />
<font color=3D"#000000">Would it be easily possible to extend the webmin backup to backup also the mounted filesystems under the given path?</font><br />
<br />
<font color=3D"#000000">regards</font><br />
</blockquote>
<font color=3D"#000000">Hi Hans,</font><br />
<font color=3D"#000000">That would be tricky, as a single dump command can only backup one filesystem. There is no way that I can think of to have several dumps written to the same destination file, apart from appending them one after another .. which would make restores impossible.</font><br />
<br />
<font color=3D"#000000">Personally, I would recommand tar format backups if you want to span multiple filesystems.</font><br />
</blockquote>
Hello Jamie,<br />
<br />
I tried the tar format, but here is the problem, that there is no option to exclude directories or files.<br />
In fsdump/dump it is possible to use chattr +d <dir> to exclude the dirs and files from backups. Herein I usually add huge files like images of clients, which must not go into the backups. It is only for the case, that the clients hdd dies. And this is not so important, as the option, that all files fit onto one media.<br />
<br />
Therefore my question: Is there an possibility/option in tar format to exclude dirs or files from the backup?<br />
<br />
regards<br />
<br />
<br />
</blockquote>You could do this in Webmin, using the 'Extra command-line parameters' field on the backup form.<br />Just create a file called /etc/files-to-exclude containing the full paths to files and directories you want to skip.<br />Then in that field, enter=A0=A0 -X /etc/files-to-exclude=A0 , and save the backup.<br /><br />=A0- Jamie<br />
|