#File: sol_8

1.	cd;tar -cvf /tmp/sn_tar .
        tar -tvf /tmp/sn_tar
	mkdir tardir; cd tardir
	tar -xvf /tmp/sn_tar ./.kshrc
	ls -al

2.	cd 
	cd ..
	tar -cvf /tmp/sn_tar sn
	cd
	tar -xvf /tmp/sn_tar 
	ls -l
		Note the new subdirectory with your home directory's name.
	rm -r <that subdirectory>  #BE CAREFUL not to remove you home directory!

3.	cd /home
	find <home directory> -print |cpio -ocv >/tmp/sn_cpio
	cd
	cpio -icdumv </tmp/sn_cpio
		Note the subdirectory with your home directory's name.
	rm -r <that subdirectory>  #BE CAREFUL not to remove you home directory!

4.	To restore files from a cpio archive made with the following:
		find /home/blah -print ...
        use:
		cpio -icdumv </tmp/sn_cpio
	This will restore files over the originals since the archive was
	created with an absolute pathname to the find.

        To restore files from a cpio archive made with the following:
		(cd /home;) find ./blah -print ...
        use:
		cd /home
		cpio -icdumv </tmp/sn_cpio
	To restore files over the originals, you must first cd to the 
	directory you were in when you created the archive since the archive 
	was created with a relative pathname to the find.

        To restore files from a cpio archive made with the following:
		(cd /home/blah;) find . -print ...
        use:
		cd /home/blah
		cpio -icdumv </tmp/sn_cpio
	To restore files over the originals, you must first cd to the 
	directory you were in when you created the archive since the archive 
	was created with a relative pathname to the find.

5.	You may use tar and assign it the block device file for the floppy
	as the output destination, as:

		tar -cvf /dev/fd0 .

	No filesystem is necessary on the floppy, and one that may have been
	there before will be destroyed.

6.	Assuming a 7x24 shop, you might perform a full backup on four tapes
	Friday evening starting at 7pm.  Then each day following, only backup
	files which have changed since that Friday full backup.

7.	You could follow the same outline as above either before or after
	the regular backup.

