nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Slackware Rsync configuration file - rsyncd.conf

This is a discussion on Slackware Rsync configuration file - rsyncd.conf within the Slackware forums, part of the Linux Distribution category; helo everybody i m using slackware in my company. i have tast to backup the windows system through rsync. when ...


Go Back   nixCraft Linux Forum > Linux Distribution > Slackware

Linux answers from nixCraft.


Slackware Discussion about Slackware Linux (the oldest distribution) related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-05-2009, 05:06 PM
Junior Member
User
 
Join Date: May 2009
OS: Slackware
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
amitk_m is on a distinguished road
Post Slackware Rsync configuration file - rsyncd.conf

helo everybody

i m using slackware in my company. i have tast to backup the windows system through rsync. when i search the rsyncd.conf file in slackware linux box i m not geting the resyncd.conf.

where m i getting the file or how to configure the file.

plz help me on this topic.
Reply With Quote
  #2 (permalink)  
Old 23-05-2009, 11:48 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 246 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to create rsyncd.conf file, as it is not supplied by slaceware. A sample config file - /etc/rsyncd.conf:
Code:
uid=0
gid=0
[server1]
        auth users = vivek
        path = /
        read only = false
        secrets file = /etc/rsyncd.sec
/etc/rsyncd.sec file contains username and password:
Code:
vivek:viveksPassword
To start rsync in daemon mode, enter:
Code:
 /usr/bin/rsync --daemon --config=/etc/rsyncd.conf
Finally, you can use rsync as follows to mirror /var/www folder:
Code:
rsync -e ssh -Ravzu --password-file=/etc/secret --stats --delete /var/www vivek@server2::server1 2>&1 > /var/log/rsync.log
/etc/secret should contains user vivek's password.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help

Last edited by nixcraft; 23-05-2009 at 11:54 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
ATI raedon graphics card and slackware Linux_New Slackware 2 30-10-2008 11:46 PM
getting errors from named.conf in rhel5 ashu.wifi CentOS / RHEL / Fedora 2 17-09-2008 02:02 PM
rsync pls help linuxmanjusha Web servers 1 23-10-2007 11:12 AM
Verify X.org configuration file Yasar Getting started tutorials 1 06-09-2007 02:43 PM
How to add MIB's in snmpd.conf file manish_2479 Networking, Firewalls and Security 0 10-07-2007 01:26 AM


All times are GMT +5.5. The time now is 04:43 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38