Operating System - HP-UX
1758801 Members
3024 Online
108875 Solutions
New Discussion юеВ

Re: Incremental "tar" Backup in HP-Ux

 
SOLVED
Go to solution
Raj D.
Honored Contributor

Incremental "tar" Backup in HP-Ux

Hi All , Can I take incremental tar backup in HP-UX.

That means , overwriting the tape with some more contents.

Regards,

Raj. D.
---------
" If u think u can , If u think u cannot , - You are always Right . "
5 REPLIES 5
Steve Steel
Honored Contributor

Re: Incremental "tar" Backup in HP-Ux

Hi

man tar


u Add any named file to the archive if it is not already
present or has been modified since it was last written in
the archive. The same blocking factor used to create the
archive must be used to update it.


Or just rewrite it with tar -cvf

For backups fbackup is a better choice


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Sanjay Kumar Suri
Honored Contributor

Re: Incremental "tar" Backup in HP-Ux

tar doex not support increamental backups whereas fbackup does.

Use fbackup. It has more features.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Trond Haugen
Honored Contributor
Solution

Re: Incremental "tar" Backup in HP-Ux

That is two questions.
1. Can tar make incremental backups.
Answer: No. But you could use some find options to do this.

2. Can tar overwrite the tape with more contents.
Answer: tar can APPEND more files with the 'u' option.

If you want to make incremental backups fbackup is a far better alternative.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Raj D.
Honored Contributor

Re: Incremental "tar" Backup in HP-Ux

Thanks to all who replied and Trond ,

I ll try the -u option , to append more file , as mentioned.

Thanks ,
Raj D.
-------
" If u think u can , If u think u cannot , - You are always Right . "
Stefan Schulz
Honored Contributor

Re: Incremental "tar" Backup in HP-Ux

Hi,

you will create differential backups by adding newer content to your tar file. thats an difference to an incremental backup. But if this is what you want then tar -u is an option.

Generally i would go for a real backupsolution if you have to do mission critical backups.

But for easy, cheap and scriptable backups tar can be a nice solution.

I know fbackup is often suggested but i had some bad experience where fbackup didn't backup some files but reported them without error message. Didn't experience something like this with tar.

Hope this helps

Regards Stefan


No Mouse found. System halted. Press Mousebutton to continue.