03-08-2004
Tar/Tapes: Can somebody explain this to me......
Hey Folks,
Can somebody please explain what the crack is with this problem.
I have a backup folder in /var which contains 4 rsync'd server folders:
server08
server15
server16
server18
They all contain the etc folder from the server, and other important data I need to backup.
To send them to tape I have been using: (cd'ing to /var first)
tar -cv -b 16384 -f /dev/nst0 backup/ > /var/log/backup/tapebackup/BACKUP_`date +%Y%m%d`.log 2> /var/log/backup/tapebackup/BACKUP_`date +%Y%m%d`.log
Now, according to my logs, the backup went fine and everything went to plan.
However, If I do a
tar -t -b 16384 -f /dev/nst0
To list the contents of the tape, it firstly says
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
And then it goes on to list the contents of the tape. However, it does NOT list the server15 folder and all its contents, and misses out some of server16
Now according to my backup logs, they backed up in the following order:
server15
server16
server18
server08
And when I list the contents I get:
Half of server16
server18
server08
And no server15. How come? Its driving me nuts! Does anybody know what I am doing wrong? Why are they backing up in that order? And whats happened to my server15!?!?
Thanks for any help!
P.S. This has been driving me nuts for weeks now. If I cant get it working I will have to give up on using tar and try using cpio. However cpio scares the hell out of me, and if anyone could give me a quick run down on how I would put together a cpio command for the above I would be forever grateful
10 More Discussions You Might Find Interesting
1. HP-UX
can any1 tell me how to make ignite tapes for the HP-ux.
this company said it was: "make_tape_recovery_A", but that don't work. (4 Replies)
Discussion started by: JBX
4 Replies
2. UNIX for Dummies Questions & Answers
is there a command to check unoccupied space on a tape ?
AIX 3.2 (1 Reply)
Discussion started by: cubicle^dweller
1 Replies
3. UNIX for Dummies Questions & Answers
:confused:
Hello!!
I am a new UNIX user, and I need to back up some files, I have some old ones and I have been trying to delete the old information with 'mt erase' but I don't be sure if it works, and 'mt resert' but the it gave a message suggesting me to use 'scsiha -r' (but the last one... (1 Reply)
Discussion started by: scs
1 Replies
4. UNIX for Dummies Questions & Answers
how to tar to multiple tapes (1 Reply)
Discussion started by: sean dixon
1 Replies
5. UNIX for Dummies Questions & Answers
I am looking for a way of making a backup of a system DAT tape onto another DAT tape for security reasons. (0 Replies)
Discussion started by: johnrussell
0 Replies
6. Solaris
Hi Community,
I've a V440 Sun Server with 2 device tape of 72GB. I have to backup a folder of 80 GB, so I have to use 2 tapes of 72GB (144 GB);
If I use vxdump command which are the options that I have to use?
When the first tape finishes does the system stop the backup?
Please help me... (1 Reply)
Discussion started by: Sunb3
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
8. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
9. AIX
Hello, anybody out there that is using itdt to manage tape changes in a tape library. The help of itdt show a move subcommand but I can't get it to work.
Env:
AIX5.3
Dell PowerVault TL2000 tape library -> rmt1 Available 01-08-02 IBM 3580 Ultrium Tape Drive (FCP)
# itdt says it finds the... (3 Replies)
Discussion started by: petervg
3 Replies
10. UNIX for Dummies Questions & Answers
Hello All,
I have been seeing a weird(at least for me, at this point) issue with a specific tar command.
1st fashion)
Normally, if i have to tar anything at the command line I tend to use
tar -cvzf <tar-file_name.tgz> <directory_to_be_tarred>
this command works perfectly fine with out... (1 Reply)
Discussion started by: getnetha
1 Replies
LEARN ABOUT DEBIAN
gpodder-backup
GPODDER-BACKUP(1) User Commands GPODDER-BACKUP(1)
NAME
gpodder-backup - Backup and restore utility for gPodder user data
SYNOPSIS
gpodder-backup [--create|--extract] <archive.gpo.tar.gz> [options] gpodder-backup --purge
DESCRIPTION
This utility can be used to create a dump of the current gPodder data (configuration files + downloads), optionally replacing the real con-
tents of the download folder with zero-byte files (for submitting your data to a bug report without having to transfer lots of data).
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-c <FILE>, --create=<FILE>
Create a new archive
-x <FILE>, --extract=<FILE>
Extract an existing archive
-f, --fake-downloads
Store downloads as zero-byte files in backup
-n, --no-covers
Do not include cover files in archive
-D <DIR>, --destination=<DIR>
Extract downloads in different folder
-P, --purge
Remove current data (can be combined with --extract)
USAGE FOR BUG REPORTING
This command is useful if you want to report a bug in gPodder:
gpodder-backup --create bug123.gpo.tar.gz --fake-downloads
Backup your current data to file bug123.gpo.tar.gz, but don't store download data (create zero-size dummy files instead). You can
then attach bug123.gpo.tar.gz to the bug report.
If you are instructed to try gPodder from a "clean state", you can use the following command (be sure to backup your data before!):
gpodder-backup --purge
Remove all gPodder data, so you can start from a clean state
EXAMPLES
gpodder-backup --create today.gpo.tar.gz
Backup your current data to file today.gpo.tar.gz
gpodder-backup --extract mybackup.gpo.tar.gz
Restore (without purging) the contents of mybackup.gpo.tar.gz
gpodder-backup --extract default.gpo.tar.gz --purge
Remove current data, then restore the contents of default.gpo.tar.gz
gpodder-backup --purge
Remove all gPodder data, so you can start from a clean state
EXTRACTING FAKED DOWNLOADS
Please note that any existing downloads will be overwritten with zero-byte files when using the --extract option of the gpodder-backup
utility with a backup created with --fake-downloads
AUTHOR
gpodder-backup was written by Thomas Perl (thp@gpodder.org)
gpodder-backup 1.0 December 2010 GPODDER-BACKUP(1)