Without snapshots there is some risk to get inconsistent set of files when you make a backup of live file system. In general this is a problem but I'm not sure about your case. Actually there is another solution to this problem shutdown the system and take the backup using bootable CD/DVD (or booting from another OS installation).<br>
<br>You should unmount a file system before backing up with dd. You can also take a look at Clonezilla which is an open-source image-backup software.<br><br><div class="gmail_quote">2009/6/21 Rafał Radecki <span dir="ltr"><<a href="mailto:radecki.rafal@gmail.com">radecki.rafal@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think about using dd instead of dump? Is this an acceptable idea?<br><br><div class="gmail_quote">
2009/6/21 Robert Heller <span dir="ltr"><<a href="mailto:heller@deepsoft.com" target="_blank">heller@deepsoft.com</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>At Sun, 21 Jun 2009 11:49:09 +0200 CentOS mailing list <<a href="mailto:centos@centos.org" target="_blank">centos@centos.org</a>> wrote:<br>
<br>
><br>
><br>
><br>
> Hi all. I'm currently having a following problem: I have only ssh connection<br>
> to a CentOS 5.2 system, there are two harddiscs on it. One stores the system<br>
> (/ filesystem) and the other should be used to help restore the system in<br>
> case of first disks' failure. I thought that maybe dump would be a good<br>
> utility to make it. But in only works on read-only filesystems. In one<br>
<br>
</div>Dump works just fine on a read-write file system.  There is the pretty<br>
much standard limitation (that applies to *all* backup methods) that<br>
when backing up an 'active' file system: there will always be files that<br>
will miss the backup because they were being written during the backup<br>
process.<br>
<div><br>
> article I've read that making a snapshot of the / filesystem (then it<br>
> wouldbe read-only) and backing it could help. But aren't snapshots limited<br>
> to logical volumes (LVM)?  My friend told me to use rsync to back up the<br>
> entire / filesystem to the second disk and then in case o failure the system<br>
> from the copy should boot ok.<br>
><br>
> Could anyone provide any suggestions? I don't have physical contact with the<br>
> machine so for example RAID 1 isn't a possible option/<br>
><br>
> Any help will be very kindly appreciated.<br>
<br>
</div>Make an initial dump to get the base system copied, then set up a cron<br>
job to sync the disks once a day (or more frequently) with rsync.<br>
<br>
><br>
> With regards,<br>
> R.<br>
><br>
> MIME-Version: 1.0<br>
><br>
> _______________________________________________<br>
> CentOS mailing list<br>
> <a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>
><br>
<br>
--<br>
Robert Heller             -- 978-544-6933<br>
Deepwoods Software        -- Download the Model Railroad System<br>
<a href="http://www.deepsoft.com/" target="_blank">http://www.deepsoft.com/</a>  -- Binaries for Linux and MS-Windows<br>
<a href="mailto:heller@deepsoft.com" target="_blank">heller@deepsoft.com</a>       -- <a href="http://www.deepsoft.com/ModelRailroadSystem/" target="_blank">http://www.deepsoft.com/ModelRailroadSystem/</a><br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div></div></div><br>
<br>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br>