rsync - transactional sync with multiple nodes


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting rsync - transactional sync with multiple nodes
# 1  
Old 11-24-2011
rsync - transactional sync with multiple nodes

Hi Everyone,

We have a requirement to sync files with multiple nodes. We need to run the rsync sequentially on each node, if one of the node fails we need to recover the files to previous state in all nodes. I know that we have backup option in rsync which takes the backup of files before applying changes to destination folder.

I have few questions on this
1. How can we achieve the above transactional sync requirement using backup option? Any thoughts...
2.I think rsync performs file by file transfer.. is there any option to take total
backup(--backup) in backup folder first and after complete backup apply changes(sync) with destination?

Thanks !
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync from remote machine via ssh and sync by uisng find by modified time

Hi I have a requirement to rsync from remote to local machine via ssh and sync files that are changed in last n hours. pgrep to check if no other sync is running pgrep -f rsync.*/opt > /dev/null || rsync --bwlimit=10000 -avz --delete root@X.X.X.X:/var/source/ /opt/dest/ >> /home/log 2>&1... (0 Replies)
Discussion started by: robo
0 Replies

2. AIX

HACMP - two nodes - take too long to sync

HI Admin, I have running 2 node HACMP cluster- AIX 6.1. I just set it up. It does sync completely without any errors. But it take too long to sync. More than 30 mins... any reasons? Where can I start looking into ? Same network, same Subnet (1 Reply)
Discussion started by: snchaudhari2
1 Replies

3. Shell Programming and Scripting

Syncing Multiple Music Collections, Can rsync help?

Hello, I have two laptops one office and one personal. The office laptop is a Lenovo T430s 16GB RAM running Windows 7 and the Personal Laptop is a hp Pavilion dm4 Laptop dual booted with Windows 7 and Fedora 14. I have 3 music collections, one on my personal Laptop, one on office Laptop and... (3 Replies)
Discussion started by: ajayram
3 Replies

4. Shell Programming and Scripting

Rsync problem versions out of sync

Hello, I have a report which I am writing as a .tex file, and I am editing from two computers (office and home laptop). I use rsync over ssh connection to synchronise between them and all the rssync commands are written in a Shell script. #synchronise from office computer to home laptop... (2 Replies)
Discussion started by: ajayram
2 Replies

5. Solaris

How to sync without rsync?

rsync for solaris seems to be a spotty beast. It's not installed by default. I facing a problem where I didn't have root access to be able install rsync. I did have ssh access and was able to configure the authorized keys so that no password was required to connect from one server to another. ... (1 Reply)
Discussion started by: abe123
1 Replies

6. Shell Programming and Scripting

rsync multiple directories into single directory on remote

I would like to find and backup all *.mp4 files from /Pictures and its sub-directories and move them to a single directory on a remote. I can find and move the files but I don't want the directory structure...just the files to be placed in a single remote directory. To find my files I use ... (1 Reply)
Discussion started by: wreckedred
1 Replies

7. Emergency UNIX and Linux Support

rsync transferring multiple files issue

Hi, I want to specify multiple remote directories but want to transfer them in a single command with one connection with remote server. This avoids entering passwords repeatedly and is also efficient. e.g. rsync -vrt --size-only --delete user@host:/home/user1/dir1... (9 Replies)
Discussion started by: sardare
9 Replies

8. Shell Programming and Scripting

rsync multiple remote directories one connection

Hi, I want to specify multiple remote directories but want to transfer them in a single command with one connection with remote server. e.g. rsync -vrt --size-only --delete user@host:/home/user1/dir1 user@host:/home/user1/dir2 user@host:/home/user1/dir3 .... local_dir/ I want to... (0 Replies)
Discussion started by: sardare
0 Replies
Login or Register to Ask a Question
load(8) 						      System Manager's Manual							   load(8)

Name
       load - down-line load software to a target node

Syntax
       /etc/load [ node ]

Description
       The command loads software to an unattended target node.  The target node is loaded by the host that executes the command.

       The  command requires the identification of the service circuit over which the load is performed, the Ethernet hardware address of the tar-
       get node, and the service password needed to gain access to the target.	This information is included in the nodes database entry  for  the
       target  node.   A node entry is defined with the command.  For further information, see The node is the name or address of the target node.
       A node name consists of from one to six alphanumeric characters.  For single networks,  a  node	address  consists  of  a  decimal  integer
       (1-1023).   For	multiple  networks,  a	node  address  consist of two decimal integers (n.n), where the first indicates the network number
       (1-63), and the second indicates the node address (1-1023).

Options
       -p   Uses the specified service and password (next arguments) in accessing the target node.  You can omit a target node's service and pass-
	    word from the nodes database for security reasons, but you must then specify the service and password in the command line by using the
	    option.

Examples
       # /etc/load bangor -p 130fe
       This command causes node to be loaded by the ULTRIX host node executing the command.  The ULTRIX host uses the load files specified in  the
       nodes database entry for node to perform the load.

See Also
       addnode(8), ccr(8), getnode(8), mop_mom(8), remnode(8), trigger(8)
       Guide to Local Area Transport Servers

																	   load(8)