-   Linux - General (
-   -   make an exception when doing rsync (

procfs 08-01-2006 06:48 AM

make an exception when doing rsync

I want to rsync -e ssh -av /home/* root@noah:/home this is works, works to good.

Thing is this file system is enable with quota on both the systems (Different quota sizes).

These machines are not identical machines

How do I stop quota.usr and quota.grp files from sinking (Make an exception out of these two files)?



kilgoretrout 08-01-2006 09:32 AM

rsync -e ssh -av /home/* --exclude=quota* root@noah:/home

procfs 08-01-2006 10:26 PM

HI kilgoretrout so thats where I went wrong "=" sing in I though this is only to use with z option.


Best regards


procfs 08-01-2006 10:35 PM

hi acid_kewpie

I only posted this once and edited it and save it again.


procfs 08-03-2006 02:33 AM


How do I make a back up of a remote server directory in to a single file using rsync.

And is there a another way to do this



kilgoretrout 08-03-2006 01:30 PM

rsync the remonte server directory to your backup box then tar the directory on your backup box which makes a single archive file and then delete the rsynced directory on the backup box.

procfs 08-03-2006 10:30 PM

to do this I would need almost towies the space till I delete the source, cant I make a tar copy directly at the time of rsync with out just rsync and then doing the tar.

rsync | tar like

and restore doing the oposit

kilgoretrout 08-03-2006 10:45 PM

Did you even try to google this??? This took me two seconds to find:

procfs 08-04-2006 12:01 AM

yah I did could not find what I wanted


procfs 08-10-2006 01:00 AM


My ldap database is in /var/lib/ldap directory, till I can get the ldap replication (it is going nuts) working can I do rsync to keep the ldap databases up to date.

rsync -e ssh -Uav /var/lib/ldap/* noah:/var/lib/ldap



All times are GMT -5. The time now is 01:53 AM.