Results 1 to 2 of 2

Thread: Slackware Rsync configuration file - rsyncd.conf

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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.

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    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.
    Last edited by nixcraft; 23rd May 2009 at 11:54 PM.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ATI raedon graphics card and slackware
    By Linux_New in forum Slackware
    Replies: 2
    Last Post: 30th October 2008, 11:46 PM
  2. getting errors from named.conf in rhel5
    By ashu.wifi in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 17th September 2008, 02:02 PM
  3. rsync pls help
    By linuxmanjusha in forum Web servers
    Replies: 1
    Last Post: 23rd October 2007, 11:12 AM
  4. Verify X.org configuration file
    By Yasar in forum Getting started tutorials
    Replies: 1
    Last Post: 6th September 2007, 02:43 PM
  5. How to add MIB's in snmpd.conf file
    By manish_2479 in forum Networking, Firewalls and Security
    Replies: 0
    Last Post: 10th July 2007, 01:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •