• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

file server backup solution PITA with linux

AMD_Gamer

Fully [H]
Joined
Jan 20, 2002
Messages
18,287
im trying to build a ubuntu or some kind of linux box for backup/file server for my main vista rig and it has been a royal pain in the ass PITA! anyways i have used ubuntu alot i had it as my main OS on my laptop for a long time but now i am trying to turn one of my old rigs into a file backup server with ubuntu and i have had nothing but trouble.

i installed Ubuntu setup samba had all sorts of trouble doing that, shared a few folder but the permissions are all messed up

to access the shared folders from windows i need to create a new account on windows because you cant just share the folders fore guests in linux you need to login with a username and password from windows and then when you copy the data over only that user can access them on the linux machine so you cant do remote desktop and fix stuff.

here is what im looking for.

a way to setup share folders on the Ubuntu or linux box and not have to put in a username and password from windows, just like a shared folder on a windows machine with full guest acces so i can backup and use files on the server without any hassle in windows.

is this possible?
 
This may or may not help, but I run BackupPC from Ubuntu servers to back up all of our laptops at work, as well as the file server, email server etc - it's in the Ubuntu repos, and is relatively simple to set up.

It might be complete overkill for what you need, but take a look:

http://www.howtoforge.com/linux_backuppc

It does differential backups, and can handle multiple external backup hard drives if need be.

If that doesn't do it for you, look into rsync (there's a Windows client, which will help).
 
sounds like your samba configuration is in "user" mode instead of "share" mode (share mode turns off the the requirement to login into any samba shares, with the exception of your users' home directories)

Check your /etc/samba/smb.conf in the global section
 
sounds like your samba configuration is in "user" mode instead of "share" mode (share mode turns off the the requirement to login into any samba shares, with the exception of your users' home directories)

Check your /etc/samba/smb.conf in the global section

yes but when you try to get to the linux machine from windows network neighborhood it still asks for username and pass
 
I was having the same problem you are. Took me all day to get it going. Take a look at a couple tutorials so see what's going on with your server. I used this one to get everything set up but I was stuck after a bit. It still tells how to make sure everything is up to date and how to install webmin. I found webmin was a huge help in making the necessary changes once it was up and running.

Ubuntu 7.10 (Gutsy Gibbon) LAMP Server Setup

This one helped with the Samba smb.conf settings.

HOWTO: Setup Samba peer-to-peer with Windows

And this one helped me get it open to my windows machines when I ran into problems.

Serving Your Home Network on a Silver Platter with Ubuntu

Unfortunately it took all 3 to get things going like I needed to but it seems to be working great now.
 
Oh I forgot to mention, it must be set up right since I booted into Vista and was able to connect without doing a thing.
 
Granted it wasn't on Ubuntu (I used Slackware), I set up samba on my server here and it works fine. Gotta be sure to specify public="yes" for the samba share. If that doesn't let you in, make sure you have a samba user with the same name as on the windows machine.
 
Don't forget to chmod the directory you want to share as well. I had that issue a few weeks back with a samba file server :p
 
ok i got it working, just had to change the security to share and chmod 777 the folder im sharing now it works great!

now one more weird thing, every backup program i have used works fine to backup to the share except the windows vista backup and restore ntbackup or whatever its called, when you select the samba share it STILL says it needs a username and password:confused: i know this is a problem with windows but its dumb!
 
I feel the need to comment on the subject of 777 permissions, for the benefit of newbie Linux users reading this thread. 777 permission on a file allow any user on the machine to read, write, and execute it. It is frequently used by newbie Linux users (and bad admins, too) as a "fix" for problems encountered while setting up a new service.

777 permissions on any directory or file can be a security problem. If the box in question is running any sort of process that has (or should have) restricted access to the filesystem, DO NOT USE 777 PERMISSIONS ON ANYTHING. Processes that fit into this category are any sort of public server (web, mail, etc). And no, chroots will not protect you.

Using chmod 777 is never the right way to get something to work. The security implications may not matter for the OP, but his "solution" should not be seen as a valid way of fixing the problem.

</end of public service announcement>
 
but on a home based network for a single user or 2, which is most likely trusted family/roommate, chmod 777 on it....when there is 0 outside access and such, it cant be too bad from a home use standpoint.

in a production server with many users and such its not a good idea, but i think for the n00b linux/unix guy at home its reasonable and it works :)
 
My take on it is that the "n00b linux/unix guy" should learn the correct way to configure and admin the system, instead of creating yet another botnet node or hacker proxy.
 
What I use on my network is a commerical application called NovaNET 11. It fully supports Ubuntu and Vista. The best part of it is that you do not have to mess with shares or anything. Basically what you would do is install the "master server" on the Ubuntu machine and install the "agent" on the Vista machine and then you can see the entire file system for both machines and back it up to just about any type of media.

Here's the direct download link:
http://www.novastor.com/pub/demos/novanet/nnet11/NNET11SP1.zip

I think there is a program called bacula that is open source that works in a similar fashion but I've never used it.
 
Back
Top