Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Large Filesystem backing up to tape

Status
Not open for further replies.

meyer8458

Technical User
Dec 16, 2004
4
US
I have a 2TB file system I am trying to backup to tape. I have about 1.5 TB of change each day on this mount point. I have IBM LTO-2's in my L700. The issue is that there is only one directory under the mount point, so I am unable to set up multiple savesets to get more than one stream. These are Oracle RMAN .bus files and their names change daily such as:

/directory/HOT_db444555599674.bus
/directory/HOT_db444555599675.bus
/directory/HOT_db444555599676.bus
and so on.

It would be great if I can dynmically update the saveset list for this client and back up each of these files as a separate saveset stream.

Tape is probably not my best solution for this, but I am stuck with what I have right now. Any help or ideas will be appreciated.


 
FYI, I am running Networker 6.1.4 and this server is a Storage Node.
 
If you can extract the names of the files, then you can generate a script to update the savesets:
nsradmin -i update.txt
where update.txt is
---------------------------------------------------------
print type: nsr client; name: <client>; group: <group_name>
update save set: "<file_name>"
quit
----------------------------------------------------------
We use this script for variable database backup, and it works fine.
 
Correct. What you need is a dynamic script that detects the save sets and splits them into multiple save streams. Probably somebody else can help.
 
Here is what I wrote. It runs in cron once daily:
#!/usr/bin/ksh
ls -l /fdmsbkup_nfs/hot/pfdms| awk '{print $9}' > /opt/legato/fdms-list
rm /opt/legato/nsrlist.txt
for i in `cat /opt/legato/fdms-list`
do
print "/fdmsbkup_nfs/hot/pfdms/$i," >> /opt/legato/nsrlist.txt
done
cat /opt/legato/list >> /opt/legato/nsrlist.txt

saveset=$(cat /opt/legato/nsrlist.txt)
#print $saveset

sync;sync
echo ". type : NSR client;name:psas102;\n
update save set: $saveset;" | nsradmin -s pstb100 -i -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top