ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serge Kompan <skompan@kspu.kr.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Клонирование Linux-системы
Date: Thu, 21 Jul 2005 18:41:02 +0300
Message-ID: <200507211841.02962.skompan@kspu.kr.ua> (raw)
In-Reply-To: <20050721142620.GA30014@nick.comp-mir.ru>


> 3. если через сеть:
> # ssh <mashine> tar c / -l | tar x -C <dest-directory>
> если без сети, тогда можно и без ssh.
> 4. редактируем bootloader. делаем его актуальным если надо.
> 5. редактируем fstab.
> 6. ребут и жонглирование винтами на нужное место.
>
> вместо ssh может кто что-нибудь другое предложит - это не суть важно.
> -l - не шлятся по подмонтированным партициям, как /proc, /sys, etc. если
> подмонтированы скажем ещё и /var и /home, то просто приписываем к / данные
> каталоги
> # ssh <mashine> tar c / /var /home -l | tar x -C <dest-directory>
>
> это точно работает с произволными винтами.
тоесть как я понял, к примеру есть 2 машины A и B (c A хочу скопировать 
разделы в каталог /mnt/1 что на машине B
на машине B  пишу
ssh robin@A tar c /home/robin |tar -x -C /mnt/1
но после ввода пароля пользователя по ssh получаю ошибки
tar: Removing leading `/' from member names
tar: home/robin: Cannot mkdir: No such file or directory
tar: home/robin/.mutt: Cannot mkdir: No such file or directory

что здесь не так?


  parent reply	other threads:[~2005-07-21 15:41 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 10:10 Овечкин Влад
2005-07-21 10:11 ` Michael Isachenkov
2005-07-21 10:16 ` Nick S. Grechukh
2005-07-21 10:26   ` Овечкин Влад
2005-07-21 10:29     ` Nick S. Grechukh
2005-07-21 11:15       ` Алексей Синицын
2005-07-21 11:18         ` Eugene Ostapets
2005-07-21 11:47           ` Алексей Синицын
2005-07-21 11:52             ` Eugene Ostapets
2005-07-21 12:00               ` Michael Isachenkov
2005-07-21 12:35               ` Алексей Синицын
2005-07-21 10:16 ` Eugene Ostapets
2005-07-21 10:20 ` ABATAPA
2005-07-21 10:32 ` Andrew Borodin
2005-07-21 14:26 ` Afanasov Dmitry
2005-07-21 14:35   ` Nick S. Grechukh
2005-07-21 14:39     ` Michael Isachenkov
2005-07-21 14:53       ` Nick S. Grechukh
2005-07-21 14:57         ` Michael Isachenkov
2005-07-21 17:49     ` [Comm] " Алексей Синицын
2005-07-22  6:26     ` [Comm] " Afanasov Dmitry
2005-07-22  7:07       ` Re[2]: " Беляев В. Н.
2005-07-22  7:28         ` [Comm] [JT] " Afanasov Dmitry
2005-07-22  8:00         ` [Comm] " Gennadiy Redko
2005-07-21 14:51   ` Gennadiy Redko
2005-07-21 15:41   ` Serge Kompan [this message]
2005-07-21 16:21     ` Gennadiy Redko
2005-07-22  5:31       ` Serge Kompan
2005-07-22  6:43     ` Dmytro O. Redchuk
2005-07-22  8:02       ` Serge Kompan
2005-07-23  8:08         ` Ilya V. Pobelov
2005-07-23  9:27           ` Serge Kompan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507211841.02962.skompan@kspu.kr.ua \
    --to=skompan@kspu.kr.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git