LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-21-2002, 03:04 PM   #1
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
Question tar --newer .. or --list-incremental


Hi, I'm trying to use tar to do an incremental backup. I'm having a problem with the --newer option. I could be persuaded to use the --list-incremental option as well but I can't get that working either.

I'm using RedHat 7.2

Here's what I tried:

tar --newer 20June2002 cvpf /tmp/20jun02 /home

in which case it says that I must specify one of Acdtrux
(BTW, I'm just using /tmp as an example, i've tried that and /mnt/zip but neither work)

So, I thought the --newer option should go after the cvpf.

tar -cvpf --newer 20Jun2002 /tmp/20jun02 /home

When I tried that then it thinks that the file I want to back up to is named --newer.

Suggestions?
 
Old 06-21-2002, 03:57 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,540

Rep: Reputation: 149Reputation: 149
Use the --newer option at the end of the command.
 
  


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
incremental backup using tar eaglegst Linux - Software 9 02-01-2009 06:00 PM
Incremental Backup (tar command) maginotjr Slackware 4 07-21-2005 02:04 AM
Incremental backup script - Tar problem joshheald Linux - Software 1 09-28-2004 11:02 AM
Getting date format right in tar incremental backup jonr Linux - Software 3 08-19-2004 10:53 AM
Incremental tar backups Pepe Linux - General 5 03-18-2002 04:31 AM


All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
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