LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-19-2006, 06:10 AM   #1
JacekZ
Member
 
Registered: Sep 2005
Location: Notts, England
Distribution: Debian 6
Posts: 69

Rep: Reputation: 15
rsync to an off-the-shelf NAS


Hi,
I currently use rsync to do backups on my desktop from one location to another on the same machine, but I'd like to be able to backup the entire home/user directory to a network attached storage device. This is a consumer device (LaCie d2 Ethernet Disk mini) which I can only set using a browser based interface. It offers smb and ftp, http and some other obscure protocols, but no nfs. I can access it through nautilus and store the user passwords in the keyring, but rather than drag-and-drop backups I'd like a command I can run from an executable text file. So I just click that and off it goes.

This was my best attempt so far (I've changed the username and passwords in the example):
Code:
[user@desktopPC ~]$ rsync -av --delete --rsh=smb /home/user/Desktop/  //workgroup%3Bnasuserpwd@192.168.1.147/archive
building file list ... done
rsync: mkdir "//workgroup%3Bnasuserpwd@192.168.1.147/archive" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(509) [receiver=2.6.8]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [sender=2.6.8]
[J@boris ~]$
Any suggestions..?
Thanks
Jacek
 
Old 08-20-2006, 08:27 PM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
Your best bet is to mount the NAS drive using smbmount and rsync to the mount point.
 
Old 08-21-2006, 05:27 PM   #3
JacekZ
Member
 
Registered: Sep 2005
Location: Notts, England
Distribution: Debian 6
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks centauricw
This is as far as I get:

Code:
]# mount -t smbfs -o username=nasUser,password=pwd //192.168.1.100/store /nas
mount: unknown filesystem type 'smbfs'
I was drawing on advice at:
http://www.cyberciti.biz/tips/connec...ge-device.html

I had smb client installed, so I tried installing samba server as well, but got the same result..

Not sure if it is saying 'unknown filesystem' because of my desktop setup or if it is something to do with the NAS.

Regards
Jacek
 
Old 08-21-2006, 08:32 PM   #4
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
This probably means that the driver module for the smbfs filesystem is not loaded on your system. The module is probably not loaded by default.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any off the shelf wlan cards for FC5? tds2000_us Linux - Wireless Networking 1 07-30-2006 01:55 PM
NAS Distribution michael.l.lawson Linux - Software 1 02-23-2006 08:09 AM
Off the Shelf Desktop and Laptop PC's fieldyweb Linux - Hardware 6 02-18-2006 05:44 AM
NAS on Bootup Kenji Miyamoto Slackware 7 05-23-2005 07:11 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM


All times are GMT -5. The time now is 07:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration