Re: rsync with 8bit file names?

2014-09-23 Thread LuKreme

 On 21 Sep 2014, at 13:55 , Thomas Floeren t...@mac.com wrote:
 
 in the meantime I moved two of my Macs to 10.10 (DP8; 14A361c) and I repeated 
 the test (copying a umlaut file to and from an afp mount; see my mail from 16 
 Sep) with the same result, i.e. no problems. Didn’t test it with DP7 though.

rsync is working properly, the problem as it turns out is isolated to the 
Drobo. I was mislead, because I THOUGHT the finder copies were working. As I 
said in my last email:

 But, I was wrong about the Finder copy. The 8bit file names APPEARED to copy, 
 and gave no error, and made the completion noise, but did not, in point of 
 fact, copy. So this is a Drobo issue and not a rsync issue.

Thanks for your time.

-- 
You and me Sunday driving Not arriving

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync with 8bit file names?

2014-09-12 Thread LuKreme

 On 11 Sep 2014, at 19:31 , Henri Shustak henri.shus...@gmail.com wrote:
 
 Hello,
 
 Is the source Drobo a NAS or DAS unit? 

Drobo 5N NAS.

 Also, I am guessing that the /Volumes/TV is the source for the rsync. Is it 
 possible that the file has actually moved or been renamed?

No, the file is there.

 If the Drobo (hosted) volume is the source for the rsync command, then 
 perhaps checking the file system format of that device is also worth while?

I am running rising on my Mac which has the Drobo’s TV share mounted at 
/Volumes/TV

 I would suggest you consider compiling a recent version of rsync for your 
 system. This should be quite straight forward on 10.10 (beta release). 
 However, I must admit I have yet to try compiling rsync on 10.10 : 
 http://www.lbackup.org/developer/rsync_hfs

I installed rsync 3.1.1 and had the same result.

 Finally, what is the actual command you are running. This information may 
 shed some light on why the command is failing.

rysnc -aP --exclude=“.*” /Volumes/TV /Volumes/VAULT

(where VAULT is a desktop HFS+J volume)
 

-- 
'Never say die, master. That's our motto, eh?' I CAN'T SAY IT'S EVER
REALLY BEEN MINE. --Hogfather

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

rsync with 8bit file names?

2014-09-11 Thread LuKreme
When trying to sync my TV folder to a mirror drive, episodes with non-ASCII 
characters in them cannot be processed by rsync. Anything I can do about this?

For example, I get this:

building file list ... 
file has vanished: /Volumes/TV/Raising Hope/Raising Hope - S04E01 - De?\#201ja 
Vu Man.mkv

This is rsync under OS X:

$ rsync --version
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
http://rsync.samba.org/
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
  inplace, IPv6, 64-bit system inums, 64-bit internal inums

I'd check macports, but since it's not been updated for 10.10 yet I'll need to 
wait a while.

-- 
Passion is the pill you can swallow forever Taking them one by one One
by One --Agents of Good Roots Come On

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync with 8bit file names?

2014-09-11 Thread LuKreme

 On 11 Sep 2014, at 06:36 , LuKreme krem...@kreme.com wrote:
 
 $ rsync --version
 rsync  version 2.6.9  protocol version 29

(I did install rsync 3.1.1, same results)

-- 
U is for UNA who slipped down a drain
V is for VICTOR squashed by a train

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync with aging

2013-01-30 Thread LuKreme

On 29 Jan 2013, at 18:01 , LuKreme krem...@kreme.com wrote:

 
 On 29 Jan 2013, at 17:12 , Kevin Korb k...@sanitarium.net wrote:
 
 find /server -type f -mtime +30 -exec mv -v {} /archive/ \;
 cd /archive ; find . -type f -exec rm -v /server/{} \;
 
 Ah… OK, that is an interesting idea I've never considered, and no rsync 
 involved.
 
 Thanks!

Ah, this does not work as files that are on /server/some/path they end up at 
/archive/ and not /archive/some/path.

I need to preserver the directory structure on server and duplicate it to 
target.

-- 
Today the road all runners come/Shoulder high we bring you home.  And
set you at your threshold down/Townsman of a stiller town.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync with aging

2013-01-30 Thread LuKreme

On 30 Jan 2013, at 18:16 , Kevin Korb k...@sanitarium.net wrote:

 cd /server ; find . -type f -mtime +30 -print | cpio -pvdm /archive/

I *think* 

`rysnc -aRP ...` is working for what I need.

…still testing.

-- 
Back off, man. I'm a scientist.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


rsync with aging

2013-01-29 Thread LuKreme
I have two folders, let's call them Server and Archive.

What I want to do is send all the files from server that are older than… say 30 
days to archive and delete them from server. OK, no problem. However, I also 
want to delete any files from Server that already exist on Archive.

So let's say on 28-01-2013 I have

Server:
23-10-2011
31-12-2012
14-12-2012
17-01-2013

Archive:
23-10-2011
17-01-2013

. . . run rsync command here . . .

Files left on Server:
31-12-2012 # less than 30 days old

Files on Archive:
23-10-2011 # was already there
14-12-2012 # more than 30 days old
17-01-2013 # was already there


-- 
MEGAHAL: within my penguin lies a torrid story of hate and love.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync with aging

2013-01-29 Thread LuKreme

On 29 Jan 2013, at 17:12 , Kevin Korb k...@sanitarium.net wrote:

 find /server -type f -mtime +30 -exec mv -v {} /archive/ \;
 cd /archive ; find . -type f -exec rm -v /server/{} \;

Ah… OK, that is an interesting idea I've never considered, and no rsync 
involved.

Thanks!

-- 
Criticizing evolutionary theory because Darwin was limited is like
claiming computers don't work because Chuck Babbage didn't foresee Duke
Nukem 3.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync based on checksum only

2012-07-10 Thread LuKreme
On Jul 7, 2012, at 18:34, Dan Stromberg drsali...@gmail.com wrote:

 For backups, not really for file transfers, there's my pet project, backshift:
 http://stromberg.dnsalias.org/~strombrg/backshift/

That looks very cool. I've been using rsnapshot for awhile, but this looks very 
interesting.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Is this possible

2010-07-25 Thread LuKreme
I have a directory we'll call Books which contains in it the ebooks that I have.

A file name will be:

Verne, Jules - The Voyages and Adventures of Captain Hatteras.epub
Twain, Mark - Adventures of Huckleberry Finn.epub

If I've gotten around to standardising it's name

I have another directory, dirB where I dump ebooks that I happen to get.

What I want to do is sync files from dirB to Books, but I want to exclude files 
whose names are 'close' to the names that already exist in Books.

So, a file named Huckleberry Finn would not be copied, nor would a file named 
Adventures of Huckleberry Finn by Mark Twain.pdf

I'm thinking there might be a way to do this with rsync, but how?

Would I be better off trying to unzip the epubs (they are mostly epubs) and 
pull the docTitle from the toc file?

Has anyone done anything like this already? 

I am doing it manually, but it is tedious and I still manage to get duplicates.

-- 
Dinosaurs are attacking! Throw a barrel!

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Include and Exclude

2009-12-25 Thread LuKreme

On Dec 24, 2009, at 10:32, Wayne Davison way...@samba.org wrote:

For instance, assuming
that the Maildir is in the root of the transfer, this is better:

   --include=/Maildir/ --exclude=/*


Well, it's not at the top level as I said. The Maildirs are in /usr/ 
home/*/Maildir/ and I want to sync them all and their contents without  
syncing anything else. The rsync is anchored at /


No combination of include/exclude that I've tried, and it seems I've  
tried a good dozen or so, has done what I want. Either I get nothing,  
or I get files outside of the Maildir folders that are synced.


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Include and Exclude

2009-12-24 Thread LuKreme
I thought this command would do what I wanted, but instead it doesn't transfer 
any files:

rsync -avh --stats --password-file=/var/rsync.passwd --include=Maildir/ 
--exclude=* mail::root/usr/home /backup/usr/

I want to backup ONLY the /usr/home/*/Maildir directories. I don't want any 
other files from any other directories to be transferred.

I can see in the man page where this is a problem:

   when using the --recursive (-r) option (which is implied by -a), every 
   subcomponent of every path is visited  from  the top down, so include/
   exclude patterns get applied recursively to each subcomponent's full 
   name (e.g. to include /foo/bar/baz the subcomponents /foo and 
   /foo/bar must not be excluded).

It then gives an example of including the parent directories.

Trouble is, I do not want any files in /usr/home/fred/ to be synced at all, 
only the files (and directories) in /usr/home/fred/Maildir/

Also, I don't necessarily know all the pathnames in /usr/home/; I don't want to 
have to build a manual include list every time I want to sync these folders.



-- 
MY MOM IS NOT DATING JERRY SEINFELD
Bart chalkboard Ep. AABF06

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Restoring Backup user files with preserving UID/GID

2009-11-20 Thread LuKreme
I backed up all the user files on machine using rsync, and I have a directory 
on my backup machine that looks like:

0 drwxr-xr-x   26 10171018884 Nov 20 08:03 bea
0 drwxr-xr-x   25 10391040850 Aug 21 03:58 charles
0 drwxr-xr-x   10 10331034340 Mar  1  2004 deliv
0 drwxr-xr-x   11 10341035374 Mar 12  2004 dlucas
0 drwxr-xr-x   31 10121013   1054 Nov  5 08:28 etay
0 drwxr-xr-x   27 10271028918 May 20  2009 hankz
0 drwxr-xr-x   12 10281029408 Apr  3  2009 holly

Now I want to transfer all these files to the new machine, but preserving the 
UID/GID combinations.

I am assuming that I need to (temporarily) set the rsync daemon on the new 
machine to run as root. Is that as simple as setting the rsyncd.conf

uid = root
gid = wheel

or is there anything else I need to do?

My current file looks like this:

uid = nobody
gid = nobody
use chroot = no
max connections = 4
syslog facility = local5

[root]
path = /
comment = root
auth users = root
read only = no
secrets file = /usr/local/etc/rsyncd.secrets


-- 
I draw the line at 7 unreturned phone calls.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html