LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using tar, to make differential Backup on Hard Disk (https://www.linuxquestions.org/questions/linux-newbie-8/using-tar-to-make-differential-backup-on-hard-disk-198324/)

alpha97 06-27-2004 12:39 PM

Using tar, to make differential Backup on Hard Disk
 
Hi

I am new member of Linux Family. I have been assigned the task to implement system in Red Hat Linux 9.0 as Backup server.
This Server also contains users data on Raid implemented ATA/100 Drives.

I would like to find the way how would I create the backup of data on Raid Implemented HDD on another Drive.

Case I - Differential Backup
I had find the way by using tar command but didn't get success. I used

$ tar czf /home/user1 >user1.tar

I used this but I didn't know How would I get differential backup.

Case II - Automating the back up process on Daily basis
I had used the "crontab" settings but I failed
I had add following statement in /etc/crontab as

...
30 17 * * * /bin/tar cvzf /user1.tar /home/user1

Please any one could help me out.

Tinkster 06-27-2004 02:30 PM

Hi!

Firstly you've completely gotten the syntax wrong...

it's tar option archive-filename files-to-be-archieved
I suggest reading the man and info pages.


Cheers,
Tink

alpha97 07-01-2004 08:34 AM

Thnx Tinkster

I am looking for way how would i create backups of shared data on HardDisk.
And How i schedule it for incremental and differential backups on daily and weekly basis.

Please help me out

nmh+linuxquestions.o 05-14-2007 04:24 PM

Quote:

Originally Posted by alpha97
Thnx Tinkster

I am looking for way how would i create backups of shared data on HardDisk.
And How i schedule it for incremental and differential backups on daily and weekly basis.

Please help me out

Assuming GNU tools:
You can use "tar -d" to list differences (apperently), and you can also use something like "find -newer <last backup tarfile>"

If you just want backups, why not use existing software?


All times are GMT -5. The time now is 08:59 AM.