08-05-2011
Directory comparision between two server
Hi,
I am trying to write a shell script that will give the comparision between two server
for example:
Server 1 : /a/b/c
Server 2: /a/b/c
First login to Server1 and check the dir sturcture and then login to Server2 and get the dir stucuture and then compare...and if there is difference need to send a mail.
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
Anybody knows how to map a particular server directory to another server directory. Both servers are unix. For example when i view the files in server A /export/home/web/doc/ , I am actually viewing the files in server B /export/home/web/doc. Have been looking for a solution for a long time.... (2 Replies)
Discussion started by: sagolo
2 Replies
2. Solaris
Hi,
I have two solaris 10 servers, and I want a directory (test) in server A be accessible in server B.
I searched the web and the concept should be as follows:
Server A:
# share -F nfs /home/nms/test
Server B:
# mount -F nfs serverA:/home/nms/test /home/nms/test
But when I... (1 Reply)
Discussion started by: racbern
1 Replies
3. UNIX for Dummies Questions & Answers
Question 1) I have directory /home/userme/reports on server 1 and I want to mount that directory anywhere on server 2. How do I make this happen?
Question 2) Server 2 is behind a firewall and server 1 is public...by mounting server 1 on server 2 do I compromise the security of server 2? (3 Replies)
Discussion started by: vincaStar
3 Replies
4. Solaris
Hello everyone,
I have been trying to find a way to setup a directory server working with RBAC on Solaris. I will try to figure out my environment and my concerns. Here we go :
- I have Unix servers mostly running Solaris 10 and 9 in my environment.
- I have users/user groups that need to... (4 Replies)
Discussion started by: niyazi
4 Replies
5. Shell Programming and Scripting
Hi guys, can you help. I have looked all over the site and can not find the info I'm after. Perhaps I am missing something very obvious. I want to syncronise between 2 servers, I can not use NFS mount/share. So I have been looking at scp, rsync, rdist. Thing is, I want only the newer files to... (2 Replies)
Discussion started by: Boloic
2 Replies
6. AIX
Hi All,
I have directory "A" on server "1".
I also have directory "B" on Server "2"
I need to link these 2 directories "A" and "B" which are across servers.
Is it possible?
If so, can somebody help me on this?
Thanks in advance.
Mugundan (2 Replies)
Discussion started by: mjdarm
2 Replies
7. Shell Programming and Scripting
Hi All,
I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies
8. Solaris
ftp a directory to another server from the local server what is the command (2 Replies)
Discussion started by: PMoore
2 Replies
9. Shell Programming and Scripting
ssh user@hostnameB
cd /home/oracle
latest_file_target=$(ls -trp -I "*.pd.Sat" -I "*.pd.Lag" -R | grep -v "/.pd" | tail -1)
scp -r $latest_file_target user@hostnameA:$TARGET_DIR/
exit (1 Reply)
Discussion started by: ahmed.vaghar
1 Replies
10. Shell Programming and Scripting
Experts,
Please help me out here.
How to preserve time stamp while copying a directory from Server B to Server A (3 Replies)
Discussion started by: ahmed.vaghar
3 Replies
LEARN ABOUT DEBIAN
partimaged
partimaged(8) Partition Image Server Manual partimaged(8)
NAME
partimaged - backup/restore partitions server
SYNOPSIS
partimaged [ -DhLv ] [-r directory] [-p port] [-g loglevel]
DESCRIPTION
partimaged can be used to use partimage over the network. Run partimaged on the computer where you want to save image files and run partim-
age on stations you want to backup.
OPTIONS
-D --daemon
Start server in daemon mode.
-h --help
Show help
-L --nologin
Accept only clients with login support disabled. Clients with login support enabled will be refused. This option should be used
only if clients ask it.
-v --version
Show version
-p port --port port
Give server's listening port.
-d directory --dest directory
Directory where the images will be stored.
-g debuglevel --debug debuglevel
Set the debug level to debuglevel (defaults to 1).
-r dir --chroot dir
Use chroot to improve security.
SEE ALSO
partimage(1), partimagedusers(5), partimaged-passwd(8)
DIAGNOSTICS
You can read options set at compile time running 'partimage -i'.
BUGS
Refer to BUGS file to read them.
AUTHOR
Franck Ladurelle <ladurelf@partimage.org>
Francois Dupoux <fdupoux@partimage.org>
3rd Berkeley Distribution 30 May, 2002 partimaged(8)