Re: rsync - newbie question

2018-05-12 Thread rhkramer
On Saturday, May 12, 2018 02:54:53 PM Richard Owlett wrote: > But you started me thinking about how my use case differs from any > normal user. Yup, it appears so. ;-)

Re: rsync - newbie question

2018-05-12 Thread Rick Thomas
Yes, rsync has a “-x" option, which does the same thing as for cp: it keeps it from crossing filesystem boundaries. If you are using rsync to back up whole filesystems, it’s indispensable. Rick On May 12, 2018, at 10:50 AM, Tixy wrote: > Some commands have options to stop

Re: rsync - newbie question

2018-05-12 Thread Tixy
On Sat, 2018-05-12 at 13:58 -0500, Richard Owlett wrote: > On 05/12/2018 12:50 PM, Tixy wrote: > > On Sat, 2018-05-12 at 13:28 -0400, Jude DaShiell wrote: > >> Another hierarchy in Linux not to sync is /system for the same reason > >> you don't sync /proc. > > > > Presumably you meant /sys ? > >

Re: rsync - newbie question

2018-05-12 Thread Brian
On Sat 12 May 2018 at 13:54:53 -0500, Richard Owlett wrote: > I'll keep that in mind. > But you started me thinking about how my use case differs from any normal > user. You would have to put yourself in the thought mode of a normal user (whatever he is) instead of seeing youself as having

Re: rsync - newbie question

2018-05-12 Thread Richard Owlett
On 05/12/2018 12:50 PM, Tixy wrote: On Sat, 2018-05-12 at 13:28 -0400, Jude DaShiell wrote: Another hierarchy in Linux not to sync is /system for the same reason you don't sync /proc. Presumably you meant /sys ? Basically, the OP probably don't want to try and sync mount points for things

Re: rsync - newbie question

2018-05-12 Thread Richard Owlett
On 05/12/2018 12:48 PM, Hans wrote: Am Samstag, 12. Mai 2018, 19:37:40 CEST schrieb Richard Owlett: Please note, the directory is NOT /system, it is /sys. Juda got a little typo. :) I won't complain too much. Otherwise peuple will start talking about mine ;/ However, I would avoid /proc,

Re: rsync - newbie question

2018-05-12 Thread Hans
Am Samstag, 12. Mai 2018, 19:37:40 CEST schrieb Richard Owlett: Please note, the directory is NOT /system, it is /sys. Juda got a little typo. :) However, I would avoid /proc, /sys, /tmp and /lost+found Hint: If you might put /home on another partition, you can easily install or sync a new

Re: rsync - newbie question

2018-05-12 Thread Tixy
On Sat, 2018-05-12 at 13:28 -0400, Jude DaShiell wrote: > Another hierarchy in Linux not to sync is /system for the same reason > you don't sync /proc. Presumably you meant /sys ? Basically, the OP probably don't want to try and sync mount points for things that aren't ordinary filesystems and

Re: rsync - newbie question

2018-05-12 Thread Richard Owlett
On 05/12/2018 12:28 PM, Jude DaShiell wrote: Another hierarchy in Linux not to sync is /system for the same reason you don't sync /proc. thank you.

Re: rsync - newbie question

2018-05-12 Thread Jude DaShiell
On Sat, 12 May 2018, Richard Owlett wrote: Date: Sat, 12 May 2018 11:54:13 From: Richard Owlett <rowl...@cloud85.net> To: debian-user <debian-user@lists.debian.org> Subject: Re: rsync - newbie question Resent-Date: Sat, 12 May 2018 15:54:40 + (UTC) Resent-From: debian-user@list

Re: rsync - newbie question

2018-05-12 Thread Hans
Am Samstag, 12. Mai 2018, 17:54:13 CEST schrieb Richard Owlett: As Eero said, do not sync /proc, you can use the --exclude option. There is a good description here, how to exclude things: https://www.thegeekstuff.com/2011/01/rsync-exclude-files-and-folders/? utm_source=feedburner Have fun! Hans

Re: rsync - newbie question

2018-05-12 Thread Eero Volotinen
You should not sync /proc. it's not normal directory Eero la 12. toukok. 2018 klo 18.37 Richard Owlett kirjoitti: > In another thread it was suggested that I use:> rsync -avzh --delete > -n > > I tried it and got ~200 error messages of form: > > > file has vanished:

Re: rsync - newbie question

2018-05-12 Thread Richard Owlett
On 05/12/2018 10:47 AM, Eero Volotinen wrote: You should not sync /proc. it's not normal directory Eero Thank you.

rsync - newbie question

2018-05-12 Thread Richard Owlett
In another thread it was suggested that I use:> rsync -avzh --delete -n I tried it and got ~200 error messages of form: file has vanished: "/proc/10/exe" file has vanished: "/proc/10/task/10/exe" file has vanished: "/proc/101/exe" file has vanished: "/proc/101/task/101/exe"