Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Mjohnson on September 02, 2005, 05:24:41 AM
-
I am having difficulties with the Backup2ws contrib. I believe it is installed correctly, ect, I just cannot get it to mount a windows share to save the backup. Help!!! I am attempting to transfer my server and really need this to work:
Specifics: SME 6.01 fresh install
Trying for a Disaster Recovery Backup Job with the following inputs:
Standard input: no changes to the default settings
Destination: //susiecomp/smebackup
username: admin
password: *****
Log File:
Sep 1 21:54:47 cosmo e-smith[18412]: Processing event: pre-backup2ws
Sep 1 21:54:47 cosmo e-smith[18412]: Running event handler: /etc/e-smith/events/pre-backup2ws/S10mysql-delete-dumped-tables
Sep 1 21:54:47 cosmo e-smith[18412]: S10mysql-delete-dumped-tables=action|Event|pre-backup2ws|Action|S10mysql-delete-dumped-tables|Start|1125629687 469550|End|1125629687 511513|Elapsed|0.041963
Sep 1 21:54:47 cosmo e-smith[18412]: Running event handler: /etc/e-smith/events/pre-backup2ws/S20mysql-dump-tables
Sep 1 21:54:47 cosmo e-smith[18412]: S20mysql-dump-tables=action|Event|pre-backup2ws|Action|S20mysql-dump-tables|Start|1125629687 511814|End|1125629687 860298|Elapsed|0.348484
Sep 1 21:54:47 cosmo e-smith[18412]: Running event handler: /etc/e-smith/events/pre-backup2ws/S30gentle-ldap-dump
Sep 1 21:54:48 cosmo e-smith[18412]: S30gentle-ldap-dump=action|Event|pre-backup2ws|Action|S30gentle-ldap-dump|Start|1125629687 860530|End|1125629688 200558|Elapsed|0.340028
Sep 1 21:54:48 cosmo e-smith-bg: ERROR: Badly formed boolean in configuration file: "".
Sep 1 21:54:48 cosmo e-smith-bg: ERROR: Badly formed boolean in configuration file: "".
Sep 1 21:54:49 cosmo e-smith-bg: 18425: Connection to Susiecomp failed
Sep 1 21:54:49 cosmo e-smith-bg: SMB connection failed
Sep 1 21:54:49 cosmo e-smith-bg: Error occured mounting //Susiecomp/SMEbackup at /sbin/e-smith/backup2ws-backup line 64.
The line 64 in the /sbin/e-smith/backup2ws-backup is:
system("/bin/mount -t smbfs -o username=$Username,password=$Password $Destination /mnt/backup2ws.$BackupJob") == "0"
or die("Error occured mounting $Destination");
The destination is a W2K desktop in the Domain/Workgroup. I have specifically set the share to be accessible to the user name.
What am I missing? By the way, the Backup to Desktop feature works flawlessly.
-
Mjohnson
Try a a small backup first.
Create a backup job that only includes say /root
and then try that. It should only take a few minutes to complete (at most).
If that does not work then something is wrong with your config or your share.
-
Thanks for the quick reply Ray, but no joy.
Same result, same log file entries.
How would I test the ability of the server to mount the share?? That seems to be what the message is saying is failing.
MJ
-
Mjohnson
Can you browse to and access the share
//susiecomp/smebackup
using Windows Explorer from a workstation ?
-
You must enter in Username: user/domain
-
Mjohnson
> Can you browse to and access the share
> //susiecomp/smebackup
The error mesage says
//Susiecomp/SMEbackup
check your spelling, upper or lower case is the same for Windows but Linux is case sensitive
ie
//susiecomp/smebackup
is not the same as
//Susiecomp/SMEbackup
-
Gentlemen,
Thank you kindly for your prompt and very helpful advice. It is now working quite well. The solution was:
1. I double checked the accessability via browser from another computer. It required resetting my client network setup. I had MS Print and Filesharing turned off. That was a biggie. I also did the windows equivalent of chmod 777 to the folder.
2. I confirmed the spelling and capitalization issues. I was aware of Linux sensitivity. I was not sure if the mounting designation was correct using // forward strokes in lieu of the Windows preference to \\ backward strokes. The successful setup used // forward strokes, just as recommended in the panel.
3. User Name: I changed the user name to include the Domain. That was the icing on the cake.
All better now and again thank you all for the assist.
MJ