Linux Newbie help
 help / color / mirror / Atom feed
* tar for "full" floppy backup?
@ 2002-12-07  9:24 Jerry James Haumberger
  2002-12-07 18:34 ` Chuck Gelm
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Jerry James Haumberger @ 2002-12-07  9:24 UTC (permalink / raw)
  To: linux-newbie

Hello everyone --

Thank you for offering me various suggestions on how to possibly
get tar to make a backup archive on multiple floppies.  Sorry to
say, none of the suggestions worked.

The only result was that tar would make an archive in whatever
directory I happened to be in when creating the archive -- and
it would ignore the /dev/fd0 device.

When I used the "M" option, nothing occurred.  When I tried
adding the "z" option, I was told that multiple compressed archives
were not possible.

When I try to use the Slackware manual command (SAMS), it messes
up the floppy -- which has to be reformatted and so on.

The question remains:  How can I back up -- with tar or any other
Slackware 3.5 program -- my 9 MBs of files from the BasicLinux
console with multiple floppies?  And in compressed format?



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 25+ messages in thread
* tar for "full" floppy backup?
@ 2002-12-09  7:00 Jerry James Haumberger
  2002-12-09 10:32 ` dashielljt
  0 siblings, 1 reply; 25+ messages in thread
From: Jerry James Haumberger @ 2002-12-09  7:00 UTC (permalink / raw)
  To: linux-newbie

>> As it stands, it's possible to backup to multiple floppy 
>> disks with tar, but these cannot be compressed during the 
>> archival process.  

>Why not use tar twice:  first with -zcf to make a compressed
>archive and then with --multi-volume to write the archive
>to floppy.  Of course to retrieve it, you will also have
>to use tar twice:  first with --multi-volume to reconstruct
>the archive and then with -cvf to unpack it.

What result would you get with that method if you wanted to
review the multiple archive's details with -->

tar --multi-volume -tv --file=/dev/fd0 > backup.log

-->?  Not that much detail.  Just that one big file.

The tar backup routine I've described with your BasicLinux
distribution barely took over six floppy disks, yet I still want
to check out the results, or at least have them available.  (And
I've done just that -- I can review the results of that backup
from a file that had the results directed to it while using the
tar command above.)

For quick backup of important files, though, I'm using the following
script -- perhaps a little "busier" than it needs to be, but then
I'm just a "linux-newbie"... ;-)

-----------------------

cd /home
mount /dev/fd0 /fd14
tar cvpf hot_backup.tar /etc /home /root /var/eznet
gzip hot_backup.tar
rm /fd14/hot_backup/hot_backup.tar.gz
mv hot_backup.tar.gz /fd14/hot_backup
umount /fd14
echo "***FINISHED***"

-----------------------

This works nicely to backup all of my important files, which I can
do much more frequently and easily than the full backup routine with
tar.  What's more, I can also view the results of this file under mc.

This "hot_backup" routine created a tar/gzip file only about 132k in
size.  My rule of thumb is that, when my important file backup exceeds
the size of a 1.44MB floppy disk, it's time to fully backup my system.


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 25+ messages in thread
* tar for "full" floppy backup?
@ 2002-12-08 18:38 Jerry James Haumberger
  2002-12-09  8:10 ` ichi
  0 siblings, 1 reply; 25+ messages in thread
From: Jerry James Haumberger @ 2002-12-08 18:38 UTC (permalink / raw)
  To: linux-newbie

>> One of these commands..
>>
>>  # man tar
>>  # info tar
>>  # tar --help
>>
>>..will give you all information you need about your tar version.

>"all" information? Hardly. Neither "man tar" nor "tar --help" gave *me* 
>enough information to be able to answer his original question (though it 
>did point me to the -M option, which I suggested trying), and my system 
>(like many; it really has not caught on, despite pressure from the FSF 
>crowd) does not even have the "info" system installed. (Does BasicLinux 
>install it?)

BasicLinux does not install the info system, but I'm certain it could be
obtained from the Slackware 3.5 distribution.

I carefully consulted the man and tar --help information, three of the
SAMS thick manuals, Linux for Dummies, and even the Linux Companion for
System Administrators (by Jochen Hein), but none of these offered enough
examples or clearly working commands to accomplish what I was told by
consulting the linux-newbie list.  Also, I came here by the suggestion
of Steven Darnold, who is the author of the BasicLinux distribution.

As it stands, it's possible to backup to multiple floppy disks with
tar, but these cannot be compressed during the archival process.  (The
tar program itself reports that it's not possible, if you attempt to
use the compression options.)  The BasicLinux system, even with the
addition of several full programs to enhance it for my purposes, does
not exceed 10 megabytes.  So for this reason, I still found it
personally adequate to attempt a multiple floppy disk tar archive
without the benefit of compression.  I still plan, however, to use a
combination of tar and gzip for backing up selected documents onto
floppy disks, along with other important configuration files on a more
frequent schedule.

A few more notes:  I should have said that the badblocks (not the
badblock) command is used for checking floppies (BasicLinux has this
command), although when you fdformat floppies, it will tell you
if there is a bad area on it.

This is the style of backup I've chosen for this system.  No one,
though, should feel that this is the expected or "normal" method of
backup for typical Linux systems.  We would normally expect a Linux
system on a network backup routine, or at least with a method of
backing up to tape, another hard drive or zip drive.

>So this was almost a textbook example of a good question for this list... 
>one that needs more than RTFM answers, but a response (which it
>eventually elicited) from someone who could provide an example of how
>to do it.

Thank you, Ray.  I'd consider that a reasonable summary of the matter.


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: tar for "full" floppy backup?
@ 2002-12-07 16:58 Mr. James W. Laferriere
  2002-12-08  8:41 ` ichi
  0 siblings, 1 reply; 25+ messages in thread
From: Mr. James W. Laferriere @ 2002-12-07 16:58 UTC (permalink / raw)
  To: linux-newbie


	Hello Jerry & all ,
	If it is Slackware the tar binary provided is Gnu-Tar .
	Try doing a 'tar --help' & report the output from
	'tar --version' .  There maybe issues with certain versions
	of tar .  Another item to look at is can you read floppies on
	your system if you don't have mtools avaiable , try
	'dd if=/dev/fd0 count=10 | strings'
	If that works , try (you will have to reforamt the flopy tho)
	'dd if=/dev/zero of=/dev/fd0 count=10'
	to see if you can Write to the floppy .

	Compressed you are not going to accomplish easily .
	Maybe someone else can address a method of compressing the
	input INLINE with the multi-volume archive issue .
		Hth ,  JimL

 -- Generic descriptions of options used (on my system)

tar --multi-volume \
  --label="Some Label" \
  --create \
  --preserve-permissions \
  --same-owner \
  --file=/dev/fd0 \
  "List Of Files To Backup"


  -- The actual command that I used to creat a 4 Volume set tar archive

tar --multi-volume --label="Root-Bin-test" --create --preserve-permissions --file=/dev/fd0 /root/bin


  -- The output from the above command during execution .

tar: Removing leading `/' from absolute path names in the archive
Prepare volume #2 for /dev/fd0 and hit return:
Prepare volume #3 for /dev/fd0 and hit return:
Prepare volume #4 for /dev/fd0 and hit return:

-- 
       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | babydr@baby-dragons.com | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 25+ messages in thread
* tar for "full" floppy backup?
@ 2002-12-06 21:47 Jerry James Haumberger
  2002-12-06 22:25 ` dashielljt
  2002-12-06 22:26 ` dashielljt
  0 siblings, 2 replies; 25+ messages in thread
From: Jerry James Haumberger @ 2002-12-06 21:47 UTC (permalink / raw)
  To: linux-newbie

Hello everyone --

An old Slackware 3.0 manual suggests the following command with
tar for a full backup onto 3.5" floppy disks:

tar cvfbk /dev/fd0 1440 4 /

I've read that the "k" option is supposed to cause tar to prompt
for adding multiple disks as the archive exceeds the size of each
floppy disk, but I receive errors, and the backup stalls.

Does anyone know of a one-line command string for using tar
to backup all that's necessary (I realize that *everything*
doesn't have to be backed up, such as empty directories, etc.)?

And what would be the correct command using tar to restore this
backup?

Can the multiple floppy disk archive be gzipped during the tar
archive process -- or would this make it impossible to restore
the archive later?

Am I using the wrong utility to attempt floppy disk backups?

I only have about 9 MBs of material (from BasicLinux) to
back up and am using a full version of tar from Slackware 3.5,
and I'm not working with a network here.

Please excuse my ignorance, and thanks for any suggestions!


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2002-12-11 18:12 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-07  9:24 tar for "full" floppy backup? Jerry James Haumberger
2002-12-07 18:34 ` Chuck Gelm
2002-12-07 20:08 ` Rolf Edlund
2002-12-08 16:05   ` Ray Olszewski
2002-12-09  7:32     ` ichi
2002-12-11 18:12     ` Rolf Edlund
2002-12-08  8:36 ` ichi
  -- strict thread matches above, loose matches on Subject: below --
2002-12-09  7:00 Jerry James Haumberger
2002-12-09 10:32 ` dashielljt
2002-12-08 18:38 Jerry James Haumberger
2002-12-09  8:10 ` ichi
2002-12-08 21:07   ` dashielljt
2002-12-09 18:11     ` ichi
2002-12-09 10:16       ` dashielljt
2002-12-09 12:38       ` Mr. James W. Laferriere
2002-12-07 16:58 Mr. James W. Laferriere
2002-12-08  8:41 ` ichi
2002-12-07 20:03   ` Chuck Gelm
2002-12-08  2:10     ` whitnl73
2002-12-06 21:47 Jerry James Haumberger
2002-12-06 22:25 ` dashielljt
2002-12-06 22:26 ` dashielljt
2002-12-06 23:35   ` Chuck Gelm
2002-12-07  0:10     ` Ray Olszewski
2002-12-07  0:53     ` dashielljt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox