good snapshot solution
Hi all, I have installed rsync 2.5.5 as daemons on our 35 Netware servers (no 2.5.6 is yet available for Netware) and do a daily sync from a Linux Rsync client machine with 1.2 TB disk capacity. For the moment we do a daily, weekly and monthly backup on tape of this machine, but I'd like to replace the daily backups by a disc-based setup. It would be good to be able to share the snapshot-folders with Samba, so our helpdesk can easily do restores. They are not trained in Linux. After doing some research I found three candidates: - Dirvish - Rlbackup - Rsync_snapshots by Mike Rubel The first two seem to be pretty elaborate, but are based on Rsync 2.5.6 and I'm wondering if that's going to give problems with the Rsync 2.5.5 on Netware. Can one safely mix versions? I use only these options: -rtv --delete --modify-windows=2 Also, I was wondering if can still share the snapshotted versions of the files with Samba in an intuitive way. Dirvish for instances seems to use a certain subdirectory system making that somewhat more complex. The last one is very straight forward and looks sufficient, but Mike points out that he sees this only working for smaller servers, so I worry a bit about our 900 GB in data. Would this systeem know how to handle this amount of data? Anyone any advice on this? Thx already! Kind regards, Bart Coninckx -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems
Hi, we had the same problems last year and we use NTFS. Luckely we switched to Linux this year. Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * Wayne Piekarski [EMAIL PROTECTED] Sent by: To: jw schultz [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED]cc: .samba.orgSubject: Re: Solution For Rsync and Cygwin Daylight Savings Timezone Problems 02/04/2003 13:25 Thanks for the reminder. Unfortunately your email was rambling so that it was unclear what can actually be done to avoid the problem. Here in the US Daylight savings time will take effect this coming Sunday. Sorry about the rambling :) I wanted to dump out everything I'd learned because it was quite confusing initially and there was nothing available on how to fix it. The hack I made corrects the problem as such, but I'm not sure if it has other effects that will break other applications. By disabling the daylight savings tick box Windows will not automatically adjust its time, but who knows what else? I wouldn't want to say that this is the correct solution just yet. I've emailed the Cygwin mailing list with the same thing in case someone spots something there and maybe a possible fix to make the DLLs deal with this. With the transition between standard time and daylight savings time MS-Windows systems are known to appear to change the modification time of existing files. The effect of this is to give the appearance that every file has changed. This will cause affected transfers to take inordinate amounts of time. This affects FAT filesystems which store times in localtime and not NTFS which uses UTC. I have not looked into NTFS but I do know it has wierd issues with UTC as well, probably not to the extent of FAT but I don't think it is as clean as Unix-ish implementations. The impact of this may be minimized by running rsync with the --modify-window=3601 command-line option. This will cause rsync to ignore modification time differences of one hour will allow rsync jobs to complete in the usual time period with a minimal impact on backup integrity. To get back to normal it will be necessary to run rsync with the usual modify-window on all files. This can be done in stages. If you run with this flag, does it just skip the updates on those files, or does it update the time stamp mtime as well? I'm thinking it just skips them and you will have to run with --modify-window until DST ends a few months later. regards, Wayne -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Offsite server replication solution via Internet
Novell integrated Rsync in their BOMA product, part of the Nterprise bundle. We just use the NLM on our 35 remote Netware 5.1 servers and rsync daily all cahnged files to a central Linux server from which we backup. 700 GB is synchronized daily like this. Works flawlessly. Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * Splash [EMAIL PROTECTED] Sent by: To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: .samba.orgSubject: Offsite server replication solution via Internet 19/03/2003 23:25 Hi Some of our smaller Central London clients (5 to 25 terminals), who use the NetWare GroupWise software from Novell Small Business Suite 6, are becoming increasingly concerned about the possibility of their offices becoming inaccessible for a prolonged period in the event of a terrorist attack. We've been asked to provide a low cost solution consisting of replicated offsite servers to cater for this eventuality. In the event of a crisis, key office personnel would be able to access their NetWare data and GroupWise email etc. from home, by accessing their backup server situated in a safe rural location. The current solution relies on the backup server being situated at somebody's home and being restored from an office backup tape. This is rather clumsy, to say the least. We are looking for a software solution to update the remote server with any changes made to the primary server, via the Internet. Is Rsync the right product for the job ? If so, any advice on installation configuration would be much appreciated -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: rsync reference case
We use it for as off-site backup for 35 sites, 700 GB in total. We are Sita, part of the Suez-group. Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * Simon Szeto [EMAIL PROTECTED] Sent by: To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: .samba.orgSubject: rsync reference case 12/03/2003 03:13 Dear all, I would like to propose rysnc feature to our customer. Do you have any reference case from other company that there is using rsync in the production server? regards, Simon _ §ÚªºÅº¶Æ(®e¯ª¨à)¡A¥ª¾F¥k¨½(§õ§J¶Ô)¡A§A³Ì¬õ(Twins)... ¹L¤dº¤â¾÷¹aÁn ÂIRing³£±o http://ringtone.yahoo.com.hk -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: rsync in cygwin as service
You should perhaps also mention that the tools you refer to are part of the Resource Kit and are not available as such in Windows. Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 Nitin Agarwal [EMAIL PROTECTED]To: Dmitry Melekhov [EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED] rsync-bounces+bart.coninckx=watco.be@listsSubject: Re: rsync in cygwin as service .samba.org 11/02/2003 14:40 Please respond to nitin.agarwal Hi! U can try the following way 1) Make a directory called RSYNC and copy rsync.exe, supporting dll files (cryptogrph-0.dll, cygwin1.dll), srvany.exe in this directory 2) now go to dos prompt .. (c:\rsync) and give command instsrv Rsync c:\rsync\srvany.exe 3) this will install the service in win2k... 4) now u need to give all parameters in services in control panel...for running it in daemon. Nits. Dmitry Melekhov wrote: Hello! I want to start rsync on w2k as service. If I try to start rsync from command line it simply do nothig: $ rsync --daemon Administrator@dm-w2ks /usr/bin $ ps PIDPPIDPGID WINPID TTY UIDSTIME COMMAND 480 1 480480 con 500 04:15:03 /usr/bin/bash 1428 4801428 1420 con 500 05:26:46 /usr/bin/ps Administrator@dm-w2ks /usr/bin So I'm trying to set it as service: C:\cygwin\bincygrunsrv -I RSYNC -d Rsync -p /bin/rsync.exe -a --daemon --n o-detach C:\cygwin\bincygrunsrv -S RSYNC cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. And I see in event log: The description for Event ID ( 0 ) in Source ( RSYNC ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: RSYNC : Win32 Process Id = 0x148 : Cygwin Process Id = 0x148 : starting service `RSYNC' failed: signal 11 raised. $ rsync --version rsync version 2.5.5 protocol version 26 Any ideas? Thank you! -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Securing Rsync
It's my understanding that passwords don't work in a cygwinned rsync. You might consider limiting the modules to a certain trusted IP-address . Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * Mike Winfrey Mike@intellisolvTo: [EMAIL PROTECTED] .comcc: Sent by: Subject: Securing Rsync rsync-admin@lists .samba.org 27/01/2003 16:18 I have a rsync server set up on a win2k server and a win xp pro computer is my client. It's working very well doing the anonymous transfers. However, I've tried setting up a password file and not having any success. rsyncd.conf on my server: use chroot = false strict modes = false hosts allow = * [serverbu] auth users = user path = c:/serverbu read only = no list = no secrets file = c:/rsync/rsync.secrets rsync.secrets on my rsync server user:password I run the following command string on my client computer: C:\rsync\rsync.exe -av --delete --password-file=/rsync/rsync.secrets /cygdrive/C/Documents and Settings/All Users user@server::serverbu/ the password file on my XP machine looks just like the one on the server. I get an error stating password file must not be other-accessible continuing without password file using RSYNC_PASSWORD environment variable. @ERROR: auth failed on module serverbu I tried set rsync_password=password as well but that doesn't work either. Any ideas on how I can get this working with passwords. Thanks, Mike Winfrey -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Securing Rsync
I seem to remember that one of the links in resources at www.rsync.org pointed to a page that talked about running rsync on a Win32. This page warned for the use of passwords. But if it works, it works, right? Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * == Disclaimer == The information in this email is confidential, and is intended solely for the addressee(s). If you are not the intended recipient of this email please let us know by reply and then delete it from your system; you should not copy this message or disclose its contents to anyone, not even by forwarding it. Due to the integrity risk of sending emails over the Internet, Sita ICT will accept no liability for any comments and/or attachments contained within this email. == Disclaimer == Max Bowsher [EMAIL PROTECTED]To: Mike Winfrey [EMAIL PROTECTED], [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: Securing Rsync 27/01/2003 17:49 [EMAIL PROTECTED] wrote: It's my understanding that passwords don't work in a cygwinned rsync. I see no reason why that should be the case. Max. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
change codepage on Linux to overcome strange characters
Hi all, I've posted this question before, without luck unfortunately: I'm doing an rsync in between the Novell Netware ported version (daemon) and a Linux client (version 2.5.5). Filenames with odd characters in them (like é for instance, hope you can see this) are not synchronized correctly. Can I overcome this by changing the codepage on Linux? Or should I take steps to solve this? Thx! Kind regards, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
once again: strange characters
Hi all, I'm currently testing the Novell Netware version of Rsync 2.5.5. I use a RH 80 linux client, the Novell server runs the daemon. The Novell server has 850 (=latin1 ?) as codepage and users sometimes create filenames with odd (international) characters in them. These appear to be converted into other characters or question marks by rsync, or are simply left out. I've had the same thing while ll doing rsyncs on NT with Cygwin. I've solved it back then by changing codepages and one registry entry. Anyone any idea what to do to get this fixed? Just change the codepage on the linuxbox? Or something additional? Thx already! Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: long directory name problem
We experience that as well. We use (sadly) Rsycn in Win32 environment. I hear it's due to the Cygwin utilities. Rgds, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 28 22 Fax: + 32 (0) 14 62 41 47 * Dave Dykstra [EMAIL PROTECTED]To: elijah reyen [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Sent by: Subject: Re: long directory name problem rsync-admin@lists .samba.org 01/08/2003 21:17 I've never heard of a name length limit. One operating system(s) and rsync version(s) are you using? - Dave On Wed, Jan 08, 2003 at 07:32:19AM -0800, elijah reyen wrote: Does rsync has directory name length limit? I was trying to rsync a directory that has the name length of 34 characters and getting permission denied error. $ rsync -avz --delete --force -e ssh /usr/local/apache/htdocs 192.168.0.2:/usr/local/apache building file list ... readlink htdocs/CorporateLegalTimesEDITORIAL_files/cBug_blueXs.gif: Permission denied readlink httpd/html/CorporateLegalTimesEDITORIAL_files/title_a.gif: Permission denied When I rename the directory to about half of its original length, the error goes away. Any advise are appreciated. -- ER -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: rsync 2.5.5 port to Novell NetWare
We've been waiting for months for this, this is incredible good news. Thx a million for posting! Rgds, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 82 22 Fax: + 32 (0) 14 62 41 47 * Rick Moen rick@linuxmafia.To: [EMAIL PROTECTED] com cc: Sent by: Subject: rsync 2.5.5 port to Novell NetWare rsync-admin@lists .samba.org 03/12/2002 10:17 Hullo, all. I diligently consulted the suggested reading on the way in: Welcome to the [EMAIL PROTECTED] mailing list! PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.tuxedo.org/~esr/faqs/smart-questions.html 'Twas a quick read, given that I'm the co-author. ;- I recently received an odd inquiry from someone I didn't know at all, posting to me in private mail from an IT concern in South Africa. He had heard mention of an rsync port to Novell NetWare, i.e., implemented as a NetWare Loadable Module (NLM), which can thus run as a network daemon on NetWare servers, and as such is bundled with a Novell-produced hardware appliance. The fellow wanted to know if Novell was obliged under the GNU GPL to provide him (1) binaries, (2) source code, or (3) both. I took the time to explain matters to him, and suggest that Novell would likely be delighted to send him at least the NLM binary, if he could find the correct person to ask. He did so, they complied, and moreover he lofted a copy over of the furnished files over to me. Index entry from my machine's public files collection, in http://linuxmafia.com/pub/netware/ (where they are _now_ available), should say it all: 117367 Dec 3 00:47 rsync-netware-nlm-2.5.5.tar.gz This is a pair of Novell Netware NLM compiled-binary executables for the rsync utility (the main daemon and a semaphore-based rsync-service stopping utility), with a sample configuration file, welcome-text file, and scripts to run the two NLMs. This is a port to NetWare of rsync v. 2.5.5, provided by Novell South Africa to a customer, who e-mailed them to me. He says they are included on Novell's Nterprise Branch Office CD #2. I believe all the code to be lawfully redistributable and subject to the GNU GPL. I have no idea where the matching source code can be found. I personally have no current use for those files, but figure anyone who should be told is probably on this mailing list. If Novell's interest in this matter comes as a surprise to people, please be aware that recent NetWare versions have included quite a bit of open-source software, including XFree86 on the local server console(!). Very likely, anyone interested in receiving copies of their patches can achieve success by _politely and patiently_ asking, bearing in mind that they will undoubtedly be very unaccustomed to such queries, and you may have to try several times to reach the correct person. Once again, I have no business relationship to any of the parties in this matter: The whole affair dropped in my lap out of the blue Johannesburg skies, and I'm posting here purely pro bono publico. I'll probably be obliged to answer I don't know to most of the obvious questions. -- Cheers, A good man has few enemies; a ruthless man has none. Rick Moen [EMAIL PROTECTED] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart
hosts allow in NT: no DNS-name?
Hi all, when using DNS names in the hosts allow entry of rscyncd.conf of a Cygwin Rsync, this does not seem to work, access not allowed. Filling in the corresponding IP address does work however. Anyone experienced this before? Thanks, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 82 22 Fax: + 32 (0) 14 62 41 47 * -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Will pay $50 for a MingW build of latest rsync for Win32
What's the problem with Cygwin?? Been running it for 6 months now without any problems Rgds, Bart Coninckx Network Administrator CNE, ASE * Sita ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 62 82 22 Fax: + 32 (0) 14 62 41 47 * Ed Suominen [EMAIL PROTECTED]To: [EMAIL PROTECTED] cc: Sent by: Subject: Will pay $50 for a MingW build of latest rsync for Win32 rsync-admin@lists .samba.org 26/11/2002 02:59 I need to distribute rsync (useable for both client and --daemon) on Win32. Distributing cygwin1.dll is, well you know, a bad idea. I took a shot at building under MingW but ran into an ugly looking error: checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t I will pay $50 for a MingW build of latest Rsync for Win32 along with whatever libraries or source changes needed to make the build work. Payment will go to the first person to send me what I need. I'll post here to indicate if/when that happens. Prefer to pay via PayPal, but will do via check if necc. Need this in a couple of days (from the 11/25/02 date of this posting). /--- Ed Suominen --\ | Registered Patent Agent | Independent Inventor of EE Technology | Author, PRIVARIA Secure Networking Suite || Freely available at http://www.privaria.org \--- http://www.eepatents.com -/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
important caveat with Rsync on NT and dayligt savings time
Hi, just a small warning about something that has, like we experienced just last weekend, great consequences. We rsync more than 20 Netware servers through a mapping on an NT machine to central Rsync destination servers (also NT). Last weekend our clock changed to Daylight Savings Time. It appears that NT changes the file stamps on NTFS volumes accordingly (Q129574 on their suppor site). This means that from Sunday 00:00 AM on, all files on the dest. serves had a timestamp of one hour less than their original counterparts (Netware, which leaves the timestamps alone). The result is that the syncs have been busy for the last 2 days trying to catch up and hence we don't have a backup for the moment. Microsoft calls it a feature, I call it poor programming. You've been warned. Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
RE: important caveat with Rsync on NT and dayligt savings time
No matter what my understanding's like: the timestamps on the files changed after last weekend, resulting in a mismatch between source and destination files. I've changed the clock to a timezone one hour ahead to compensate, did a F5 in a particular folder and miraculously the timestamps followed along with one hour. Unfortunately, it was already too late for a lot of files ... Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * [EMAIL PROTECTED] et To: [EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED] rsync-admin@listsSubject: RE: important caveat with Rsync on NT and dayligt savings time .samba.org 10/29/2002 20:25 Howdy... Fortunately you posted the KB article number, and having read the article, I see you have a bit of a misunderstanding of what is going on. First off, NT/2000 uses a offset from GMT, which does not observe Daylight Savings Time (DST), for storing the time in the Event Log, and NTFS volumes. This also affects Windows 95, Windows 98, Windows ME, and Windows XP platforms viewing the same data remotely. On the other side of file systems, the FAT16, and FAT32 filesystems use the number of seconds that have elapsed since January 1, 1980 to store the time, rather than a time offset from GMT. In case you want to avoid this happening in the future, at least until a solution can be developed, implemented, and tested, you can turn off DST. This will mean that for one-half of the year, your clock will be out-of-sync by 1 hour, but it may be better to be off by 1 hour to avoid this problem in the future. I appreciate you warning others about this, as it has identified a cosmetic bug that I was completely unaware of. Necessity is the mother of invention, and this nuance will be addressed in my implementation of rsync as a service for Win32. Wolfe -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: important caveat with Rsync on NT and daylight savings time
That's actually a very good suggestion. First I figured that in this way files changed within the hour after creation would be ignored, but they probably represent a very small minority anyway. On the other hand, this does not really rectify the situation, but will allow us to postpone the real sync again until, let's say a holiday, where we have plenty of time to sync. Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * jw schultz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent by: cc: rsync-admin@listsSubject: Re: important caveat with Rsync on NT and dayligt savings time .samba.org 10/29/2002 21:30 On Tue, Oct 29, 2002 at 09:06:26PM +0100, [EMAIL PROTECTED] wrote: No matter what my understanding's like: the timestamps on the files changed after last weekend, resulting in a mismatch between source and destination files. I've changed the clock to a timezone one hour ahead to compensate, did a F5 in a particular folder and miraculously the timestamps followed along with one hour. Unfortunately, it was already too late for a lot of files ... In your situation you might want to use --modify-window=3600 and each night either reduce the window or apply it to fewer files. That way you can spread the load. You'll need to do this again in April 8-( Holloween came early for you. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: important caveat with Rsync on NT and dayligt savings time
If I understand the manpages correctly, if you use -t, the criterium for syncing files is the difference in timestamp, not in size. There are plenty of situations where the size of a file stays identical, while it's contents has changed. If you omit -t, all files are synced. Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * == Disclaimer == The information in this email is confidential, and is intended solely for the addressee(s). If you are not the intended recipient of this email please let us know by reply and then delete it from your system; you should not copy this message or disclose its contents to anyone, not even by forwarding it. Due to the integrity risk of sending emails over the Internet, Sita ICT will accept no liability for any comments and/or attachments contained within this email. == Disclaimer == Lachlan Cranswick l.m.d.cranswick@To: [EMAIL PROTECTED] dl.ac.ukcc: Sent by: Subject: Re: important caveat with Rsync on NT and dayligt savings time rsync-admin@lists .samba.org 10/29/2002 21:35 I think this day light savings time stamp issue also affects Win98 as well - at least on a Win98 PC I use. Rsync insists on updating all the files fully. Shouldn't it just be resetting the times on the files if the files are the same size - or am I missing something here? Lachlan. Your description is as confusing as the KB article (at least to me). Part of the problem with the KB article is that it focuses on localtime displays rather than internals. .From what i can tell FAT stores timestamps in localtime. NTFS uses a GMT based timestamp. I can see one of two places where we get bit. As a matter of curiosity i'd like to know which. 1. When the FAT timestamps are converted to GMT it is done based on the current TZ offset rather than the TZ offset in effect when the timestamp was made. 2. The NT equivalent of stat(2) is converting the NTFS timestamps to localtime and then the cygwin libs convert it back to GMT. It would appear that the problem could be avoided either by using NTFS or FAT filesystems. Yes? It certainly sounds filesystem dependant. I'd guess that the correct place to fix this is in the cygwin libs. They could be tweaked to recognize the TZ calculation error of the NT libs. There might need to be a test for filesystem type (if possible) or a switch to determine behavior otherwise what fixes some will break others. --- Lachlan M. D. Cranswick Collaborative Computational Project No 14 (CCP14) for Single Crystal and Powder Diffraction Birkbeck University of London and Daresbury Synchrotron Laboratory Postal Address: CCP14 - School of Crystallography, Birkbeck College, Malet Street, Bloomsbury, WC1E 7HX, London, UK Tel: (+44) 020 7631 6850 Fax: (+44) 020 7631 6803 E-mail: [EMAIL PROTECTED] Room: B091 WWW: http://www.ccp14.ac.uk/ -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Win32 Version?
We use Rsync on NT very intensively. In fact, right now I backup about 25 servers across WAN-links with the lates version of Rsync. You can compile it yourself to a Win32 binary by using the incredible Cygwin utilities (www.cygwin.com). Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * [EMAIL PROTECTED] et To: [EMAIL PROTECTED] Sent by: cc: rsync-admin@listsSubject: Win32 Version? .samba.org 10/25/2002 07:27 Howdy... I have searched the archives, and even read what has been posted on the site regarding a Win32 port of rsync. Though I have found a problem with everything. The URLs for building your own, or downloading the compiled binaries for the Win32 platform are no longer valid. Therein the problem lies, as the information is outdated, and still easily available on the site publicly. I imagine there are a few, and I mean a spare few, that are still using Windows 95, but most have moved onto either Windows 98, Windows ME, Windows NT 4.0, Windows 2000, Windows XP, or Windows .NET, but not necessarily to Unix, Linux, Solaris, AIX, or other non-Microsoft platform. I have downloaded the source code, and though I have not had a chance in which to look over it thoroughly, I hope to eventually develop enough familiarity so that I can port it over to the Win32, Win64, and .NET platforms. I know some of you may think that I am off my rocker when I mention the Win64 platform, but what you don't know is that Microsoft now has a 64-bit version of Windows XP, which can address 16 terabytes (18,446,744,073,709,551,616 bytes) of memory. I am just not sure if they have released it yet for purchase, but I do have authorized access to it, along with its support/diagnostic utilities. Now here is my question/suggestion... What is the current interest in a port of rsync to the Microsoft Windows platform? Is anyone interested in helping port rsync to the Microsoft Windows platform? I have a currently active Universal MSDN subscription, which includes Visual Studio 6.0 Enterprise, and Visual Studio .NET Enterprise Architect, and would be willing to provide any resources I have to this project if there is enough interest. In addition to this, I also have the Catalyst SocketTools Enterprise Edition library, should it be needed. For those who are interested, I would prefer an off-list reply, otherwise I may miss the message as it passes through my e-mail filters, and is placed in a different folder. Richard -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Howto to control rsync through cron
How about scheduling a script with some logic built in it that firsts checks if a previous Rsync still is running. If so, it backs off, if not it starts the sync. Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * == Disclaimer == The information in this email is confidential, and is intended solely for the addressee(s). If you are not the intended recipient of this email please let us know by reply and then delete it from your system; you should not copy this message or disclose its contents to anyone, not even by forwarding it. Due to the integrity risk of sending emails over the Internet, Sita ICT will accept no liability for any comments and/or attachments contained within this email. == Disclaimer == CAD/SysAdmin Manager To: [EMAIL PROTECTED] Cad_Manager@vipgcc: .comSubject: Howto to control rsync through cron Sent by: rsync-admin@lists .samba.org 10/24/2002 21:23 Please respond to Cad_Manager Hi, I have setup a cron job to rsync files between two servers every hour. 30 * * * * rsync -avz --delete rsyncsrv1::ftp/ /export/ftp/ This works fine most of the time, but if I have a very large file that needs to be transfered ( many tens of MBs), I run into a problem. Since the link between my two servers is slow, it can take more than an hour to complete the rsync transfer. So at the end of the hour, when the next rsync job is started by cron, the big file transfer gets aborted and a new transfer is started. Due to this the big file transfer never gets completed. I have tried to increase the time between successive cron jobs, but that is only a temporary fix untill I run into an even bigger file which causes the new settings to fail. Is there a way I can control this behaviour, and avoid this looping ? Thanks regards, -- Derric Lewis CAD/System Administrator Virtual IP Group, Inc. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: logging on client side on NT
Actually, we're not running bash, I just have rsync.exe and the necessary Cygwin dll's in one folder and run everything in CMD.EXE. I will however look into CMD.EXE's capabilities of redirecting everything to a file, but I'll probably (once again) will run into the limits of using Win32, because I don't think it has STDOUT and STDERR as in Unix. Thank you! Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * jw schultz [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: logging on client side on NT 13/09/2002 12:46 On Fri, Sep 13, 2002 at 12:15:59PM +0200, [EMAIL PROTECTED] wrote: Hi, I would like to log whatever happens with rsync on client side when it runs with Cygwin on NT4. First, I just did a redirect of the screen output to a log-file: rsync -rtv --delete --modify-window=2 --stats /cygdrive/g/users/bco/test/ bee2bs01::d/test/ c:\rsync\log\%FDATE%.log The problem with this method is that it does not redirect whatever Rsync reports as errors; because they are showed on the screen. This is a shame, because that's the info that interests us. I've fiddled around quite a bit with the --log-format= option, but I don't get any valid output, perhaps because NT uses another escape character than Unix/Linux. Anyone any ideas to still be able to capture all error messages into a logfile? The verbosity is sent to STDOUT (file descriptor 1), Errors go to STDERR (file descriptor 2). The shell is responsible for redirection, not rsync. I'm guessing that you are running bash. Look at the section entitled 'REDIRECTION' in the bash manpage. It does better job than i could here. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
RE: logging on client side on NT
I just did actually: you have to do a redirecton to two different files, like this: rsync -rtv --delete --modify-window=2 --stats /cygdrive/g/users/bco/test/ bee2bs01::d/test/ c:\rsync\log\file1.log 2c:\rsync\log\file2.log the second redirection 2 redirects all errors info two a second file. The 2 is for redirectnig STDERR. You can't use the same file, because you get a already in use error. Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * José Luis Barrera jluis.barrera@olec To: [EMAIL PROTECTED] enter.comcc: Subject: RE: logging on client side on NT 13/09/2002 13:00 Please respond to jluis.barrera I have problems with rsync in NT too, actually is w2k, and i didnt get the solution... José Luis Barrera Developer/Xpert OnLine [www.xperttesting.com] [EMAIL PROTECTED] [www.Olecenter.com] Alcobendas/Madrid By the perception of illusion, we experience reality Every picture holds a tale, every shade tells of a thousand words -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: viernes, 13 de septiembre de 2002 12:55 To: jw schultz Cc: [EMAIL PROTECTED] Subject: Re: logging on client side on NT Actually, we're not running bash, I just have rsync.exe and the necessary Cygwin dll's in one folder and run everything in CMD.EXE. I will however look into CMD.EXE's capabilities of redirecting everything to a file, but I'll probably (once again) will run into the limits of using Win32, because I don't think it has STDOUT and STDERR as in Unix. Thank you! Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * jw schultz [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: logging on client side on NT 13/09/2002 12:46 On Fri, Sep 13, 2002 at 12:15:59PM +0200, [EMAIL PROTECTED] wrote: Hi, I would like to log whatever happens with rsync on client side when it runs with Cygwin on NT4. First, I just did a redirect of the screen output to a log-file: rsync -rtv --delete --modify-window=2 --stats /cygdrive/g/users/bco/test/ bee2bs01::d/test/ c:\rsync\log\%FDATE%.log The problem with this method is that it does not redirect whatever Rsync reports as errors; because they are showed on the screen. This is a shame, because that's the info that interests us. I've fiddled around quite a bit with the --log-format= option, but I don't get any valid output, perhaps because NT uses another escape character than Unix/Linux. Anyone any ideas to still be able to capture all error messages into a logfile? The verbosity is sent to STDOUT (file descriptor 1), Errors go to STDERR (file descriptor 2). The shell is responsible for redirection, not rsync. I'm guessing that you are running bash. Look at the section entitled 'REDIRECTION' in the bash manpage. It does better job than i could here. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before
Re: Image (clone) of hard drive using rsync
The only way to go about this, is to make a local imagefile first and transfer this later in Windows environment with rsync. Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * == Disclaimer == The information in this email is confidential, and is intended solely for the addressee(s). If you are not the intended recipient of this email please let us know by reply and then delete it from your system; you should not copy this message or disclose its contents to anyone, not even by forwarding it. Due to the integrity risk of sending emails over the Internet, Watco ICT will accept no liability for any comments and/or attachments contained within this email. == Disclaimer == Theo van der Merwe To: [EMAIL PROTECTED] theodor2@hotmail cc: .com Subject: Image (clone) of hard drive using rsync Sent by: rsync-admin@lists .samba.org 11/09/2002 09:35 Is it possible to make a complete image (or clone) of your hard drive (FAT or NTFS) using rsync? Is it possible to make incremental backups of the image (without having to duplicate the source files)? When restored to a new hard drive it should be bootable again and should be an exact copy or clone of the original hard drive(i.e. the program should firstly copy the system file information necessary to boot). Thanks in advance for your help. Best regards, Theo van der Merwe ([EMAIL PROTECTED]) _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
limit of 256 characters in pathname
Hi, We use rsync on NT (server and client) and we get errors on filenames with a path that has in total more than 256 characters. This seems to be caused by a limit in rsync, not in NT. Is there a way to break this limit withuo having to manually shorten all this filenames? Thx already! Rgds, Bart Coninckx Network Administrator CNE, ASE * Watco ICT Services Lilsedijk 19 B-2340 Beerse Belgium e-mail: [EMAIL PROTECTED] Tel: + 32 (0) 14 60 99 42 Fax: + 32 (0) 14 62 41 47 * -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html