Re: AFP Client in FreeBSD

2009-06-11 Thread FBSD UG


On 10 jun 2009, at 21:09, Roland Smith wrote:


On Wed, Jun 10, 2009 at 02:52:06PM -0400, Greg Larkin wrote:


Chris Maness wrote:
On Wed, Jun 10, 2009 at 11:24 AM, Greg Larkinglar...@freebsd.org  
wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
Is there an AFP client for FreeBSD?  I have a mac with a  
gargantuan
hard drive, and I would like to back up my FreeBSD server to it,  
and
back up my mac to my FreeBSD server.  I have seen where FreeBSD  
can be

an AFP server, but there is little information on the client.  Any
suggestions?


If you want to transfer dumps, netcat (nc) is the fastest way to go. I
guess it doesn't come with OS X, since it is available from macports  
or

darwinports.

I was able to saturate the 10 Mbit connection between a laptop and a
desktop when transferring a dump file. :-)

Of course you can also pipe the dump output directly to netcat, but in
that case the speed of the dump is the bottleneck.


netcat (nc) comes with Leopard (10.5).
so no need to get it from macports anymore

gr
Arno
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-11 Thread FBSD UG


On 11 jun 2009, at 03:19, patrick wrote:


Oh, I don't know about 10.4. Looks easy enough in 10.5:
http://www.macresearch.org/nfs-exports-leopard


It didn't change in the way it's described on that site from 10.4 to  
10.5


the other, more OSX way of doing it using NetInfo changed though.
NetInfo was replaced with OpenDirectory from 10.4 to 10.5


gr
Arno

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread FRLinux
On Wed, Jun 10, 2009 at 6:45 PM, Chris Manessch...@chrismaness.com wrote:
 an AFP server, but there is little information on the client.  Any
 suggestions?

rsync ?

Cheers,
Steph
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
 Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
 hard drive, and I would like to back up my FreeBSD server to it, and
 back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
 an AFP server, but there is little information on the client.  Any
 suggestions?
 
 Thanks,
 Chris Maness

Hi Chris,

It looks like this has some potential:
http://sourceforge.net/projects/afpfs-ng

Care to write a port for it?

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKL/pB0sRouByUApARAi9SAJ4q1KubS8TvgS3sXPakz1L/maP7NgCeJuul
XjHUeICU7DBm2DlQy53U3L0=
=0PRJ
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Chris Maness
 an AFP server, but there is little information on the client.  Any
 suggestions?

 rsync ?

 Cheers,
 Steph


Well I am using the dump command, and I am not sure if I want to dump
to the same partition that I am backing up.

Can I use rsync to pipe the dump output via ssh?

Thanks,
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Chris Maness
On Wed, Jun 10, 2009 at 11:24 AM, Greg Larkinglar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Chris Maness wrote:
 Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
 hard drive, and I would like to back up my FreeBSD server to it, and
 back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
 an AFP server, but there is little information on the client.  Any
 suggestions?

 Thanks,
 Chris Maness

 Hi Chris,

 It looks like this has some potential:
 http://sourceforge.net/projects/afpfs-ng

 Care to write a port for it?

 Cheers,
 Greg
 - --
 Greg Larkin

Yea, I was looking for a port for it, but there isn't any.  I don't
have the time right now to port it or start a new port.

Thanks,
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
 On Wed, Jun 10, 2009 at 11:24 AM, Greg Larkinglar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Chris Maness wrote:
 Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
 hard drive, and I would like to back up my FreeBSD server to it, and
 back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
 an AFP server, but there is little information on the client.  Any
 suggestions?

 Thanks,
 Chris Maness
 Hi Chris,

 It looks like this has some potential:
 http://sourceforge.net/projects/afpfs-ng

 Care to write a port for it?

 Cheers,
 Greg
 - --
 Greg Larkin
 
 Yea, I was looking for a port for it, but there isn't any.  I don't
 have the time right now to port it or start a new port.
 
 Thanks,
 Chris

Hi Chris,

Will it at least compile on your system?  If it does, and it works as
expected, there's no need to write a port for it right away.

If you're interested in adding it to the ports tree at some point later,
I would be happy to provide some guidance.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKMADW0sRouByUApARAvonAJ0X+jCaivFtkWFXztoMpZBr/vR0IQCcDNUY
o3n9jXe2ulzJr0dOXMa3yk4=
=pYt7
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Wojciech Puchar
MacOS X is unix-based. All it's GUI and other isn't unixlike, but base 
system is.


You may compile unix commands on it. Maybe just ftpd, or rsync?

On Wed, 10 Jun 2009, Chris Maness wrote:


Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
hard drive, and I would like to back up my FreeBSD server to it, and
back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
an AFP server, but there is little information on the client.  Any
suggestions?

Thanks,
Chris Maness
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Wojciech Puchar

Well I am using the dump command, and I am not sure if I want to dump
to the same partition that I am backing up.

Can I use rsync to pipe the dump output via ssh?

you don't need rsync to it. you need dump and ssh - as you said
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Chris Maness
On Wed, Jun 10, 2009 at 12:05 PM, Wojciech
Pucharwoj...@wojtek.tensor.gdynia.pl wrote:
 MacOS X is unix-based. All it's GUI and other isn't unixlike, but base
 system is.

 You may compile unix commands on it. Maybe just ftpd, or rsync?



I use dump.  I think dumping to the same partition that you are
backing up is a bad idea.  In order to use these methods I would have
to dump, then transfer the dump file.  If I can use rsync to pipe the
dump output, that would probably work.  I think I remember reading
about that somewhere.

Thanks,
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Roland Smith
On Wed, Jun 10, 2009 at 02:52:06PM -0400, Greg Larkin wrote:
 
 Chris Maness wrote:
  On Wed, Jun 10, 2009 at 11:24 AM, Greg Larkinglar...@freebsd.org wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Chris Maness wrote:
  Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
  hard drive, and I would like to back up my FreeBSD server to it, and
  back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
  an AFP server, but there is little information on the client.  Any
  suggestions?

If you want to transfer dumps, netcat (nc) is the fastest way to go. I
guess it doesn't come with OS X, since it is available from macports or
darwinports. 

I was able to saturate the 10 Mbit connection between a laptop and a
desktop when transferring a dump file. :-)

Of course you can also pipe the dump output directly to netcat, but in
that case the speed of the dump is the bottleneck.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp1sn2puxRoA.pgp
Description: PGP signature


Re: AFP Client in FreeBSD

2009-06-10 Thread Timm Wimmers
Chris Maness schrieb:

 Well I am using the dump command, and I am not sure if I want to dump
 to the same partition that I am backing up.
 
 Can I use rsync to pipe the dump output via ssh?

rsync works on files, dump on filesystems.

If you want to use dump, the fine FreeBSD manuals says:

# /sbin/dump -0uan -f - /usr |  \
gzip -2 | ssh -c blowfish   \
targetu...@targetmachine.example.com\
dd of=/mybigfiles/dump-usr-l0.gz

man ssh for setting up authentication with keys.

On the mac, you must enable remote login under Systempanel - Sharing
- Services if I remember correctly.

-- 
Timm


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Peter Giessel
On Wednesday, June 10, 2009, at 09:45AM, Chris Maness ch...@chrismaness.com 
wrote:
Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
hard drive, and I would like to back up my FreeBSD server to it, and
back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
an AFP server, but there is little information on the client.  Any
suggestions?

I regularly backup my FreeBSD boxes using dump and ssh to a very
large hard drive on my mac.  Here is how I do it:

- Turn on SSH access on the mac (I believe in OSX.5 it is called
Remote Login)
- Setup PubkeyAuthentication:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssh.html
(Section 14.11.6 - works the same on Mac and FreeBSD)
- Wrote a script similar to this:
***
#!/bin/sh
/sbin/dump -1uaL -f - / | gzip -2 | ssh u...@192.168.0.xxx dd 
of=/Volumes/Remote\ Backup/root.gz
/sbin/dump -1uaL -f - /tmp | gzip -2 | ssh u...@192.168.0.xxx dd 
of=/Volumes/Remote\ Backup/tmp.gz
/sbin/dump -1uaL -f - /var | gzip -2 | ssh u...@192.168.0.xxx dd 
of=/Volumes/Remote\ Backup/var.gz
/sbin/dump -1uaL -f - /usr | gzip -2 | ssh u...@192.168.0.xxx dd 
of=/Volumes/Remote\ Backup/usr.gz
echo Dumps Done
***
(of course adjust the user from user to your actual ssh username, adjust 
Remote\ Backup to your
actual volume name, and fix the IP address to be the mac's actual IP address, 
and adjust the dump
level as desired.)
- Added this to crontab:
***
# Run the backup script
5   4   *   *   *   root/root/backup-script
***

Runs every day backing up my unix partitions to the filenames given (root.gz, 
etc) on the volume
on my Mac.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Wojciech Puchar

I use dump.  I think dumping to the same partition that you are
backing up is a bad idea.

works fine and WILL work fine by design.

just you have to create directory, flag it with nodump and dump to 
file in that directory

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread patrick
Mac OS X supports NFS, so you could always mount your Mac on FreeBSD via NFS.

Patrick

On Wed, Jun 10, 2009 at 10:45 AM, Chris Manessch...@chrismaness.com wrote:
 Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
 hard drive, and I would like to back up my FreeBSD server to it, and
 back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
 an AFP server, but there is little information on the client.  Any
 suggestions?

 Thanks,
 Chris Maness
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Chris Maness

Wojciech Puchar wrote:

I use dump.  I think dumping to the same partition that you are
backing up is a bad idea.

works fine and WILL work fine by design.

just you have to create directory, flag it with nodump and dump to 
file in that directory

I forgot about nodump.  Thanks.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread Chris Maness
I tried mounting a mac box to my FreeBSD server a while back, but I
think I was not able to get it to go RW.

How do you set up NFS as a service in OSX 10.4?  That would be the
best way as my backup scripts are already set up to do an NFS mount.

Thanks,
Chris

On Wed, Jun 10, 2009 at 3:22 PM, patrickgibblert...@gmail.com wrote:
 Mac OS X supports NFS, so you could always mount your Mac on FreeBSD via NFS.

 Patrick

 On Wed, Jun 10, 2009 at 10:45 AM, Chris Manessch...@chrismaness.com wrote:
 Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
 hard drive, and I would like to back up my FreeBSD server to it, and
 back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
 an AFP server, but there is little information on the client.  Any
 suggestions?

 Thanks,
 Chris Maness
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: AFP Client in FreeBSD

2009-06-10 Thread patrick
Oh, I don't know about 10.4. Looks easy enough in 10.5:
http://www.macresearch.org/nfs-exports-leopard

You could also use sshfs: http://www.freshports.org/sysutils/fusefs-sshfs/

It would be a bit slower, but reliable.

Patrick

On Wed, Jun 10, 2009 at 5:57 PM, Chris Manessch...@chrismaness.com wrote:
 I tried mounting a mac box to my FreeBSD server a while back, but I
 think I was not able to get it to go RW.

 How do you set up NFS as a service in OSX 10.4?  That would be the
 best way as my backup scripts are already set up to do an NFS mount.

 Thanks,
 Chris

 On Wed, Jun 10, 2009 at 3:22 PM, patrickgibblert...@gmail.com wrote:
 Mac OS X supports NFS, so you could always mount your Mac on FreeBSD via NFS.

 Patrick

 On Wed, Jun 10, 2009 at 10:45 AM, Chris Manessch...@chrismaness.com wrote:
 Is there an AFP client for FreeBSD?  I have a mac with a gargantuan
 hard drive, and I would like to back up my FreeBSD server to it, and
 back up my mac to my FreeBSD server.  I have seen where FreeBSD can be
 an AFP server, but there is little information on the client.  Any
 suggestions?

 Thanks,
 Chris Maness
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org