LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Open files Backup Software (http://www.linuxquestions.org/questions/linux-software-2/open-files-backup-software-477942/)

scbops 08-28-2006 12:24 AM

Open files Backup Software
 
Is there any open source Project witch Backup open files

Matir 08-28-2006 01:11 AM

Since most Linux installations have no mandatory locking, any backup program can backup open files, though the state and integrity of those files is not guaranteed.

scbops 08-28-2006 01:20 AM

Is it a free software ?

stress_junkie 08-28-2006 08:47 AM

What Matir means is that any open file can be copied by any file copying utility. You could use the copy command (cp) or remote sync (rsync) or tar or pax or something more elaborate.

Two popular backup packages are Bacula and Amanda. These offer more sophistication than just copying files to a backup media. Both of these packages are free. You may also find that people have created add ons. For example when I searched sourceforge.net for Amanda I found that someone has created a WebMin interface for it.

http://sourceforge.net/projects/bacula

http://sourceforge.net/projects/amanda

scbops 08-29-2006 05:06 AM

evrytime when I backing up my websphere server from tar utility it getting stuck

eg: tar -zcvf back.tgz /

becouse of this I need a good backup Software

stress_junkie 08-29-2006 07:47 AM

It seems to me that you need to diagnose why your backup is getting stuck. Have you considered the possibility that it is just backing up a really big file? That can take a while.

As far as good backup software goes I've already given you pointers to two backup packages that are highly regarded. However most of their value comes from scheduling jobs and keeping records of your backup. They probably use the tar command to perform backups. Even if you got some commercial package such as Veritas Netbackup it would use the tar command to perform backups. I know that for a fact since I used Veritas Netbackup in a previous job. So you would be back to figuring out why your tar backup is getting stuck, if indeed it really is getting stuck.

Here is something that you can do to see if your system is having trouble executing your backups.

1) See if you have the sar utility. If not then get it. I believe that it comes in the sysstat package.

2) add these lines to your crontab file for root.

Code:

#activity reports every 10 minutes everyday
-*/10 *  * * *    root  /usr/lib/sa/sa1

#update reports every 6 hours
0    */6 * * *    root  /usr/lib/sa/sa2 -A

3) create the directory to hold the sar data files

Code:

mkdir /var/log/sa
Then when you want to review your system performance you can enter a command like this in a terminal window.

Code:

sar -q -f /var/log/sa/sa.2006_08_29
This sar command will read the sar data file /var/log/sa/sa.2006_08_29 and will show the queue length and load averages for that period of time. This particular file contains data pertaining to system activity for 29 August 2006. You can look at the man page for the sar utility to find out what else it will show you.


All times are GMT -5. The time now is 12:26 AM.