make an exception when doing rsync
HI
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)? Regards Asanka |
rsync -e ssh -av /home/* --exclude=quota* root@noah:/home
|
HI kilgoretrout so thats where I went wrong "=" sing in I though this is only to use with z option.
Thanks Best regards Asanka |
hi acid_kewpie
I only posted this once and edited it and save it again. Regards Asanka |
Hi
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 Regards Asanka |
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.
|
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 |
Did you even try to google this??? This took me two seconds to find:
http://www.hostlibrary.com/Remotebac...on-how-to.html http://www.bigbold.com/snippets/posts/show/1337 |
yah I did could not find what I wanted
Regards Asanka |
Hi
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 Regards Asanka |
All times are GMT -5. The time now is 08:08 PM. |