At 10 Sep 2002 14:09:16 +1000, Stuart Guthrie wrote:
> If the mount fails, the root filesystem on the server fills as the
> backup proceeds to /mnt/remotedisk. Aarrrgh.

you might also want to consider something like (untested, blah, blah):

 tar zcf - /local/path/to/backup | smbclient -c 'put - mybackup.tgz'

(you'll probably need some user, password, etc options to smbclient
too)

this has the benefit of not needing to run as root (to mount
anything), and the user-space smbclient is much safer on the kernel
than the kernel-space smbfs.


(if you want to go the full perl/smb route, you might want to check
CPAN (http://search.cpan.org); i'm sure i've seen some smbclient
wrapper modules there somewhere.  they should make error checking, etc
much easier too)

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to