[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Samba - backup from XP

Posted on 2004-10-23
14
Medium Priority
?
259 Views
Last Modified: 2013-12-06
Newbie
I have a Samba server FD2 now working after many days. My last problem is this.
When I use a backup system on the XP workstation to write to DVD, the backup software (BackupMyPC and Double Image) will not see the files on the Samba server.
I can copy files backwards and forwards with Explorer or Total Commander and the applications run fine.
Basically my Samba config looks like this:
Global
Workgroup = Newgroup
security = share
guest = ok
[Accounts]      ......            (just one of the folders)
comment = Accpac Plus
path = /home/accounts
browseable = yes
guest = ok
writeable = yes
force group = accounts ...... I also tried root
force user = root
create mask = 0777
directory mask = 0777

The above seems to be the only one I can get to work, so please forgive the use of root for group & user force.

I have a RH 7.3 from 2 years ago working with BackupMyPC. This is only my 2nd Linux install.
0
Comment
Question by:Alex Angus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 3
  • +1
14 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12387673
The easiest way around this would be to map a drive to your samba share - your backup software will then see this. You can do this from explorer or from the command prompt. To map your accounts share to the z: drive open a command prompt and use the command "net use z: \\samba-server\Accounts" (without the quotes). You will obviously have to change "samba-server" to the netbios name of your linux box. Then just include the z: drive in your backup.
0
 
LVL 2

Expert Comment

by:hoonexpert
ID: 12387684
Map a samba drive on your Windows XP PC. Incase if you dont know how to map here's the tip. On the My Computer icon ->select and right click -> you should see Map Network Drive Option -> Click on it and u will see 2 options Drive and Folder --> let drive letter be any (u may change its logical letter) and in folder --> type \\<samba-server-name>\\Accounts -> Click reconnect at logon if u want to reconnect for all logins to windows XP. Now in ur explorer u will a logical drive (recently selected above). Thats it.

Regards,

Manish.
Baroda.
India.
0
 

Author Comment

by:Alex Angus
ID: 12389960
Already have mapped drive.
The mapped drive appears in the backup software, in my case L: drive is mapped to accounts foledr on Samba server, but when you click on that drive you would expect the files or sub-folders to appear on the RH side. However, nothing appears. Click on C: local drive to the XP PC and they appear, click on Samba L: drive, nothing appears.

I will try the NETBIOS name as I have not done that.

Someone from Double Image advised that rights are very critical in the backup software. But I already have root, so what more?

0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12390388
I dont know what your problem is but a workaround would be to use a batch file to copy the files from the L: drive to the C: drive before backup. xcopy l:*.* c:\accounts would do it.
0
 

Author Comment

by:Alex Angus
ID: 12391675
What I have done for now is zip the files (1.6Gb) accross and then back up the zip.

I would however like to get Samba working correctly.
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12392842
If samba is working from explorer then I would say the problem is with your backup software, not samba.
0
 

Author Comment

by:Alex Angus
ID: 12393334
I also thought so, but:
1. It works on other servers, both Windows and Linux/Samba (RH 7.3)
2. The agents say it works.
3. I tried Double Image as I was told that works
4. Double Image does the same thing.

Makes me think it must be my setup. See original question with my Samba setup.

0
 
LVL 2

Expert Comment

by:Nirev
ID: 12394691
Were there any messages from samba within your logs when you tried to access the shared folder?
What version of samba are you running?
Try Upgrading your current version of samba and see if it helps.
Your config is ok.
0
 

Author Comment

by:Alex Angus
ID: 12440155
No messages in the logs.
Samba version 3, as used in latest Fedora 2 Core

Configured a new system yesterday but results the same.
0
 
LVL 2

Expert Comment

by:hoonexpert
ID: 12442261
Run #iptables -F on the fedora server and try.

regards,

manish
baroda.
india.
0
 

Author Comment

by:Alex Angus
ID: 12442796
did the flush but no change.

In one of the manuals I read about a Samba option called descend, veto files and hide files. From what I gather the defaults of these should all be to show the files but maybe something has gone wrong. Don't know these options of Samba.

Also, I see the files in explorer, so why not in Backup applications.
0
 
LVL 2

Expert Comment

by:hoonexpert
ID: 12443111
Problem is most probably with ur backup application then. So pls check if it supports virtual drive or not ?

regards,

manish.
0
 

Author Comment

by:Alex Angus
ID: 12443158
Works fine with Red Hat 7.3 and Samba version 2.
Also tried Double Image which supports Samba. Does the same thing.
0
 
LVL 2

Accepted Solution

by:
hoonexpert earned 1500 total points
ID: 12450990
Simple if it works fine with 7.3 and not with fedora, it means that libraries files reqd are older version. Try contacting the vendor and inquire for support rpms reqd/used in the package. You can install the old rpm using -oldpkgs option of rpm. I had problem in one of the program which need older lib 4.1 and FD 2 has lib 4.2 so i kept both.

regards,

manish.
baroda.
india.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question