Re: Time rsYnc Machine (tym)

2012-07-28 Thread josephj
He redirects stdout and stderr to files and doesn't require user interaction. Living on a notebook, almost all of my scripts don't do that, so they won't work from cron or any background situation unless I modify them with that in mind. Joe > On Sat, Jul 28, 2012 at 3:48 AM, M. Carrasco wrote:

Re: Time rsYnc Machine (tym)

2012-07-28 Thread josephj
Could you explain push vs. pull? I haven't seen that before. TIA Joe > Note that this stuff is a lot easier if you pull your backups rather > than pushing them. That way your making of directories and symlinks > and deleting of old backups are all done locally. -- Please use reply-all for m

Re: Time rsYnc Machine (tym)

2012-07-27 Thread josephj
Thanks so much. I'm going to try it out. It looks like all I need to do is add something (manual or script) to delete the oldest versions periodically. Joe > Joe, > > Your desires are orders :-) > > ... a proper (small) man page > > http://dragoman.org/tym > > Regards > Tomas > > On 26 Jul 201

Re: cannot rsync when source directory lacks write permission

2012-07-27 Thread josephj
Is rsync being run with root privileges for the destination? > I seem to be running into a problem where I am trying to rsync from a > source directory that lacks write permissions (i.e. r-xr-xr-x). > Presumably this is because rsync creates the directory on the > destination, then sets the permis

Re: Time rsYnc Machine (tym)

2012-07-26 Thread josephj
No good deed goes unpunished ;) Very nicely coded script, but it's a bit dense. I'm good at bash and can survive in rsync, but could you provide a description of what it actually does so I don't have to spend a long time analysing the code? Does it keep multiple versions like the name implies?

Re: rsync based on checksum only

2012-07-07 Thread josephj
Wow! Thanks for making it so easy. I will try that asap. Joe > hello, > > I have patched my rsync with both patches, and it works well ! > Using git just for geting the source code is really easy and moreover > rsync > source code is not under git... See the project page where you can > downloa

Re: rsync based on checksum only

2012-07-06 Thread josephj
Let us know if that ever gets merged into the official releases. I could use that feature. I download a lot of media files and when I normalize their names, rsync treats them as new files. At this point, I don't want to build my own rsync. I haven't learned git yet and have to be sure that I do

Re: change UID+GID on target system?

2012-06-20 Thread josephj
If that's a concern, then you could just use a service like dyndns to get an address that's reliable. For non-commercial use, it's free. Joe > Because the connection is very unreliable, laptop 2 has a > dynamic IP, and I am paranoiac and don't want to have > > sshd: ALL > > in hosts.allow on Lap

Re: Getting messages "failed to stat" only in cron execution

2012-05-03 Thread josephj
No, but a couple of things that I would look at (that you probably already did) : 1) Since rsync handles embedded blanks in paths, it probably also works for embedded single quotes, but I'd verify that. 2) Are \#303\#253 valid characters (especially on the host that's generating the error message -

Re: backup to NTFS USB disk

2012-04-13 Thread josephj
Since no one has replied yet, I have one idea that *might* point to part of your problem. I've never had to deal with locale issues, so I have no idea about that. You have directories and file names with blanks in them. In general, this causes a lot of trouble for a lot of programs. I'm not sur

Re: Rsync to a Remote NAS

2012-04-11 Thread josephj
Another option (that I'm looking into,but haven't tried) is to do rsync over ftp. Many NASs support ftp, so that may work for you. See: http://serverfault.com/questions/24622/how-to-use-rsync-over-ftp http://fixunix.com/debian/129298-website-backups-using-rsync-via-ftp.html Joe > -BEGIN PGP

Problem with null source argument

2012-03-21 Thread josephj
I'm writing an rsync backup script in bash on kubuntu oneiric. While debugging my script, I accidentally invoked rsync with a first null/empty argument as rsync "" options source dest I did not get any error messages. rsync worked as advertised, but it also transferred everything in my working