Unable to restore *.tar file


 
Thread Tools Search this Thread
Operating Systems HP-UX Unable to restore *.tar file
# 8  
Old 04-06-2017
You didnt say how you created your tar file, what I see is in your -tvf is that it is with absolute path and so when restoring it will want to go exactly there so you cannot decide on where you want to extract, for that you would have to create an archive using relative path eg ./...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Backup and restore using tar

This will be covered elsewhere im sure but i just cant seem to find my exact issue. I want to backup my systems using tar, command is: tar -cjpf /backup /bin /etc /home /opt /root /sbin /usr /var /bootWhen i include the / directory it also tar's the /lib /sys /proc /dev filesystems too (and... (8 Replies)
Discussion started by: Tommyk
8 Replies

2. HP-UX

Unable to create a tar file due to link

Hi, I am trying to tar a directory structure. but unable to do due to a symbolic link. Please help indomt@behpux $ tar -cvf test.tar /home/indomt a /home/indomt symbolic link to /dxdv/03/ap1dm1 Thanks (1 Reply)
Discussion started by: nag_sathi
1 Replies

3. UNIX for Dummies Questions & Answers

Unable to restore cpio archive to a directory

Hello Every one, I want to back up all passwd files to /xyz/passfiles.cpio and Then restore them to /abc directory. Here is what I wrote: find / -name passwd | cpio -oc > /tmp/passwd.cpio and to restore cd abc cpio -ium < /tmp/passwd.cpio I can not find the files restored to /abc... (2 Replies)
Discussion started by: drdigital_m
2 Replies

4. HP-UX

Unable to access TAR file

hi friends, I am using hp unix HP-UX B.11.11 .. Generally i do the compression to maintain the space availability . To compress the files first i used the TAR to collect all the files. it has done fine. when i am using command ls in the folder which has TAR file , it shows the TAR... (2 Replies)
Discussion started by: rdhaprakasam
2 Replies

5. Solaris

how to restore an entire system from a tar file?

Hi folks, I have an image backup of an entire file system (Solaris 9 on N240) on a tar file. How can I use this tar file to retore my system? Thanks, omd (1 Reply)
Discussion started by: omd
1 Replies

6. UNIX for Dummies Questions & Answers

Restore files with TAR -- Help

Hi, Can anyone tell me the right TAR command to restore all the files dirs/subdirs/files etc. to a given directory on my hdd from a TAPE drive? I already used the list function to see that there is data on it with this commando: # tar tf /dev/st0 Now I need to copy all the data to a... (1 Reply)
Discussion started by: severt
1 Replies

7. UNIX for Dummies Questions & Answers

tar - restore only file of specific dates

hi there, anybody know if there is any efficient way of restoring only files of specific dates from a tape (with tar command)? :rolleyes: coz the tapes containing few weeks' files, but i need only files of a few days..... any kind feedback is appreciated. Thanks in advanced. (0 Replies)
Discussion started by: newbie168
0 Replies

8. UNIX for Dummies Questions & Answers

Question regarding tar restore

I created a relative backup of my home directory using tar into a file named backup.tar. No problem there. I checked it out using the table of contents command to list the contents of the backup.tar file, and there is no problem there either. But, when I tried restoring backup.tar into a... (2 Replies)
Discussion started by: Relykk
2 Replies

9. Solaris

tar - restore a file

We use tar for backing up a server. I need to restore just one file from this backup. Anyone know the syntax? (2 Replies)
Discussion started by: frustrated1
2 Replies

10. UNIX for Dummies Questions & Answers

Cannot restore a TAR backup

I backed up a unix database using "tar -cvf /dev/rmt1 -N 800 /*" Normally I would restore this using "tar -xvf /dev/rmt1 -N 800" This is reporting an error about "not enough memory" I have done a new test backup and restore using the same commands and they work. ANY IDEAS ? (2 Replies)
Discussion started by: Ross.Goodman
2 Replies
Login or Register to Ask a Question
BARRYBACKUP(1)						      General Commands Manual						    BARRYBACKUP(1)

NAME
barrybackup - Barry Project's backup program for the BlackBerry handheld SYNOPSIS
barrybackup [-?][-d] DESCRIPTION
barrybackup is a GUI application for backing up and restoring Blackberry handheld databases. The application allows for filtering of databases for both backup and restore, so not all databases need to be backed up at once, nor all restored. Backups and configuration files are stored by default in the user's home directory, under ~/.barry/backup/PIN. This destination can be changed in the config dialogs, per device. The backup files are compressed tarballs containing specially named files for each record of the databases. OPTIONS
-d --debug-output Enables low level protocol debug output written to stdout/stderr. --display=DISPLAY Specify which X display to use. -? --help Show summary of options. -h, --help Show summary of options. TAR FORMAT
Backups are stored in tar format, compressed with gzip. Backup files are named with the following pattern: PIN-YYYYMMDD-HHMMSS[-tag_name].tar.gz The tag name is optional and is used to name a particular backup. Each record is appended to the tar file using the following pattern for the filename: DBname/RecordID RecordTypeID That is, the database name is used as the directory name, and the filename contains the record ID and record type ID separated by a space. Database names can contain spaces. Record IDs are generally unique, but not all Blackberry devices mandate this, so it is possible, but rare, to have two records in the tar file with the same filename. This is ok. The only problem you'd see is if you expanded such a tar file to a filesystem. The restore process just reads in the filename sequentially and writes them to the device, so duplicate record IDs are not a problem. AUTHOR
barrybackup is part of the Barry project. This manual page was written by Chris Frey. SEE ALSO
http://www.netdirect.ca/software/packages/barry July 28, 2009 BARRYBACKUP(1)