Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Les Mikesell
David Williams (DTW Consulting) wrote:
> I to am using my WD NAS as a cifs mount and backuppc seems to be backing 
> up to it just fine.  I don't see any errors on the host status page.

Cifs may actually support usable hard links, but not all servers would 
have full support.

> When you say archive space, you mean the location that all the backups 
> are stored right ?  If that's what you mean, then that is what I am doing.

Yes, I mean where the pool, cpool, and pc directories are stored. 
Backuppc needs to be able to hardlink every file in the pc backup trees 
into the cpool (with compression) or pool directories so they are shared 
with other instances.

Go to a host page in backuppc and below the backup summary for the host 
there should be an 'xfer error summary'.  Look at some of the 'Error' 
links to see if there are an "failed to link ..." errors in there.

-- 
   Les Mikesell
 [EMAIL PROTECTED]

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] zfs-fuse real world

2008-03-20 Thread David Rees
On Thu, Mar 20, 2008 at 7:08 AM, Daniel Denson <[EMAIL PROTECTED]> wrote:
> I will run whatever specific test you would like with Bonnie++, just
>  give me the command line arguements you would like to see.  i have each
>  filesystem mounted to /test$filesystem so you can include that if you
>  like.  I have never used bonnie++ before.

bonnie++ is easy. By default, it tries to choose sane file sizes to
avoid the effects of buffer caches. So all you need to do is this:

# bonnie++ -d /path/to/filesystem

I suggest creating the filesystems on the same partition. This means
creating a new filesystem for each test, but since the performance of
the disk varies depending on the location, not doing so can bias the
results. You can see this by running the zcav tool included with the
bonnie++ package. Also make sure as little as possible is running on
the system while you're running the tests, too.

Looking forward to those results!

-Dave

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Nils Breunese (Lemonbit)
Les Mikesell wrote:

> Ashley Paul James wrote:
>> Ronnie
>>
>> Wow, that worked like a charm. One of three client servers are  
>> currently
>> backing up now, with no 'permission denied' errors. I am pretty  
>> excited
>> and  i can now move on to building a trixbox server.
>>
>> In retrospect the solution you suggested makes sense, my cmd line had
>> incorrect syntax. A fellow worker suggested i place the command in  
>> the
>> rc.local file. So the drive will mount upon reboot.
>>
>
> Are you trying to use a smb/cifs mounted filesystem as the archive  
> space
> for backuppc?  I wouldn't expect that to work since backuppc needs  
> to be
> able to make hard links to the pool area.  Be sure to check your log
> files for link errors.

He mentioned the filesystem on the NAS is xfs. Usually people have  
something like FAT32 on their networked SMB devices and that doesn't  
work, but I believe that SMB/CIFS can handle hardlinks when the  
underlying filesystem can too. Or something like that.

Nils Breunese.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Ashley Paul James

Ronnie,

For this backup server (one of) we are using Ubuntu Server as Debian  
Etch had to many Perl issues. I needed to move forward and Ubuntu  
worked firs time.  Generally our distro is Debian.


I will give your suggestion a shot.

Thanks
-
Ashley Paul James
Systems Administrator





On 20-Mar-08, at 11:16 AM, Ronnie Gilkey wrote:


Ashley Paul James wrote:


Ronnie

Wow, that worked like a charm. One of three client servers are  
currently backing up now, with no 'permission denied' errors. I am  
pretty excited and  i can now move on to building a trixbox server.


In retrospect the solution you suggested makes sense, my cmd line  
had incorrect syntax. A fellow worker suggested i place the command  
in the rc.local file. So the drive will mount upon reboot.


Thanks



-
Ashley Paul James
Systems Administrator
Uniserve Communications Corp.





On 20-Mar-08, at 9:12 AM, Ronnie Gilkey wrote:


Ashley Paul James wrote:



Hi all,

I just signed on the mailing list, so hello to all.

I've been battling with an issue for over a week now, so I am  
pretty exhausted from doing the same thing everyday.  Its for a  
client so they need a backup done.
It could be a simple fix, something I have missed after looking  
at the same problem day in/day out. Im hoping some person out  
there can help me.


First of the backupPC server is a vmdk running on ESX, though the  
fact that its ESX should not matter.
The backupserver is on a private 192 network along with 3 clients  
using a 2nd interface.
The NAS drive is a LaCie Big Ethernet Disk (1TB) with a  
192.168.10.x IP with a username and share name call backuppc.
SMB is being used to connect to the share as the LaCie will only  
use SMB for linux. (CIFS to)

The NAS drive is formatted as xfs and cannot be changed.
To connect to the GUI I run a ssh tunnel.

I have mounted the NAS drive using the below cmd in fstab on the  
backupserver.


//192.168.10.x/backuppc /mnt/net-storage smbfs
rw 
,uid 
=105,umask=666,username=backuppc,password=backuppc,auto  
0   0


The drive mounts perfectly.
I have tried it with out the uid and umask and it works fine. (I  
added these in as a last effort).


The basic trouble is BackupPC cannot write to the NAS drive as  
user backuppc.  You cannot run 'chown'  any files on the NAS drive.


I have su'd to backuppc and ran the ./BackupPC_dump -v -f  
192.168.10.x but  receive a 'permission denied' error on creating  
the file structure on the NAS drive.
Obviously you receive a similar error when you run a backup from  
the GUI
I have also added backuppc to the sudo file and ran the above cmd  
as sudo. An error is produced informing that you must 'su  
backupppc' to run it.
When you cd to the NAS drive you cannot create a file as user  
backuppc, unless you sudo backuppc first.

As root you can create files on the NAS
All the files on the NAS drive are owned by root.user and cannot  
be changed.


My research into this matter has not present many options.

Thanks all








-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc- 
users

Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Ashley,

You can use smbmount (or mount.cifs on newer systems). And do this:

smbmount //192.168.10.x/backuppc /mnt/storage -o username=DOMAIN\ 
\USER,password=PASSWD,uid=backuppc,gid=backuppc


You won't be able to use fstab (that I know of), but the  
permissions will work.


Thanks,
Ronnie Gilkey
[EMAIL PROTECTED]

--
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Visit http://www.puryear-it.com/publications.htm to download your  
free

copies of:

 "Best Practices for Managing Linux and UNIX Servers"
 "Spam Fighting and Email Security in the 21st Century"





Ashley,

I'm not sure what distro you're running,but it is using SYS V based  
controls.  In my backuppc init script I have the line:


-
# chkconfig: - 91 35
-

I would recommend writing a small init script to handle this that  
started at:


-
# chkconfig: - 90 40
-

This will ensure that it mounts the file system before BackupPC  
starts and it will unmount it after BackupPC is halted.  If you use 

Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Ronnie Gilkey

Ashley Paul James wrote:

Ronnie

Wow, that worked like a charm. One of three client servers are 
currently backing up now, with no 'permission denied' errors. I am 
pretty excited and  i can now move on to building a trixbox server.


In retrospect the solution you suggested makes sense, my cmd line had 
incorrect syntax. A fellow worker suggested i place the command in the 
rc.local file. So the drive will mount upon reboot.


Thanks



-
Ashley Paul James
Systems Administrator
Uniserve Communications Corp.





On 20-Mar-08, at 9:12 AM, Ronnie Gilkey wrote:


Ashley Paul James wrote:


Hi all,

I just signed on the mailing list, so hello to all.

I've been battling with an issue for over a week now, so I am pretty 
exhausted from doing the same thing everyday.  Its for a client so 
they need a backup done.
It could be a simple fix, something I have missed after looking at 
the same problem day in/day out. Im hoping some person out there can 
help me.


First of the backupPC server is a vmdk running on ESX, though the 
fact that its ESX should not matter.
The backupserver is on a private 192 network along with 3 clients 
using a 2nd interface.
The NAS drive is a LaCie Big Ethernet Disk (1TB) with a 192.168.10.x 
IP with a username and share name call backuppc.
SMB is being used to connect to the share as the LaCie will only use 
SMB for linux. (CIFS to)

The NAS drive is formatted as xfs and cannot be changed.
To connect to the GUI I run a ssh tunnel.

I have mounted the NAS drive using the below cmd in fstab on the 
backupserver.


//192.168.10.x/backuppc /mnt/net-storage smbfs   
rw,uid=105,umask=666,username=backuppc,password=backuppc,auto   
  0   0


The drive mounts perfectly.
I have tried it with out the uid and umask and it works fine. (I 
added these in as a last effort).


The basic trouble is BackupPC cannot write to the NAS drive as user 
backuppc.  You cannot run 'chown'  any files on the NAS drive.


I have su'd to backuppc and ran the ./BackupPC_dump -v -f 
192.168.10.x but  receive a 'permission denied' error on creating 
the file structure on the NAS drive.

Obviously you receive a similar error when you run a backup from the GUI
I have also added backuppc to the sudo file and ran the above cmd as 
sudo. An error is produced informing that you must 'su backupppc' to 
run it.
When you cd to the NAS drive you cannot create a file as user 
backuppc, unless you sudo backuppc first.

As root you can create files on the NAS
All the files on the NAS drive are owned by root.user and cannot be 
changed.


My research into this matter has not present many options.

Thanks all










-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
  

Ashley,

You can use smbmount (or mount.cifs on newer systems). And do this:

smbmount //192.168.10.x/backuppc /mnt/storage -o 
username=DOMAIN\\USER,password=PASSWD,uid=backuppc,gid=backuppc


You won't be able to use fstab (that I know of), but the permissions 
will work.


Thanks,
Ronnie Gilkey
[EMAIL PROTECTED]

--
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Visit http://www.puryear-it.com/publications.htm to download your free
copies of:

 "Best Practices for Managing Linux and UNIX Servers"
 "Spam Fighting and Email Security in the 21st Century"





Ashley,

I'm not sure what distro you're running,but it is using SYS V based 
controls.  In my backuppc init script I have the line:


-
# chkconfig: - 91 35
-

I would recommend writing a small init script to handle this that 
started at:


-
# chkconfig: - 90 40
-

This will ensure that it mounts the file system before BackupPC starts 
and it will unmount it after BackupPC is halted.  If you use rc.local, 
the file system will not be mounted until after all other services, 
including BackupPC, have started.  This may or may not cause you 
issues.  If you use a script to do this you can prevent that.


Thanks,

Ronnie Gilkey
[EMAIL PROTECTED]

--
Puryear Information Technology, LL

Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Ashley Paul James
Im currently running a backup now, and all is well so far.  I will  
keep and eye out for any errors in the logs.   Is the Archive space  
where the backups are stored?  There is also a 'archive' option with  
backupPC but I think this involves backing up to tape device.


thank
-
Ashley Paul James
 Systems Administrator





On 20-Mar-08, at 11:03 AM, Les Mikesell wrote:


Ashley Paul James wrote:
> Ronnie
>
> Wow, that worked like a charm. One of three client servers are  
currently
> backing up now, with no 'permission denied' errors. I am pretty  
excited

> and  i can now move on to building a trixbox server.
>
> In retrospect the solution you suggested makes sense, my cmd line  
had
> incorrect syntax. A fellow worker suggested i place the command in  
the

> rc.local file. So the drive will mount upon reboot.
>

Are you trying to use a smb/cifs mounted filesystem as the archive  
space
for backuppc?  I wouldn't expect that to work since backuppc needs  
to be

able to make hard links to the pool area.  Be sure to check your log
files for link errors.

--
   Les Mikesell
[EMAIL PROTECTED]



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread David Williams (DTW Consulting)
I to am using my WD NAS as a cifs mount and backuppc seems to be backing up to it just fine.  I don't see any errors on the host status page.When you say archive space, you mean the location that all the backups are stored right ?  If that's what you mean, then that is what I am doing.
Dave Williams

 Original Message 
Subject: Re: [BackupPC-users] SMB, NAS and Backuppc
From: Les Mikesell <[EMAIL PROTECTED]>
Date: Thu, March 20, 2008 2:03 pm
To: Ashley Paul James <[EMAIL PROTECTED]>
Cc: backuppc-users@lists.sourceforge.net

Ashley Paul James wrote:
> Ronnie
> 
> Wow, that worked like a charm. One of three client servers are currently 
> backing up now, with no 'permission denied' errors. I am pretty excited 
> and  i can now move on to building a trixbox server.
> 
> In retrospect the solution you suggested makes sense, my cmd line had 
> incorrect syntax. A fellow worker suggested i place the command in the 
> rc.local file. So the drive will mount upon reboot.
> 

Are you trying to use a smb/cifs mounted filesystem as the archive space 
for backuppc?  I wouldn't expect that to work since backuppc needs to be 
able to make hard links to the pool area.  Be sure to check your log 
files for link errors.

-- 
   Les Mikesell
lesmikesell@gmail.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Les Mikesell
Ashley Paul James wrote:
> Ronnie
> 
> Wow, that worked like a charm. One of three client servers are currently 
> backing up now, with no 'permission denied' errors. I am pretty excited 
> and  i can now move on to building a trixbox server.
> 
> In retrospect the solution you suggested makes sense, my cmd line had 
> incorrect syntax. A fellow worker suggested i place the command in the 
> rc.local file. So the drive will mount upon reboot.
> 

Are you trying to use a smb/cifs mounted filesystem as the archive space 
for backuppc?  I wouldn't expect that to work since backuppc needs to be 
able to make hard links to the pool area.  Be sure to check your log 
files for link errors.

-- 
   Les Mikesell
[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Ashley Paul James

Ronnie

Wow, that worked like a charm. One of three client servers are  
currently backing up now, with no 'permission denied' errors. I am  
pretty excited and  i can now move on to building a trixbox server.


In retrospect the solution you suggested makes sense, my cmd line had  
incorrect syntax. A fellow worker suggested i place the command in the  
rc.local file. So the drive will mount upon reboot.


Thanks



-
Ashley Paul James
Systems Administrator
Uniserve Communications Corp.





On 20-Mar-08, at 9:12 AM, Ronnie Gilkey wrote:


Ashley Paul James wrote:



Hi all,

I just signed on the mailing list, so hello to all.

I've been battling with an issue for over a week now, so I am  
pretty exhausted from doing the same thing everyday.  Its for a  
client so they need a backup done.
It could be a simple fix, something I have missed after looking at  
the same problem day in/day out. Im hoping some person out there  
can help me.


First of the backupPC server is a vmdk running on ESX, though the  
fact that its ESX should not matter.
The backupserver is on a private 192 network along with 3 clients  
using a 2nd interface.
The NAS drive is a LaCie Big Ethernet Disk (1TB) with a  
192.168.10.x IP with a username and share name call backuppc.
SMB is being used to connect to the share as the LaCie will only  
use SMB for linux. (CIFS to)

The NAS drive is formatted as xfs and cannot be changed.
To connect to the GUI I run a ssh tunnel.

I have mounted the NAS drive using the below cmd in fstab on the  
backupserver.


//192.168.10.x/backuppc /mnt/net-storage smbfs
rw 
,uid=105,umask=666,username=backuppc,password=backuppc,auto  
0   0


The drive mounts perfectly.
I have tried it with out the uid and umask and it works fine. (I  
added these in as a last effort).


The basic trouble is BackupPC cannot write to the NAS drive as user  
backuppc.  You cannot run 'chown'  any files on the NAS drive.


I have su'd to backuppc and ran the ./BackupPC_dump -v -f  
192.168.10.x but  receive a 'permission denied' error on creating  
the file structure on the NAS drive.
Obviously you receive a similar error when you run a backup from  
the GUI
I have also added backuppc to the sudo file and ran the above cmd  
as sudo. An error is produced informing that you must 'su  
backupppc' to run it.
When you cd to the NAS drive you cannot create a file as user  
backuppc, unless you sudo backuppc first.

As root you can create files on the NAS
All the files on the NAS drive are owned by root.user and cannot be  
changed.


My research into this matter has not present many options.

Thanks all









-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Ashley,

You can use smbmount (or mount.cifs on newer systems). And do this:

smbmount //192.168.10.x/backuppc /mnt/storage -o username=DOMAIN\ 
\USER,password=PASSWD,uid=backuppc,gid=backuppc


You won't be able to use fstab (that I know of), but the permissions  
will work.


Thanks,
Ronnie Gilkey
[EMAIL PROTECTED]

--
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Visit http://www.puryear-it.com/publications.htm to download your free
copies of:

 "Best Practices for Managing Linux and UNIX Servers"
 "Spam Fighting and Email Security in the 21st Century"




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread David Williams (DTW Consulting)
You should be able to use fstab to do this also.  I did for a 1TB WD drive that sounds very similar and I had the same problem with permissions.  Putting a line in fstab and using cifs with uid and gid = backuppc did the trick.In my case, this WD drive is painfully slow and only backs up at a rate of 2MB/sec and a full back up takes about 15 hours :(  Not sure why this is so slow, maybe that's just what happens when backing up to a cifs mount?  Don't know.The WD drive is formatted as a NTFS partition (if I remember correctly).  Wish there was a way to format is a linux partition but I don't think there is.
Dave Williams

 Original Message 
Subject: Re: [BackupPC-users] SMB, NAS and Backuppc
From: Ronnie Gilkey <[EMAIL PROTECTED]>
Date: Thu, March 20, 2008 12:12 pm
To: Ashley Paul James <[EMAIL PROTECTED]>,
backuppc-users@lists.sourceforge.net

  Ashley Paul James wrote:Hi all,   I just signed on the mailing list, so hello to all.   I've been battling with an issue for over a week now, so I am pretty exhausted from doing the same thing everyday.  Its for a client so they need a backup done. It could be a simple fix, something I have missed after looking at the same problem day in/day out. Im hoping some person out there can help me.   First of the backupPC server is a vmdk running on ESX, though the fact that its ESX should not matter. The backupserver is on a private 192 network along with 3 clients using a 2nd interface. The NAS drive is a LaCie Big Ethernet Disk (1T
 B) with a 192.168.10.x IP with a username and share name call backuppc. SMB is being used to connect to the share as the LaCie will only use SMB for linux. (CIFS to) The NAS drive is formatted as xfs and cannot be changed. To connect to the GUI I run a ssh tunnel.   I have mounted the NAS drive using the below cmd in fstab on the backupserver.//192.168.10.x/backuppc /mnt/net-storage     smbfs   rw,uid=105,umask=666,username=backuppc,password=backuppc,auto         0       0   The drive mounts perfectly. I have tried it with out the uid and umask and it works fine. (I added these in as a last effort).   The basic trouble is BackupPC cannot write to the NAS drive as user backup
 pc.  You cannot run 'chown'  any files on the NAS drive.   I have su'd to backuppc and ran the ./BackupPC_dump -v -f 192.168.10.x but  receive a 'permission denied' error on creating the file structure on the NAS drive. Obviously you receive a similar error when you run a backup from the GUI I have also added backuppc to the sudo file and ran the above cmd as sudo. An error is produced informing that you must 'su backupppc' to run it. When you cd to the NAS drive you cannot create a file as user backuppc, unless you sudo backuppc first. As root you can create files on the NAS All the files on the NAS drive are owned by root.user and cannot be changed.   My research into this matter has not present many options.   Thanks all   -This SF.net email is sponsored by: MicrosoftDefy all challenges. Microsoft(R) Visual Studio 2008.http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___BackupPC-users mailing listBackupPC-users@lists.sourceforge.netList:https://lists.sourceforge.net/lists/listinfo/backuppc-usersWiki:http://backuppc.wiki.sourceforge.netProject: http://backuppc.sourceforge.net/Ashley,  You can use smbmount (or mount.cifs on newer systems). And do this:  smbmount //192.168.10.x/backuppc /mnt/storage -o username=DOMAIN\\USER,password=PASSWD,uid=backuppc,gid=backuppc  You won't be able to use fstab (that I know of), but the permissions will work.  Thanks, Ronnie Gilkey[EMAIL PROTECTED]-- Puryear Information Technology, LLCBaton Rouge, LA * 225-706-8414http://www.puryear-it.comVisit http://www.puryear-it.com/publications.htm to download your freecopies of: "Best Practices for Managing Linux and UNIX Servers" "Spam Fighting and Email Security in the 21st Century" -
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/b

Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Ronnie Gilkey

Ashley Paul James wrote:


Hi all,

I just signed on the mailing list, so hello to all.

I've been battling with an issue for over a week now, so I am pretty 
exhausted from doing the same thing everyday.  Its for a client so 
they need a backup done.
It could be a simple fix, something I have missed after looking at the 
same problem day in/day out. Im hoping some person out there can help me.


First of the backupPC server is a vmdk running on ESX, though the fact 
that its ESX should not matter.
The backupserver is on a private 192 network along with 3 clients 
using a 2nd interface.
The NAS drive is a LaCie Big Ethernet Disk (1TB) with a 192.168.10.x 
IP with a username and share name call backuppc.
SMB is being used to connect to the share as the LaCie will only use 
SMB for linux. (CIFS to)

The NAS drive is formatted as xfs and cannot be changed.
To connect to the GUI I run a ssh tunnel.

I have mounted the NAS drive using the below cmd in fstab on the 
backupserver.


//192.168.10.x/backuppc /mnt/net-storage smbfs   
rw,uid=105,umask=666,username=backuppc,password=backuppc,auto 
0   0


The drive mounts perfectly.
I have tried it with out the uid and umask and it works fine. (I added 
these in as a last effort).


The basic trouble is BackupPC cannot write to the NAS drive as user 
backuppc.  You cannot run 'chown'  any files on the NAS drive.


I have su'd to backuppc and ran the ./BackupPC_dump -v -f 192.168.10.x 
but  receive a 'permission denied' error on creating the file 
structure on the NAS drive.

Obviously you receive a similar error when you run a backup from the GUI
I have also added backuppc to the sudo file and ran the above cmd as 
sudo. An error is produced informing that you must 'su backupppc' to 
run it.
When you cd to the NAS drive you cannot create a file as user 
backuppc, unless you sudo backuppc first.

As root you can create files on the NAS
All the files on the NAS drive are owned by root.user and cannot be 
changed.


My research into this matter has not present many options.

Thanks all










-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
  

Ashley,

You can use smbmount (or mount.cifs on newer systems). And do this:

smbmount //192.168.10.x/backuppc /mnt/storage -o 
username=DOMAIN\\USER,password=PASSWD,uid=backuppc,gid=backuppc


You won't be able to use fstab (that I know of), but the permissions 
will work.


Thanks,

Ronnie Gilkey
[EMAIL PROTECTED]

--
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Visit http://www.puryear-it.com/publications.htm to download your free
copies of:

"Best Practices for Managing Linux and UNIX Servers"
"Spam Fighting and Email Security in the 21st Century"



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread Ashley Paul James


Hi all,

I just signed on the mailing list, so hello to all.

I've been battling with an issue for over a week now, so I am pretty  
exhausted from doing the same thing everyday.  Its for a client so  
they need a backup done.
It could be a simple fix, something I have missed after looking at the  
same problem day in/day out. Im hoping some person out there can help  
me.


First of the backupPC server is a vmdk running on ESX, though the fact  
that its ESX should not matter.
The backupserver is on a private 192 network along with 3 clients  
using a 2nd interface.
The NAS drive is a LaCie Big Ethernet Disk (1TB) with a 192.168.10.x  
IP with a username and share name call backuppc.
SMB is being used to connect to the share as the LaCie will only use  
SMB for linux. (CIFS to)

The NAS drive is formatted as xfs and cannot be changed.
To connect to the GUI I run a ssh tunnel.

I have mounted the NAS drive using the below cmd in fstab on the  
backupserver.


//192.168.10.x/backuppc /mnt/net-storage smbfs
rw,uid=105,umask=666,username=backuppc,password=backuppc,auto  
0   0


The drive mounts perfectly.
I have tried it with out the uid and umask and it works fine. (I added  
these in as a last effort).


The basic trouble is BackupPC cannot write to the NAS drive as user  
backuppc.  You cannot run 'chown'  any files on the NAS drive.


I have su'd to backuppc and ran the ./BackupPC_dump -v -f 192.168.10.x  
but  receive a 'permission denied' error on creating the file  
structure on the NAS drive.

Obviously you receive a similar error when you run a backup from the GUI
I have also added backuppc to the sudo file and ran the above cmd as  
sudo. An error is produced informing that you must 'su backupppc' to  
run it.
When you cd to the NAS drive you cannot create a file as user  
backuppc, unless you sudo backuppc first.

As root you can create files on the NAS
All the files on the NAS drive are owned by root.user and cannot be  
changed.


My research into this matter has not present many options.

Thanks all








-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] zfs-fuse real world

2008-03-20 Thread Daniel Denson
I will run whatever specific test you would like with Bonnie++, just 
give me the command line arguements you would like to see.  i have each 
filesystem mounted to /test$filesystem so you can include that if you 
like.  I have never used bonnie++ before. 

let me know what you want to have run and i will try to get some results 
today or tomorrow.

thanks

David Rees wrote:
> On Wed, Mar 19, 2008 at 11:07 PM, dan <[EMAIL PROTECTED]> wrote:
>   
>> CPU e8400 3Ghz Dual Core.
>> single 7200rpm 16MB cache 200GB maxtor drive.
>> ubuntu 7.10
>> 
>
> You don't mention how much memory you have in the machine...
>
>   
>> FILE COUNT
>> 138581 634MB average of 4.68KB per file(coped the /etc directory 20 times)
>> 
>
> This doesn't look like a large enough data set, unless you are
> dropping all caches in between each test. See
> http://linux-mm.org/Drop_Caches
> You should run `sync; echo 3 > /proc/sys/vm/drop_caches` before each test.
>
>   
>> find all files and run 'wc -l'(access speed) (wow zfs-fuse is slow here)
>> zfs compression=gzip9.688 sec
>>  zfs compression=off10.734 sec
>> *ext3.3218 sec
>> *reiserfs.431 sec
>> jfs36.18 sec
>> *xfs.310 sec
>> 
>
> I've used jfs before and would have noticed that it performed an order
> of magnitude worse than the other filesystems - I have to think that
> there is something peculiar with your benchmark.
>
>   
>> copy from RAM to disk(/dev/shm -> partition w/ filesystem.  bus speed not a
>> factor)
>> 
>
> Why read from /dev/shm ? Something like this would be better:
>
> time dd if=/dev/zero of=/tmp/bigfile count=1 bs=1M
>
> Adjust count as necessary to ensure that you are writing out
> significantly more data than you have available RAM.
>
>   
>>  issues:jfs and xfs both did write caching and then spent periods catching
>> up.
>> ext31m13s8.68MB/s
>> jfs3m21s3.15MB/s
>> *reiserfs20s31.7MB/s (WOW!)
>> xfs2m56s3.60MB/s
>>  zfs (CPU bound)2m22.76s4.44MB/s
>> 
>
> All of your numbers seem to be very slow. I would expect at least
> 25MB/s, probably 50MB/s for ext3, jfs, reiserfs and xfs.
>
> Could you try running an established disk IO benchmark tool like bonnie++?
>
> -Dave
>   

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] How to take a backup client .

2008-03-20 Thread Les Mikesell
kanti wrote:
> Hey Mike thanx a lot . Now its working . Hey Again Thanx a lot for ur 
> valuable time to solve my problem . Now i got every options . But also i have 
> one problem . Now i want to take  backup a server like mailserver . Alreday i 
> add the mailserver in the #vi hosts file . Alos i get the host mailserver in 
> BackupPC.  when i m going to take a start Full Backup its  not working . Its 
> show the some error like the following 
> 
>  Host  TypeUserLast TryDetails Error Time 
>  Last error (other than no ping)
> mailserverroot3/20 11:49  no ping 
> response.
>  Means dere is no ping response . But when i m try to ping that system from 
> terminal its pinging also when i m using this #nmblookup mailserver it gives 
> reply . Now i didn't get whre's the problem ???


After adding a host, select it in the left host drop-down and click the 
'edit config' link.  For a windows target in the Xfer section you'll 
need to set XferMethod to smb and one or more SmbShareName entries to 
match what you want to back up.  You'll need a SmbShareUserName that is 
in the administrator or backup user group and you can use the hidden 
administrative shares (drive letter followed by $) like C$ if you want.
Be sure to click the 'save' button that will turn red when you make any 
changes.

I prefer to have hostnames in DNS so you don't have to worry about 
windows name resolution, but in the 'Backup Settings' there are some 
options about how backuppc finds the IP address.   If the target host is 
not in DNS, it usually works to run the browser from that host, go to 
it's host page, and click the 'start full backup' button from there and 
it will try the IP address from the browser connection.


If your target host is Linux, you'll need to set up ssh keys for 
passwordless  connections and you'll probably want rsync or tar as the 
XferMethod.

-- 
   Les Mikesell
[EMAIL PROTECTED]




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] How to take a backup Client machine

2008-03-20 Thread kanti

Hie All this is Appu . By the help of this forum and specially by the help of 
Les Mike sell i have already successfully installed BackupPC-3.1.0. Now i want 
to take a backup of linux client machine (configured by SUSE-10) . So what 
should i have to do ??? Whats the basic configuration of client machine should 
be necessary. I also go through but i m unable to get nothing . 

Plz try to help me out this Problem .
Thanx a lot In Advance.

Thanx,
Appu

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] zfs-fuse real world

2008-03-20 Thread David Rees
On Wed, Mar 19, 2008 at 11:07 PM, dan <[EMAIL PROTECTED]> wrote:
> CPU e8400 3Ghz Dual Core.
> single 7200rpm 16MB cache 200GB maxtor drive.
> ubuntu 7.10

You don't mention how much memory you have in the machine...

> FILE COUNT
> 138581 634MB average of 4.68KB per file(coped the /etc directory 20 times)

This doesn't look like a large enough data set, unless you are
dropping all caches in between each test. See
http://linux-mm.org/Drop_Caches
You should run `sync; echo 3 > /proc/sys/vm/drop_caches` before each test.

> find all files and run 'wc -l'(access speed) (wow zfs-fuse is slow here)
> zfs compression=gzip9.688 sec
>  zfs compression=off10.734 sec
> *ext3.3218 sec
> *reiserfs.431 sec
> jfs36.18 sec
> *xfs.310 sec

I've used jfs before and would have noticed that it performed an order
of magnitude worse than the other filesystems - I have to think that
there is something peculiar with your benchmark.

> copy from RAM to disk(/dev/shm -> partition w/ filesystem.  bus speed not a
> factor)

Why read from /dev/shm ? Something like this would be better:

time dd if=/dev/zero of=/tmp/bigfile count=1 bs=1M

Adjust count as necessary to ensure that you are writing out
significantly more data than you have available RAM.

>  issues:jfs and xfs both did write caching and then spent periods catching
> up.
> ext31m13s8.68MB/s
> jfs3m21s3.15MB/s
> *reiserfs20s31.7MB/s (WOW!)
> xfs2m56s3.60MB/s
>  zfs (CPU bound)2m22.76s4.44MB/s

All of your numbers seem to be very slow. I would expect at least
25MB/s, probably 50MB/s for ext3, jfs, reiserfs and xfs.

Could you try running an established disk IO benchmark tool like bonnie++?

-Dave

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/