Hello All, I am setting up a samba backup UNIX box. It will periodically login onto a windoze box(with smbclient), pickup the files, and save them. The problem is that I couldn't make any error correction in case of power blackout or anything similar. That is, while backing up, if I shutdown the WIN machine, one I'm backing up, smbclient goes crazy, giving broken pipe error. Since the machine will be unattended, I need to be able to detect whether backup has been completed or not. A better option would be to write a small shell script which would detect 'broken pipe' and according to that, backup up the machine once more. Any ideas, solutions ? Thanx, Omer Music
Hello, anyone knows how to back up a unix/linux box to w2k ? On the unix/linux box samba runs, but the w2k backup wants to follow the softlinks. So it runs into infinite cycles. Is there a way to avoid this? Is there a way to mark softlinks as shortcuts? Thanks Szilard
>> On Fri, Apr 19, 2002 at 10:28:45AM -0500, Szilard wrote:>> > Hello, >> > anyone knows how to back up a unix/linux box to w2k ? >> > On the unix/linux box samba runs, but the w2k backup=20 >> > wants to follow the softlinks. So it runs into infinite cycles. >> > Is there a way to avoid this? >> On the Unix box, use tar to make an archive of everything you want to back >> =20 >> up. Then use the Win2k box to archive the tar file. -Nathan If you are using ACLs, you just lost them. >> --=20 >> +-------------------+---------------------+------------------------+ >> | Nathan Lutchansky | lutchann@litech.org | Lithium Technologies | >> +------------------------------------------------------------------+ >> | I dread success. To have succeeded is to have finished one's | >> | business on earth... I like a state of continual becoming, | >> | with a goal in front and not behind. - George Bernard Shaw | >> +------------------------------------------------------------------+ >> -- NextPart -- >> Attached File: c:\program >> files\goldmine\MailBox\Attach\gaf\FILE5004.pgp-signature Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.com
Hello I am not sure about the following advice especially if you are using ms-dfs but you could try "follow symlinks = no" HTH Message: 6 Reply-To: "Szilard" <szilard@int.com> From: "Szilard" <szilard@int.com> To: <samba@lists.samba.org> Date: Fri, 19 Apr 2002 10:28:45 -0500 Organization: INT INC Subject: [Samba] BacBackupkup Hello, anyone knows how to back up a unix/linux box to w2k ? On the unix/linux box samba runs, but the w2k backup wants to follow the softlinks. So it runs into infinite cycles. Is there a way to avoid this? Is there a way to mark softlinks as shortcuts? Thanks Szilard
I have a PDC samba, I want to save some files in case of crash, I just need to save passwd and /etc/samba directory ? __________________________________________________________________________ Venha para a VilaBOL! O melhor lugar para voc? construir seu site. F?cil e gr?tis! http://vila.bol.com.br
In the documentation that comes along with SWAT, there is a section entitled something along the lines of, "Making a Samba BDC for a Samba PDC". I am in the process of learning LDAP before I build the other server to act as a BDC, but I will be building that quite soon. That section of the SWAT Documentation should answer some if not all of your questions. Good luck! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -----Original Message----- From: Irving Carrion [mailto:icarrion@allinterior.com] Sent: Thursday, December 05, 2002 9:14 AM To: samba@lists.samba.org; cantisan; Robert Adkins Subject: RE: [Samba] Backup Depending on version and operating system. But in Debian it's: /etc/samba /var/lib/samba /var/run/samba /var/cache/samba Although I'm not to sure about "/var/cache/samba". This list does not include the binaries though, but I don't think you need to back up those. -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] On Behalf Of cantisan Sent: Thursday, December 05, 2002 8:52 AM To: samba@lists.samba.org Subject: [Samba] Backup I have a PDC samba, I want to save some files in case of crash, I just need to save passwd and /etc/samba directory ? ________________________________________________________________________ __ Venha para a VilaBOL! O melhor lugar para voc? construir seu site. F?cil e gr?tis! http://vila.bol.com.br -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba