Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
backup operations with rsync?
View previous topic :: View next topic  
Author Message
carmine65
Junior Member


Joined: 18 Jun 2011
Posts: 19

PostPosted: Sun Jul 17, 2011 9:50 pm    Post subject: backup operations with rsync? Reply with quote

Hi folks,

just wonder whether and how I can use SMS as a centralized backup station (sort of a NAS).

rsync?

is it possible to work it in a mixed LAN (SMS and Windows pc)? how?

thanks.

greetings!
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Jul 18, 2011 5:48 am    Post subject: Reply with quote

If you want to backup your windows PCs to SMS, use samba to share folders and there are dozens of programs to do the syncing.
You can even use xcopy or robocopy from within windows shell, to synchronize folders.

If your machines have vista or windows 7 you can enable NFS on them and use NFS instead of samba.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
carmine65
Junior Member


Joined: 18 Jun 2011
Posts: 19

PostPosted: Mon Jul 18, 2011 10:42 pm    Post subject: Reply with quote

gerasimos_h wrote:
If you want to backup your windows PCs to SMS, use samba to share folders and there are dozens of programs to do the syncing.
You can even use xcopy or robocopy from within windows shell, to synchronize folders.

If your machines have vista or windows 7 you can enable NFS on them and use NFS instead of samba.

gerasimos_h


Hi gerasimos_h,

thank you for suggestions.
the usb hdd I want to use as a backup NAS is NTFS formatted, so I added it to samba shares (all is OK) and I can reach it in my mixed home LAN (Win Xp, Win Vista and Win 7). When I finally configure folders to back up with a sync software (dsyncronize) I get a 'permission denied' message.
Usb hdd is mounted on /mnt/usbhdd and is owned by root.
What permissions do I have to assign to usbhdd folder in /mnt and what is the correct fstab line to mount it so that a windows user can write on the usbhdd (ntfs formatted)?

thanks again!

greetings!
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Jul 19, 2011 6:05 am    Post subject: Reply with quote

You have to mount with ntfs-3g e.g.

Code:
mount.ntfs-3g   /dev/sde1     /mnt/usbhdd


an fstab line should look like

Code:
/dev/sde1     /mnt/usbhdd      ntfs-3g     defaults      0   0


gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
carmine65
Junior Member


Joined: 18 Jun 2011
Posts: 19

PostPosted: Sat Jul 23, 2011 9:29 pm    Post subject: Reply with quote

Hi,

yes gerasimos_h, that was easy to make fstab do the work.
Only I had to give writing permissions to samba share to access the USB hdd from witjin my Home LAN.

thanks. greetings!

Carmine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional