Using tar, to make differential Backup on Hard Disk
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.
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.
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
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 12:49 AM.|