There are two different problems, lets discuss it one by one:
I suppose the data reside on some sort of SAN device. To read and write 20GB of data is a matter of some minutes, maybe a quarter hour (if things go really wrong). We can afford to have the backup reside on the local machine.
We need a script, which does the following:
- stop the application
- tar (and gzip?) the data to the (local) backup destination
- start up the application again
The script should issue some sort of alert (alerting a management system like Patrol/HP-Openview/etc. or mail to root or whatever) if anything goes wrong.
Then lets turn our attention to the backup server. We need a script there which does the following:
- contact the server to be backed up.
- pull the file the server has already created that day
- delete old backups on the system if we want to have only a certain number of generations online
Again, if anything goes wrong the system should complain somehow.
It is good to have the taking and the pulling over of the backup NOT tied together (that would have been possible) because this way you can take the backup when the client has time and then pull over the backup when the backup system has time.
Both these scripts will be put into crontab to run daily (or whatever timely pattern you want them to run).
Lets start with the scripts. Since i don't know your exact environment these scripts are a sketch of course. You will have to fill in the details yourself:
Note that this is really a sketch: for instance there is no provision to delete old backup files when they are no longer necessary. Ideally the script for the backup server should do this after pulling over the file successfully. Still it would probably be nice to have the last backup generation on the originating server in case we have to restore something, so there is room for some scripting for you.
Lets turn to the matter of software installation: You find a pinned thread with important URLs at the top of this forum. Among these URLs is IBMs "Linux toolbox for AIX", where you can download all the necessary tools already packaged in rpm-format.
You first have to install the rpm installer itself, which is a package in AIX' native bff-format. (AIX has its own packaging format.)
To install packages in bff-format:
- copy the downloaded packages to a directory
- change to this directory and issue "inutoc .", which will create a file ".toc"
- issue "installp -ac -d. -Y -g <package_name>" to install a package
To install packages in rpm-format:
- copy the downloaded packages to a directory
- change to this directory
- issue "rpm -i <packagefile>" to install to package
We are using sun_sparc solaris 2.5.1 with oracle database 8.0.5
We are considering to buy for buying backup software for this purpose .
Our systems integrator says veritas could not be installed due to some technical reasons (they are veritas authorised dealer) . And is suggesting Netvault... (3 Replies)
My company is in the process of building a new datacenter and I am responsible for setting up the backup environment (everything from racking to implementation). I guess it is pretty basic but I don't have much experience with the initial setup. What we have so far is a SunV890 (backup server), Sun... (1 Reply)
Hello,
I'm looking for a backup solution for my system. I have 3 AIX virtual partitions running on a IBM p5 server. Each partition has it's data on a DS4700 storage server.
Also, I have a RedHat running on an IBM p720. This server has the tape hardware.
I would like to know if I can backup from... (4 Replies)
Hi all, i am not sure whether i selected the right topic or not, so excuse me, well i am mainly a Windows admin, but i do *NIX administration from time to time, for now i need to use an open source solution for backup windows environment mainly, i spent last days playing with bacula and backupPC,... (0 Replies)
Ive a problem that I'm reaching out for help.
Ive written (With bits and pieces) of script that is not running as expected or is having an issue causing processes to spiral out of control.
The script does this:
Unloads a UV database server
Tars up a few folders
Transfers the file to... (11 Replies)
Hello All,
I am looking at a fast way to script some backups. I am looking at using rsync to do the leg work. I am having a hard time conceiving a script though.
I have a tree with subfolders within subfolders. I was looking at the /xd option to parse the tree.
Directory of k:\
... (4 Replies)