Re: rsync and swapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Marcelo Roccasalva wrote:


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

Rsync will be much, much faster on the 2nd and subsequent runs when it only has to copy the changed files.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux