LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   tar --newer .. or --list-incremental (https://www.linuxquestions.org/questions/linux-software-2/tar-newer-or-list-incremental-23997/)

pfunk 06-21-2002 03:04 PM

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?

Mara 06-21-2002 03:57 PM

Use the --newer option at the end of the command.


All times are GMT -5. The time now is 06:19 PM.