Cron script needed to make backups - help please

Cron script needed to make backups - help please

Post by Carl J. DiGiorg » Fri, 26 May 1995 04:00:00



Hello,
        I have just made my first complete backup of my Linux system.  I would
now like to set it up so that the system automatically backs up certain things
at timed intervals.  I am using Linux v. 1.1.94 on a Dell Pentium with an
Iomega 250 QIC-80 tape drive.  The machine functions mainly as a web server.
These web files are constantly being updated daily.  The web files reside
in /home/www  Therefore, I would like to create a cron job that backs up
just these files everynight at midnoght.  I also would like to backup the users
home directories once a week.  How would I set up my cron script to handle
this?  Also, how often do I have to change the tape.  Also, at each backup,
will the tape rewind and start at the beginning or will it just append this
night's backup to the previous one?  Sorry to appear so clueless.  Any help
would be greatly appreciated.  Thanx in advance.

--
___________________________________________________________________________
   _ _ _  _ _ _  _ _                                
  / _ _/ /_  _/ /   \  Carl J. DiGiorgio         "The reward for work well

 
 
 

1. cron backup error - help please

does anyone have any idea why i get the following output from my
crontab job for ufs backups?

*****************************************************************

Your "cron" job

/usr/lib/fs/ufs/ufsdump 7uf /dev/rmt/0n /dev/rdsk/c0t3d0s5>/dev/null

produced the following output:

  DUMP: Date of this level 7 dump: Mon Nov 14 23:00:03 1994
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c0t3d0s5 (/opt) to /dev/rmt/0n
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 431702 blocks (210.79MB)
  DUMP: Writing 32 Kilobyte records
  DUMP: NEEDS ATTENTION: Cannot open volume.  Do you want to retry the open?: ("yes" or "no")   DUMP: The ENTIRE dump is aborted.

******************************************************************

i get this for many of the filesystems but not for all.  the cron entry
looks like this:

0 23 * * 1,2,3,4 /usr/lib/fs/ufs/ufsdump 7uf /dev/rmt/0n /dev/rdsk/c0t3d0s5>/dev/null

i'd appreciate any help.  thanks.
aileen
-
======================================================================
Aileen Barry
Hughes STX
NASA Goddard Space Flight Center, Greenbelt, MD  20771
Code 666

======================================================================
Disclaimer: These are my opinions and not necessarily those of my employer.

2. //////////////|||||||||| Evidence Eliminator ||||||||||\\\\\\\\\\\\\\\\\ . 5704

3. Please help with ftp script for cron

4. Oracle + Unix question , Error validation for SQL statements in co process ?.

5. Need some help with a ftp script for cron

6. Linux Perl Serial device

7. Please help with cpio and backup script!

8. sh does not like square brakets ?

9. Incremental backup script problems, please help

10. Need help making rescue disk, please.

11. Problem running backup script with cron

12. Expect script for multitape backup within cron

13. backup script from cron