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
remnode(8)						      System Manager's Manual							remnode(8)

Name
       remnode - remove one or more entries from the nodes database

Syntax
       /etc/remnode [ node ]

Description
       For each given node argument, deletes the corresponding node entry (or entries) from the nodes database. The nodes database is the one used
       by DECnet.  The node is either the node address or the node name for each node entry that you want to delete.  Note, you can  specify  more
       than one node argument in a single command.

       A node address is a decimal integer in the range of 1 to 1023 for single area networks, or has the format a.n for multiarea networks, where
       a is the network area number (a decimal integer in the range of 2 to 63) and n is the node number (a decimal integer in the range of  1	to
       1023).

       A node name can be from one to six alphanumeric characters, including at least one letter.

Examples
       This command removes the entries for nodes 44.70 and Mynode from the nodes database:
       # /etc/remnode 44.70 mynode <RET>
       This command removes the entry for node lttwi from the nodes database:
       # /etc/remnode lttwi <RET>

See Also
       addnode(8), ccr(8), getnode(8), load(8), mop_mom(8), trigger(8)

																	remnode(8)