Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Urgent need of copying database file systems from UFS to ZFS file systems using RSYNC

Posted on 2011-03-16
7
Medium Priority
?
424 Views
Last Modified: 2012-06-21
I need urgent help in copying database file system from UFS to ZFS file system from one server to another using RSYNC
on UNIX Solaris servers.

I need script written to accomplish this using Bash or Korn shell using rsync that I can put this job under crontab and it can complete its copying database file system,

 ALSO PLEASE EXPLAIN STEPS DESCRIBE IN THIS SCRIPT.

Many thanks,




0
Comment
Question by:ikhan_1971
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
7 Comments
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 2000 total points
ID: 35152852
NFS share from one server to another, on the second server mount the share dir onto say /mnt. The script as follow:
#!/bin/sh
umask 022
echo "Started copying database at"
date
/usr/local/bin/rsync -auvpogl /mnt/ /localdir
echo "Finshed copying at"
date
0
 

Author Comment

by:ikhan_1971
ID: 35153001

We do not use NFS in our environment.

Please eliminate option of NFS to provide short script to accomplish this using rsync as stated.

Thanks
0
 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 2000 total points
ID: 35153031
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35176327
Two answers have been given in very short time frames. Client has changed mind, but points should allocate regard less.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 35176329
Two answers have been given in very short time frame. Client has changed mind, but point should allocate regard less.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question