public inbox for gentoo-user-br@lists.gentoo.org
 help / color / mirror / Atom feed
From: Leonardo Guilherme <leonardo.guilherme@gmail.com>
To: gentoo-user-br@lists.gentoo.org
Subject: Re: [gentoo-user-br] Cópia de um sistema para outro HD
Date: Fri, 5 Aug 2011 22:36:27 -0300	[thread overview]
Message-ID: <CAGGSsJaP1177VAF8xG1u7pun+yZ6SJvOQpB_adRZYWnsbT8G1Q@mail.gmail.com> (raw)
In-Reply-To: <1312581048.59095.YahooMailClassic@web36701.mail.mud.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

>
> Bem meu home é grande, não da pra fazer backup, e eu não queria mexer nele.
>
> Havia pensado em utilizar o livecd, fazer um chroot, e depois copiar as
> coisas do outro hd, via algum comando cp.
>
> Mas estes comandos rsync, parecem que vão servir, pois como tem o jeito de
> não copiar o home do outro hd, que eu quero que fique lá tb, parece que vai
> dar certo.
>
> > rsync -av --delete /origem /destino copia tudo. Se você não quiser copiar
>
> > o home, você pode usar --exclude, tipo assim:
>
> > rsync -av --exclude=/home --delete /origem /destino.
>
>
> Só uma dúvida, posso fazer este processo, logado como root, ou é melhor via
> livecd?
>

Tanto faz, nos dois casos vai dar certo. No caso de estar logado, usando o
sistema de origem, você vai querer não copiar o diretório dentro de si
mesmo, então é bom dar um --exclude nele também. Ou usar a opçào -x no rsync
para fazer ele não passar para outros pontos de montagem. Dá uma olhada no
manual dele, lá explica melhor um pouco.

De todo jeito, você vai ter que ajustar a fstab e instalar um gerenciador de
boot, não se esqueça.

[-- Attachment #2: Type: text/html, Size: 1366 bytes --]

  reply	other threads:[~2011-08-06  1:36 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05 21:50 [gentoo-user-br] Cópia de um sistema para outro HD Raphael MD
2011-08-06  1:36 ` Leonardo Guilherme [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-07 19:04 Raphael MD
2011-08-07 19:33 ` Leonardo Guilherme
2011-08-07 21:45 ` Naira Kaieski
2011-08-02  3:39 Raphael MD
2011-08-02 12:03 ` Fernando Boaglio
2011-08-02 12:21   ` Anlinx Soluções na Internet
2011-08-02 13:18     ` Raphael MD
2011-08-02 13:31 ` Naira Kaieski
2011-08-02 13:35   ` Naira Kaieski
2011-08-02 13:56     ` Raphael MD
2011-08-02 14:54       ` Daniel da Veiga
2011-08-05 11:32 ` Zhu Sha Zang
2011-08-05 13:29   ` André
2011-08-05 14:22     ` Raphael Bastos
2011-08-05 14:41       ` Daniel da Veiga
2011-08-05 14:45         ` Raphael Bastos
2011-08-05 14:58           ` Daniel da Veiga
2011-08-05 14:57         ` Fernando Boaglio
2011-08-05 14:59           ` Daniel da Veiga
2011-08-05 15:04           ` Raphael Bastos
2011-08-05 15:48             ` Daniel da Veiga
2011-08-05 16:23               ` Raphael Bastos
2011-08-05 15:54             ` Raphael MD
2011-08-05 16:06               ` Daniel da Veiga
2011-08-05 16:15                 ` Leonardo Guilherme

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=CAGGSsJaP1177VAF8xG1u7pun+yZ6SJvOQpB_adRZYWnsbT8G1Q@mail.gmail.com \
    --to=leonardo.guilherme@gmail.com \
    --cc=gentoo-user-br@lists.gentoo.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox