Hello all,
I am wondering if it would be possible to write a script or a cronjob in
linux using Rsync to run an automated backup of a server, or serveral
servers if possible. I am very new with writing scripts and such, so any
help or suggestions with how to get started would be great!!!
Thanks
Matt McCutchen-7 wrote:
>
> On Tue, 2008-04-01 at 03:36 -0700, Peter Heiss wrote:
>>
>> Wayne Davison-2 wrote:
>> >
>> >
>> > Search for the string "admins" in the config file. You presumably set
>> > the gid in more than
Wayne Davison-2 wrote:
>
>
> Search for the string "admins" in the config file. You presumably set
> the gid in more than one spot, such as in the module's settings.
>
I have checked the config file and have not found any duplicates. Here is my
config file:
uid = user
gid = users
read only
Matt McCutchen-7 wrote:
>
> I don't know, but here are a few things you can try. First, confirm
> that the daemon is accepting connections by running "nc localhost 873"
> on the remote machine. You should see the daemon's greeting, beginning
> with "@RSYNCD". Then, attempt to the daemon by ru
Paul Slootman-5 wrote:
>
>> # rsync -zav --progress root@::realperson
>> /random/file-or-directory
>> rsync: failed to connect to : Connection timed out
>> (110)
>
> A timeout would indicate a firewall problem, the rsync port (873) is
> probably not allowed.
>
Yes I understand that ssh is not
I figured out the ssh error. Although I am still unable to connect to the
remote host with the rsync daemon. Here is the error that I am getting
again:
# rsync -zav --progress root@::realperson
/random/file-or-directory
rsync: failed to connect to : Connection timed out (110)
rsync error: error i
Now I have a new situation, the linux OS was reinstalled (it crashed after a
bad restart) on the remote linux box where I was working with rsync. I have
reconfigured everything back to the way tit was before and I am now getting
a new error with the following command:
# rsync -zav --progress :/ra
Matt McCutchen-7 wrote:
>
>> hosts allow = trusted.hosts
>
> BTW, the "hosts allow" field needs to contain the actual list of trusted
> hosts, not the name of a file holding the list.
>
So now I have tried the daemon again, and got a password prompt, which is
better. I edited the "host allow
Matt McCutchen-7 wrote:
>
>>OK, let's be clear here. If you want to start a daemon to accept
>>connections, the command is "rsync --daemon"; pass a --config=FILE
>>option if you want to use a configuration file other than the
>>default /etc/rsyncd.conf . If you want to access an rsync daemon,