• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

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

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
ikhan_1971
Asked:
ikhan_1971
  • 4
2 Solutions
 
Joseph GanSystem AdminCommented:
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
 
ikhan_1971Author Commented:

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
 
Joseph GanSystem AdminCommented:
Two answers have been given in very short time frames. Client has changed mind, but points should allocate regard less.
0
 
Joseph GanSystem AdminCommented:
Two answers have been given in very short time frame. Client has changed mind, but point should allocate regard less.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now