1 |
On Mon, 5 Apr 2010 12:01:28 +0100, Mick wrote: |
2 |
|
3 |
> > You can also substantially reduce downtime by first rsyncing while the |
4 |
> > system is running (using either -x or bind mounts). That will give a |
5 |
> > slightly inconsistent root, so you then repeat the process from a |
6 |
> > live CD (using --delete with rsync) to clean things up. The latter |
7 |
> > rsync takes a fraction of the time as 99.*% of the data is already |
8 |
> > cpied. |
9 |
> |
10 |
> I don't know how slow rsync is the first time you run it. Since no one |
11 |
> has yet suggested it star may be faster, while tar would do it nicely |
12 |
> like so: |
13 |
|
14 |
The speed is about the same. It's slow the first time because you have to |
15 |
copy several gigabytes of data, whichever method you use. The advantage |
16 |
of rsync is that you can do this while the system is still running then |
17 |
do a quick update while booted from the live CD, massively reducing |
18 |
downtime. |
19 |
|
20 |
|
21 |
-- |
22 |
Neil Bothwick |
23 |
|
24 |
Top Oxymorons Number 24: New classic |