Sponsored Content
Full Discussion: Simple Rsync question
Top Forums UNIX for Dummies Questions & Answers Simple Rsync question Post 302262660 by zaxxon on Friday 28th of November 2008 09:52:58 AM
Old 11-28-2008
You get plenty of tips when asking Google for example:
"rsync howto"
 

10 More Discussions You Might Find Interesting

1. IP Networking

rsync question?

Does anyone know if rsync will work without ssh or rsh? I am trying to use rsync to synchronize files on two servers, one a production server and the other a standbyserver. The problem is that I have't been given the ok to install openssh on our productions servers, so I am trying to make my job... (4 Replies)
Discussion started by: cstovall
4 Replies

2. UNIX for Dummies Questions & Answers

rsync question

Hi All I am trying to rsync the directories between two servers. The source directory is huge (8 GB) and I have the need to take an offsite backup. The directory I am trying to rsync has 774 permissions and are owned by a user/ group. To startup I backed up the source directory and restored... (1 Reply)
Discussion started by: skotapal
1 Replies

3. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

4. UNIX for Advanced & Expert Users

rsync question

Hey there guys I'm trying to rsync up a subdirectory only. For example /Volumes/media/WebDocuments/2006/* but not /Volumes/media/WebDocuments/2007/* rsync -va /Volumes/media/WebDocuments/2006/ \ user@host:/backups/2006/ If I do it that way I get only the contents... (3 Replies)
Discussion started by: sidmuchrock
3 Replies

5. UNIX for Advanced & Expert Users

rsync incremental question

Hi, I have problem with incremental copy of files from source to destination. I would like to copy different sources to different destinations. I made a backup script which look like that: curd=$(date +%w) day=$(date +%A) mkdir -p /home/backup/DATA/$day case $curd in 1|2|3|4|5) ... (7 Replies)
Discussion started by: zhivko.neychev
7 Replies

6. UNIX for Dummies Questions & Answers

Rsync question....

I have folders that sync over the network with an external software. I would like to know if rsync can be used to only sync permissions on files on the files. Remember I just want the permissions on the source to be copied over to the destination's already synced files. (2 Replies)
Discussion started by: elbombillo
2 Replies

7. Shell Programming and Scripting

rsync question (regarding --delete)

Hi there Does anybody know of a way that i can, instead of issuing a --delete when syncing one directory to another, I can instead somehow receive a list of what would be deleted, but not actually delete it ? basically, people are occasionally putting files into one of synced folders, but... (2 Replies)
Discussion started by: rethink
2 Replies

8. Shell Programming and Scripting

rsync question...

hi all, i didnt know where to place the question on this site but seen as though it relates to a script i have done so here... my issue is this... i have 2 servers. On server 1 (master) I have a structure such as /home/test/folder1,/home/test/folder2 and /home/test/folder3. On server... (0 Replies)
Discussion started by: muay_tb
0 Replies

9. UNIX for Dummies Questions & Answers

rsync usage question

Hello folks; I'm using rsync on my Ubuntu servers to sync a remote folders on a remote machine to a local folders on a local machine. one thing i couldn't get to work is how to exclude folder. I know i'm suppose to use "exclude" argument but every time i do, i still see the excluded directory... (0 Replies)
Discussion started by: Katkota
0 Replies

10. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
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)
All times are GMT -4. The time now is 04:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy