LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   backup tool (https://www.linuxquestions.org/questions/linux-newbie-8/backup-tool-822829/)

fernfrancis 07-29-2010 05:58 AM

backup tool
 
I am looking for a graphical network backup tool which is capable of restoring the files with the exact permission and ownership
i tried using backuppc but it doesnt restore the exact permission of the file
can someone recommend me a good backup tool
thanx

repo 07-29-2010 06:06 AM

Perhaps grsync

fernfrancis 07-29-2010 06:44 AM

Grsync has the features but i am trying to backup a server remotely there are lot of file systems i need to have , with grsync i will have to make those filesystem to be shared which is practically not advisable

RWTH 07-30-2010 07:50 AM

Hi fernfrancis,

Have you tried dar combined with kdar?

fernfrancis 08-01-2010 03:30 AM

kdar also doesnt have the feature to schedule daily backup any other tool available

jschiwal 08-01-2010 04:57 AM

You could export the dar script from kdar after configuring what to back ul, and ron the script from a cron job. The configuration would be graphical, but the job wouldn't be.

fernfrancis 08-01-2010 05:41 AM

is there a better tool than kdar coz i am trying to connect to a remote server , no option to do so plus the drawback of scheduling

repo 08-01-2010 10:47 AM

You could write your own script.

RWTH 08-02-2010 01:51 AM

Quote:

Originally Posted by jschiwal (Post 4051545)
You could export the dar script from kdar after configuring what to back ul, and ron the script from a cron job. The configuration would be graphical, but the job wouldn't be.

I agree with jschiwal. That's what we do in my workplace. We wrote our own small script usind dar commands and controlling them via cron jobs in order to bakcup daily and weekly. In case of emergency we use kdar to retrieve the data.

fernfrancis 08-02-2010 02:37 AM

RWTH can u sent me a sample script as of how to do it

RWTH 08-03-2010 03:07 AM

Quote:

Originally Posted by fernfrancis (Post 4052330)
RWTH can u sent me a sample script as of how to do it

Hi fernfrancis,

I can sent only some bits and pieces, because the scripts contain company proprietary information. But in general, you need a main dar command. With options you can control that dar command whether it should backup everything or differential (incremental).

Our general dar command looks like this:

dar ${DarFile} ${SourceDir} ${ArchivedFile} -n -w -D -z9 -m 150 -u -U -X "core*.*" -X "*.psf" -P "username" -Z "*.avi" -Z "*.bz2" -Z "*.gif" -Z "*.gz" -Z "*.jpg" -Z "*.mov" -Z "*.mpg" -Z "*.pbm" -Z "*.pdf" -Z "*.png" -Z "*.pnm" -Z "*.Z" -Z "*.zip"

You will need to place this dar command in a small shell script (ours is a little bit complicated) and then control that script via crontab.

I hope, this information will help you.

P.S. I can not guarantee that dar command will run, because I had to copy and paste it for this message.


All times are GMT -5. The time now is 07:34 PM.