Re: rsync command exclude option

2008-11-26 Thread Kaushal Shriyan
On Wed, Nov 26, 2008 at 7:05 PM, Michal Soltys <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > >> I want only .sql files to be rsynced to the destination host. >> >> when i do rsync -avz oldUnicelFiles hostB:/home/kaushal >> --include-from=include.txt >> it rsync all the files under oldUnice

Re: Delete source folder?

2008-11-26 Thread Matt McCutchen
On Wed, 2008-11-26 at 18:33 +0100, Jeroen van der Vegt wrote: > We're using rsync to move files from a server to a client (an embedded > device, connected over GPRS) using a cron script on the client. To > accomplish this, we use the --delete-source-files option. As I found in the > archives, this

Delete source folder?

2008-11-26 Thread Jeroen van der Vegt
Hello all, We're using rsync to move files from a server to a client (an embedded device, connected over GPRS) using a cron script on the client. To accomplish this, we use the --delete-source-files option. As I found in the archives, this doesn't remove any folders. Is there a way to have rsync

Re: rsync command exclude option

2008-11-26 Thread Michal Soltys
Kaushal Shriyan wrote: I want only .sql files to be rsynced to the destination host. when i do rsync -avz oldUnicelFiles hostB:/home/kaushal --include-from=include.txt it rsync all the files under oldUnicelFiles, I mean even .gz and .txt files too. ~/oldUnicelFiles $ ls 01-07-2008_LOG.txt.gz

Re: snapshots without NFS

2008-11-26 Thread Mac User FR
Mag Gam a écrit : Thanks for the fast response Vitorio. Do you happen to have a simple example? I been trying to look thru google but unsuccessful. On Wed, Nov 26, 2008 at 8:11 AM, Mac User FR <[EMAIL PROTECTED]> wrote: Mag Gam a écrit : Is it possible to implement snapshots schema w

Re: snapshots without NFS

2008-11-26 Thread Mag Gam
Thanks for the fast response Vitorio. Do you happen to have a simple example? I been trying to look thru google but unsuccessful. On Wed, Nov 26, 2008 at 8:11 AM, Mac User FR <[EMAIL PROTECTED]> wrote: > Mag Gam a écrit : >> >> Is it possible to implement snapshots schema without NFS or filesyst

snapshots without NFS

2008-11-26 Thread Mag Gam
Is it possible to implement snapshots schema without NFS or filesystem mount? I would like to implement it with ssh only. Has anyone done this before? tia -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailma

Re: rsync command exclude option

2008-11-26 Thread Kaushal Shriyan
On Wed, Nov 26, 2008 at 5:28 PM, Michal Soltys <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > >> Hi >> >> I do rsync -avz oldUnicelFiles hostB:/home/kaushal >> --exclude-from=exclude.txt >> but it rsynced the excluded files too >> >> my exclude.txt file contains >> >>

Re: rsync command exclude option

2008-11-26 Thread Michal Soltys
Kaushal Shriyan wrote: Hi I do rsync -avz oldUnicelFiles hostB:/home/kaushal --exclude-from=exclude.txt but it rsynced the excluded files too my exclude.txt file contains /home/kaushal/oldUnicelFiles/*.gz /home/kaushal/oldUnicelFiles/*.txt Any ideas

Re: rsync command exclude option

2008-11-26 Thread Paul Slootman
On Wed 26 Nov 2008, Kaushal Shriyan wrote: > > I do rsync -avz oldUnicelFiles hostB:/home/kaushal > --exclude-from=exclude.txt > but it rsynced the excluded files too > > my exclude.txt file contains > > /home/kaushal/oldUnicelFiles/*.gz > /home/kaushal/oldUnicelFiles/*.txt

rsync command exclude option

2008-11-26 Thread Kaushal Shriyan
Hi I do rsync -avz oldUnicelFiles hostB:/home/kaushal --exclude-from=exclude.txt but it rsynced the excluded files too my exclude.txt file contains /home/kaushal/oldUnicelFiles/*.gz /home/kaushal/oldUnicelFiles/*.txt Any ideas as what am i doing wrong