[CentOS] rsync and swapping

Marcelo Roccasalva marcelo-centos at irrigacion.gov.ar
Wed Jan 30 15:56:39 UTC 2008


On Jan 30, 2008 11:24 AM, Jerry Geis <geisj at pagestation.com> wrote:
> hi all,
>
> I use rsync to copy/backup ALL my stuff to another disk.
>
> When I run this seems like my machine (4 GIG ram centos 5.1)
> now begins to swap out more programs. Is there a way to reduce
> that swapping? I am running with echo 1 > /proc/sys/vm/swappiness
>
> I simply mount /dev/sdc1 /mnt/backup; mkdir /mnt/backup/month.day.year
> then rsync -a /home /mnt/backup/mon.day.year

IMHO, rsync is overkill here. I would:

mount /dev/sdc1 /mnt/backup; mkdir /mnt/backup/month.day.year
cd /home;find . | cpio -vdump /mnt/backup/mon.day.year

-- 
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)



More information about the CentOS mailing list