Rsync error while running from destination to source
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
Quote:
[/uv1402/u207/home/bravopdba] [/uv1402/u207/home]
Authorized uses only. All activity may be monitored and reported.
ld.so.1: rsync: fatal: libiconv.so.2: open failed: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Dear Folks,
I have to backup pgsql database dump everynight on a routine. The database dump actually contains sql(text) statements. The actual size of the database dump is aroung 800 MB. Between two days backup, only few lines of statements are modified/added/deleted.
I dont want to do... (1 Reply)
Hi everyone, and thanks to all for your assistance.
I have a problem with the rsync command. I want to make a backup of a "source" directory in a "destination" directory.
I want to specify:
"absolute path of destination" (identified by a ~): ~/Destination
or a "relative path of... (0 Replies)
I've got a rsync script that backups file from disk1 to disk3. This works great however if there are extra files on disk3 they do not get deleted by the sync.
I'm syncing all folders from F-J
rsync --progress -v --delete --delete-excluded -av --recursive /home/disk1/Files/*... (0 Replies)
Hi Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
hi All,
i have implemented Rsync in my source and destination server. while running through command prompt it is working fine:
ksh rsync_bravo_db.ksh usa0300uz1252.apps.mc.xerox.com /uv1402/u207/home/bravodba/bin/rsync-3.0.9/config/mrsx_rsync.cfg
but later on i created a another ksh and... (4 Replies)
hi All,
i am getting some error while running Rsync, and unable to find error at Google even, could anyone help me here please.
---------- Post updated 08-31-13 at 07:47 AM ---------- Previous update was 08-30-13 at 04:35 PM ----------
above problem got resolved because it was not... (4 Replies)
Hi All,
I want delete all files from destination folder. I am trying below commands
rsync -avFF --delete-after /home/vizion/source/ /home/vizion/destination/
I need to be delete all file/fodders from destination
Any body have idea ? Please correct me. (3 Replies)
I have a script that synchronises a directory to a DR server, but to improve the time, I actually use rsync to transfer files * in one batch and also
* in another batch - both batches run from the same script and run in the background.
My problem is that there isn't much space on the... (1 Reply)
Is there a way to find out all the ports open between source IP & destination IP in any way ? (12 Replies)
Discussion started by: UnknownGuy
12 Replies
LEARN ABOUT DEBIAN
ropkg::rsync::conffile
RoPkg::Rsync::ConfFile(3pm) User Contributed Perl Documentation RoPkg::Rsync::ConfFile(3pm)NAME
RoPkg::Rsync::ConfFile
DESCRIPTION
RoPkg::Rsync::ConfFile is a class used to manipulate rsync configuration files. Is capable to maintaine the order of the modules, and even
keep your comments and empty lines intact.
SYNOPSIS
#!/usr/bin/perl
use warnings;
use strict;
sub main {
my $cf = new RoPkg::Rsync::ConfFile(filename => '/etc/rsyncd.conf');
$cf->Write('/tmp/new_rsyncd.conf');
return 0;
}
main();
METHODS
All methods, throw the OutsideClass exception, if you use them as class methods. Besides OutsideClass the methods are throwing other
exceptions as well. Refer to each method documentation for more information.
new(%hash)
The class constructor. Accepts a hash as parameter. At this moment only one parameter can be specified inside the hash: filename . If this
parameter is present, the file specified is parsed and loaded into the object.
AddParam($pname, $pvalue)
Add a new global parameter named $pname with value $value.
AddComment($pval)
Add a new global comment with value $pval
AddBlank($bval)
Add a new global blank line with value $bval
AddNode($node)
Adds a new RoPkg::Rsync::Node object to the current object. Before the node is added, the nodes list is checked for duplicates of the
object. If a duplicate is found, the method does nothing.
Exceptions:
If $node is not a instance of RoPkg::Rsync::Node, Param::Wrong exception is raised.
DelNode($node_name)
Removes a node from the nodes list. The nodes are searched by their names. Returns -1 if the node was not found, the new number of nodes
otherwise.
HasNode($node_name)
Returns 1 if the node with name $node_name was found in the nodes list, 0 otherwise.
Clean()
Clean the object. Removes all information (the nodes list, statistics, etc). Always returns 1.
Parse($filename)
Parse the configuration file $filename and returns the number of nodes. If $filename is not defined Param::Missing exception is raised. If
the path does not point to a existing file, File::NotFound exception is raised. If the file could not be opened, File::Open exception is
raised.
Write($path)
Write the configuration into the file specified by path $path.
ToString()
Returns the string representation of the configuration file.
PREREQUISITES
perl 5.008 (or later) is required. Besides perl, you must have the following:
*) RoPkg::Exceptions
*) Scalar::Util
*) English
SEE ALSO
RoPkg::Rsync::Atom RoPkg::Rsync::ConfFile RoPkg::Exceptions
AUTHOR
Subredu Manuel <diablo@iasi.roedu.net>
LICENSE
Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself. The LICENSE file contains the full text of the license.
perl v5.8.8 2006-06-09 RoPkg::Rsync::ConfFile(3pm)