Date: Tue, 17 Apr 2001 16:46:48 -0700 (PDT) From: Rick Duvall <maillist@coastsight.com> To: freebsd-questions@freebsd.org Subject: flexbackup problems Message-ID: <Pine.BSF.4.21.0104171644480.53619-100000@ns1.coastsight.com>
next in thread | raw e-mail | index | archive | help
Here are the errors..... Help with making this work is appreciated. root@ns1:/# flexbackup Use of uninitialized value in pattern match (m//) at /usr/local/bin/flexbackup line 82. flexbackup version 0.9.8 <flexbackup@home.com> /etc/flexbackup.conf syntax OK Errors: Nothing to do (see -help) root@ns1:/# flexbackup -list flexbackup version 0.9.8 <flexbackup@home.com> /etc/flexbackup.conf syntax OK |------------------------------------------------ mt: compression: unknown command Use of uninitialized value in numeric eq (==) at /usr/local/bin/flexbackup line 2242. | Reading from current tape position |------------------------------------------------ /dev/rsa0: hardware block location 0 |------------------------------------------------ | buffer -m 3m -s 64k -u 100 -t -p 75 -B -i /dev/rsa0 | afio -t -z -D \ | /usr/local/bin/flexbackup -v -b 64k - |------------------------------------------------ buffer (reader): failed to read input: Input/output error afio: "-": No input |------------------------------------------------ /dev/rsa0: hardware block location 0 |------------------------------------------------ root@ns1:/# cat /etc/flexbackup.conf # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # # $Id: flexbackup.conf,v 1.36 1999/11/03 03:13:42 edwinh Exp $ # $Name: v0_9_8 $ # # ---------------------------------------------------------------------- # General configuration section # Archive type? afio, dump, tar, cpio, or zip $type = 'afio'; # List the filesystems you wish to dump when 'all' is given # Just a simple space-separated list # Remote filesystems should denoted as 'host:dir' # # Example: # $filesystems[0] = '/ /usr /home machine1:/usr machine2:/home'; # # If you want an 'all' level 0 backup to span multiple tapes, add more lines # You will be prompted for tape change in between. # $filesystems[0] = '/ /usr'; #$filesystems[1] = '/home otherhost:/bigdisk'; # Compression $compress = 'hardware'; # one of false/gzip/bzip2/compress/hardware $compr_level = '4'; # compression level (1-9) (for gzip/bzip2/zip) # Buffering $buffer = 'true'; # true to use "buffer" program to help streaming $buffer_megs = '3'; # buffer memory size (in megabytes) $pad_blocks = 'true'; # true to pad blocks to blocksize # Device to backup to - non-rewinding version please! # # Examples: # Linux SCSI: /dev/nst0 Linux IDE: /dev/nht0 # Linux ftape: /dev/nqft0 FreeBSD SCSI: /dev/rsa0 # # If a directory, archive to files in that directory rather than a device # $device = '/dev/rsa0'; # Block size (k) to use (default for most things is 10) $blksize = '64'; # True to use "variable" block size for the tape device (mt setblk 0) # If false, will use the $blksize parameter above. All non-mt commands # will still use $blksize regardless of this value $mt_var_blksize = 'true'; # Other global flags $remoteshell = 'rsh'; # command for remote shell (rsh/ssh/ssh2) $verbose = 'true'; # echo each file? (for afio/tar/cpio/zip) $sparse = 'true'; # handle sparse files (for afio/tar/cpio) $indexes = 'true'; # false to turn off all table-of-contents support # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs), or "all" (everything) $traverse_fs = 'false'; # Exclude files that match these *regular expressions* (not shell wildcards) # from the backups (no affect on 'dump' archives). You can list more than one, # just keep incrementing the index in the brackets for each. Also, strip off # leading directories (the filesystem specs above or the "-fs" flag). # Comment these out to exclude nothing. #$exclude_expr[0] = 'news/articles'; #$exclude_expr[1] = '.*~$'; #'# single quote so emacs font-lock is happy # File extensions that should not be compressed (seperate with spaces) # For afio and zip only (since they do each file individually) $nocompress_types = 'mp3 Z z gz gif zip lha jpeg jpg taz tgz deb rpm bz2'; # If true (default), level zero "all" assumes you want to erase and use # a new tape. If false, level zero "all" appends like all other backups $erase_tape_all_level_zero = 'true'; # Set this to "true" to make erase operations just rewind - not really # call "mt erase". For some tape drives, erase takes hours rather # than seconds $erase_rewind_only = 'true'; # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files $logdir = "/var/log/flexbackup"; # directory for log files $stampdir = "/var/run/flexbackup"; # directory for backup timestamps $index = "$stampdir/index"; # DB filename for tape indexes $comp_log = "gzip"; # compress log? false/gzip/bzip2/compress $prefix = ""; # log files will start with this prefix $sprefix = ""; # stamp files will start with this prefix $tmpdir = "/usr/tmp"; # used for temporary refdate files, etc # Why do I suggest /var/state/flexbackup for the stamp/indexes? # See the FHS, http://www.pathname.com/fhs/2.0/fhs-5.11.html # BSD users probably want /var/db/flexbackup # ---------------------------------------------------------------------- # Parameters for 'afio' only # True to show block numbers $afio_echo_block = 'false'; # Files less than this size (kilobytes) won't be compressed $afio_compress_threshold = '3'; # Maximum amount of memory (megabytes) to use for temporary storage of # compression results. If a compressed file is bigger than this, compression # will have to run twice on the file (see manpage). $afio_compress_cache_size = '2'; # ---------------------------------------------------------------------- # Parameters for 'tar' only # True to show record numbers $tar_echo_record_num = 'false'; # True to preserve file access times $tar_atime_preserve = 'true'; # ---------------------------------------------------------------------- # Parameters for 'cpio' only # Format of cpio archive $cpio_format = 'newc'; # ---------------------------------------------------------------------- # Parameters for 'dump' only # Estimated tape size (in kilobytes). This number doesn't really do much # but help 'dump' get size estimates if set to zero uses 'dump -a' $dump_length = '0'; # True to use /etc/dumpdates (could mess things up if you dump subdirectories # of mount points). False to use flexbackup's timestamps. $dump_use_dumpdates = 'false'; # ---------------------------------------------------------------------- # Parameters for 'zip' only ###################################################################### # Leave '1;' on the the next line - for perl 'require' 1; Thanks... Sincerely, Rick Duvall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104171644480.53619-100000>