Given that rsync, smbclient and smbmount are all kissin' cousins, this seems like a good place to post this question. I'm building a linux backup server which will be archiving other linux and some NT servers. The Linux boxes are being rsynced over ssh, so everything is happy there. The NT servers were initially going to be smbmounted and rsynced, but this ended up hanging about 30% of the time on servers with large amounts of data. The next idea was to use smbclient -T and pipe it to tar -x and straight into it's proper place. I was going to use the Windows archive bit to ensure that only changed files are brought in every night. This has the problem that deletions are not accounted for and thus the backups would swell uncontrolled. I tried running n rsync daemon (Service) on the NT box, but rsync wouldn't run as anyone but user nobody (or whatever the windows equivalent is) so this made it impractical for user directories, and such. This was several months back, so I don't know if that's been changed since. I'm now considering writing a perl hack which would do a recursive smbclient ls on the share and compare it against the mirror archive. This seems like a very cumbersome way to do this. Another alternative is Cygwin, but in order to maximize portability, I'd rather limit the amount of configuration necesary on the client side.. Has anyone had to do something similar with more success than I've had? any pointers would be appreciated. -Ron
On Fri, 15 Mar 2002, The Fresh Prince of Darkness wrote:> The Linux boxes are being rsynced over ssh, so everything is happy > there. The NT servers were initially going to be smbmounted and > rsynced, but this ended up hanging about 30% of the time on servers with > large amounts of data.Unpatched smbfs versions aren't too happy with files over 2G. So if you have such files that could be why. As smbfs maintainer I am interested in details on this if you still have them or can be bothered to reproduce it. Kernel version used, error messages (dmesg) and any other info you think may be relevant.> Has anyone had to do something similar with more success than I've had? > any pointers would be appreciated.Someone else on this list was setting up NT backups to be sent to a samba server. You could to that and then rsync the NT backup files. /Urban
Not nearly so much fun, but I just revamped our setup with a Novanet 8.5 for Linux solution. $500 gives you a central backup server license and unlimited client licenses for all your Linux and Windows machines. Took about 20 mins to install the server, five windows/linux clients and setup up the backup regime. We have actually been using Novanet for a couple of years now, backing up Novell, Windows and Linux onto the one tape. Works well. Occasionally the tape rotation software has issues but it gets the job done. We also do a backup on some assorted webservers on two different leased lines. The central Novanet Linux machine sits there with two NICs for each network and scoops it all onto one tape each night. Everything bar the Novanet ports are closed down (couple of high UDP ones - forget off the top of my head) so it is pretty secure as well. Noel -----Original Message----- From: The Fresh Prince of Darkness [mailto:ghstwrtr@evilgenius.net] Sent: 15 March 2002 20:59 To: samba@lists.samba.org Subject: [Samba] NT Backups Given that rsync, smbclient and smbmount are all kissin' cousins, this seems like a good place to post this question. I'm building a linux backup server which will be archiving other linux and some NT servers. The Linux boxes are being rsynced over ssh, so everything is happy there. The NT servers were initially going to be smbmounted and rsynced, but this ended up hanging about 30% of the time on servers with large amounts of data. The next idea was to use smbclient -T and pipe it to tar -x and straight into it's proper place. I was going to use the Windows archive bit to ensure that only changed files are brought in every night. This has the problem that deletions are not accounted for and thus the backups would swell uncontrolled. I tried running n rsync daemon (Service) on the NT box, but rsync wouldn't run as anyone but user nobody (or whatever the windows equivalent is) so this made it impractical for user directories, and such. This was several months back, so I don't know if that's been changed since. I'm now considering writing a perl hack which would do a recursive smbclient ls on the share and compare it against the mirror archive. This seems like a very cumbersome way to do this. Another alternative is Cygwin, but in order to maximize portability, I'd rather limit the amount of configuration necesary on the client side.. Has anyone had to do something similar with more success than I've had? any pointers would be appreciated. -Ron -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Ron, If I were you, I would seriously consider a commercial product. I have been looking around and I have not found any OpenSource solution for doing what you want that backs up the NT security info. (i.e. the ACLs). Even running the standard (i.e. free/included) Win2000 backup software by hand and sending the output to a Samba Share does not capture this data. I don't now anything about Novanet (below), but the price seems very reasonable. Note:=20 Yes I know that there are ways to backup the Samba Share complete with ACLs. The hard part is backing up a connected NT server complete with ACLs. Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.com >> Not nearly so much fun, but I just revamped our setup with a Novanet 8.5 >> for >> Linux solution. $500 gives you a central backup server license and >> unlimited client licenses for all your Linux and Windows machines. Took >> about 20 mins to install the server, five windows/linux clients and setup >> up >> the backup regime. >> We have actually been using Novanet for a couple of years now, backing up >> Novell, Windows and Linux onto the one tape. Works well. Occasionally >> the >> tape rotation software has issues but it gets the job done. We also do a >> backup on some assorted webservers on two different leased lines. The >> central Novanet Linux machine sits there with two NICs for each network >> and >> scoops it all onto one tape each night. Everything bar the Novanet ports >> are closed down (couple of high UDP ones - forget off the top of my head) >> so >> it is pretty secure as well. >> Noel >> -----Original Message----- >> From: The Fresh Prince of Darkness [mailto:ghstwrtr@evilgenius.net] >> Sent: 15 March 2002 20:59 >> To: samba@lists.samba.org >> Subject: [Samba] NT Backups >> Given that rsync, smbclient and smbmount are all kissin' cousins, this=20 >> seems like a good place to post this question. I'm building a linux=20 >> backup server which will be archiving other linux and some NT servers. >> The Linux boxes are being rsynced over ssh, so everything is happy=20 >> there. The NT servers were initially going to be smbmounted and=20 >> rsynced, but this ended up hanging about 30% of the time on servers with=20 >> large amounts of data. >> The next idea was to use smbclient -T and pipe it to tar -x and straight=20 >> into it's proper place. I was going to use the Windows archive bit to=20 >> ensure that only changed files are brought in every night. This has the=20 >> problem that deletions are not accounted for and thus the backups would=20 >> swell uncontrolled. >> I tried running n rsync daemon (Service) on the NT box, but rsync=20 >> wouldn't run as anyone but user nobody (or whatever the windows=20 >> equivalent is) so this made it impractical for user directories, and=20 >> such. This was several months back, so I don't know if that's been=20 >> changed since. >> I'm now considering writing a perl hack which would do a recursive=20 >> smbclient ls on the share and compare it against the mirror archive.=20 >> This seems like a very cumbersome way to do this. >> Another alternative is Cygwin, but in order to maximize portability, I'd=20 >> rather limit the amount of configuration necesary on the client side.. >> Has anyone had to do something similar with more success than I've had?=20 >> any pointers would be appreciated. >> -Ron >> --=20 >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba >> --=20 >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba