On Tue, Jan 12, 2010 at 10:39 AM, Javier Barroso <javibarr...@gmail.com>wrote:
> On Tue, Jan 12, 2010 at 11:23 AM, hadi motamedi <motamed...@gmail.com> > wrote: > > Dear All > > Can you please confirm if the following scenario works for making my > client > > and server as identical ? > > My local(source) Debian server @192.168.0.2 > > My remote Debian client @192.168.0.70 > > On the local system : > > #df -m > > Filesystem Mounted on > > /dev/hda3 / > > /dev/hda1 /boot > > tmpfs /dev/shm > > On the local system , issue the followings to make client and server as > > identical : > > #dump -0uvf - /dev/hda3 | ssh r...@192.168.0.70 -c "restore -rf - /" > > #dump -0uvf - /dev/hda1 | ssh r...@192.168.0.70 -c "restore -rf - /boot" > > #dump -0uvf - /dev/shm | ssh r...@192.168.0.70 -c "restore -rf - /tmpfs" > > Can you please confirm if my understanding is right or not? > > If you want a block device copy, I would boot with a live cd (or from > network), and then start a ssh server and dump partitions with cat: > > cat /dev/hda | ssh r...@client "cat > /dev/hda" > > In an running system I doubt you can use dump in such case, but maybe > I am wrong, of course. > > Regards, > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > > Thank you for your reply . Can you please let me know doing the same way as your procedure will make the server & client the same ? Please be informed that I don't have some of the application packages that are being installed on my server . To this end , I want to make my server and client the same but without the need to have that application packages at hand .