LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-27-2004, 12:39 PM   #1
alpha97
LQ Newbie
 
Registered: Jun 2004
Location: Pakistan
Distribution: Red Hat 9.0
Posts: 22

Rep: Reputation: 15
Question 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.
 
Old 06-27-2004, 02:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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
 
Old 07-01-2004, 08:34 AM   #3
alpha97
LQ Newbie
 
Registered: Jun 2004
Location: Pakistan
Distribution: Red Hat 9.0
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 05-14-2007, 04:24 PM   #4
nmh+linuxquestions.o
Member
 
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
backup files, tar, do i need to make a copy dtra Linux - Software 3 05-10-2005 08:52 PM
What is the best sofware to backup an image of a hard disk of any OS? rooch84 Linux - Software 7 08-09-2004 03:28 AM
Hard disk backup/copy.... Irf Linux - General 26 05-27-2004 05:26 PM
LAN backup to a removable hard disk chakkerz Linux - Networking 3 12-16-2003 06:11 PM
Use part of hard disk as backup device? doris Linux - General 2 06-01-2001 08:38 AM


All times are GMT -5. The time now is 04:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration