Re: osx remote backup wrong permissions

2010-10-31 Thread Robert DuToit
On Oct 31, 2010, at 5:12 PM, Wayne Davison wrote: > On Sun, Oct 31, 2010 at 10:57 AM, Robert DuToit wrote: > Does the server (or other computer in this case) always need a root account > established for this to work? I tried everything else and the owner always > became that of the remote user

Re: osx remote backup wrong permissions

2010-10-31 Thread Wayne Davison
On Sun, Oct 31, 2010 at 10:57 AM, Robert DuToit wrote: > Does the server (or other computer in this case) always need a root account > established for this to work? I tried everything else and the owner always > became that of the remote user. > The user running the receiving rsync needs to be a

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Vahsen Beheer
On 31-10-2010 18:41, edac...@gmail.com wrote: On 10/31/2010 07:26 PM, Vahsen Beheer wrote: On 31-10-2010 18:07, edac...@gmail.com wrote: "-n" means "dry-run", no real action will be performed :). Hope found one-line solution: rsync -ndivv -f 'R /daily.20101030-0155/**' -f '-!r /daily.20101030

Re: osx remote backup wrong permissions

2010-10-31 Thread Robert DuToit
Hi All, FWIW, I got my test to work. I realized the permissions were actually ok- the owner/group bits were off. I set up a root account on the other laptop and logged out of it then ran /rsync -aNHAXx --protect-args --fileflags --protect-decmpfs --force-change --stats --progress -v --rsync-p

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Vahsen Beheer
On 31-10-2010 18:07, edac...@gmail.com wrote: On 10/31/2010 06:52 PM, Vahsen Beheer wrote: Hi again Edvinas, and thanks a lot!!! I finally managed to delete a remote empty directory now! I simplified my request a bit though, and need to delete a subdirectory

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread edacval
On 10/31/2010 06:52 PM, Vahsen Beheer wrote: > On 31-10-2010 17:23, Edvinas Valatka wrote: >> Hi Vansen :) The 'p' in '-!pr' only needed, if directory >> remote-host::Backups/daily.20101030-0155 is not empty. >> >> Workaround: rsync -d --del /tmp/empty-dir/ >> remote-host::Backups/daily.20101030

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Vahsen Beheer
On 31-10-2010 17:23, Edvinas Valatka wrote: Hi Vansen :) The 'p' in '-!pr' only needed, if directory remote-host::Backups/daily.20101030-0155 is not empty. Workaround: rsync -d --del /tmp/empty-dir/ remote-host::Backups/daily.20101030-0155/ rsync -ndv -f '-!r /daily.20101030-0155' --del /tmp/emp

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Edvinas Valatka
On Sun, 31 Oct 2010 16:52:05 +0100 Vahsen Beheer wrote: > > On 31-10-2010 16:39, Edvinas Valatka wrote:On Sun, 31 Oct 2010 > 03:15:37 +0100 Vahsen Beheer wrote: > > Hi! > > I am backing up (using --link-dest, hard links) to a NAS which has > an 'rsync' daemon running. I do not have ssh acces

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Vahsen Beheer
On 31-10-2010 16:39, Edvinas Valatka wrote: On Sun, 31 Oct 2010 03:15:37 +0100 Vahsen Beheer wrote: Hi! I am backing up (using --link-dest, hard links) to a NAS which has an 'rsync' daemon running. I do not have ssh access to this Storage-device. Part

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Matt McCutchen
On Sun, 2010-10-31 at 17:39 +0200, Edvinas Valatka wrote: > On Sun, 31 Oct 2010 03:15:37 +0100 > Vahsen Beheer wrote: > > I am backing up (using --link-dest, hard links) to a NAS which has > > an 'rsync' daemon running. I do not have ssh access to this > > Storage-device. Part of my script needs

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Edvinas Valatka
On Sun, 31 Oct 2010 03:15:37 +0100 Vahsen Beheer wrote: > Hi! > > I am backing up (using --link-dest, hard links) to a NAS which has > an 'rsync' daemon running. I do not have ssh access to this > Storage-device. Part of my script needs to delete whole remote > directory trees. This seems diffi

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Edvinas Valatka
On Sun, 31 Oct 2010 03:15:37 +0100 Vahsen Beheer wrote: > Hi! > > I am backing up (using --link-dest, hard links) to a NAS which has > an 'rsync' daemon running. I do not have ssh access to this > Storage-device. Part of my script needs to delete whole remote > directory trees. This seems diffi

Re: How to delete a whole destination tree (inclusive the destination its-self) with rsync (daemon)?

2010-10-31 Thread Edvinas Valatka
On Sun, 31 Oct 2010 03:15:37 +0100 Vahsen Beheer wrote: > Hi! > > I am backing up (using --link-dest, hard links) to a NAS which has > an 'rsync' daemon running. I do not have ssh access to this > Storage-device. Part of my script needs to delete whole remote > directory trees. This seems diffi