Hi,
I try to get flexbackup working, however I get the following error:
flexbackup -dir /
...
./bin/autom4te
./bin/automake
./bin/setterm
./bin/autoscan
./bin/getkeycodes
./bin/libtool
./bin/ssh-agent
./bin/ksplash
./bin/kspread
./bin/WPrefs
buffer (writer): write of data failed: Input/output error
bytes to write=10240, bytes written=-1, total written 700K
ERROR from backup, exiting
offending command(s):
cd "/usr" && find . -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label "level 0 /usr Wed Sep 24 10:43:19 2003 tar+gzip from cardiores2.antonius.net" --verbose --sparse --file - | gzip -4 | buffer -m 10m -p 75 -t -u 100 -B -o "/dev/nht0"
This error is reproducible whenever I make a backup of a somewhat larger set of data. Smaller sets (eg. /etc) backup with no errors. Also when I do a -newtape and then run a (large) set of data, there are no problems.
I run debian 3.0, flexbackup 1.2.0.
Any help highly appreciated
Mike
CONTENTS of /etc/flexbackup.conf
$type = 'tar';
$set{'home'} = "/home";
$set{'data'} = "/data";
$set{'backup'} = "/data/backup";
$set{'system'} = "/bin /boot /lib /usr /sbin /mnt /dev /var /etc /opt /initrd /root";
$set{'mysql'} = "/data/mysql";
$set{'htdocs'} = "/data/httpd";
$set{'etc'} = "/etc";
$prune{'/'} = "tmp proc";
$compress = 'gzip'; # one of false/gzip/bzip2/zip/compress/hardware
$compr_level = '4'; # compression level (1-9) (for gzip/bzip2/zip)
$buffer = 'buffer'; # one of false/buffer/mbuffer
$buffer_megs = '10'; # buffer memory size (in megabytes)
$buffer_fill_pct = '75'; # start writing when buffer this percent full
$buffer_pause_usec = '100'; # pause after write (tape devices only)
$device = '/dev/nht0';
$blksize = '0';
$mt_blksize = "0";
$pad_blocks = 'true';
$remoteshell = 'ssh'; # command for remote shell (rsh/ssh/ssh2)
$remoteuser = ''; # if non-null, secondary username for remote shells
$label = 'true'; # somehow store identifying label in archive?
$verbose = 'true'; # echo each file?
$sparse = 'true'; # handle sparse files?
$indexes = 'true'; # false to turn off all table-of-contents support
$staticfiles = 'false';
$atime_preserve = 'false';
$traverse_fs = 'false';
$exclude_expr[0] = '.*/[Cc]ache/.*';
$exclude_expr[1] = '.*~$';
$erase_tape_set_level_zero = 'true';
$erase_rewind_only = 'false';
$logdir = '/var/log/flexbackup'; # directory for log files
$comp_log = 'gzip'; # compress log? false/gzip/bzip2/compress/zip
$staticlogs = 'false'; # static log filenames w/ no date stamp
$prefix = ''; # log files will start with this prefix
$tmpdir = '/tmp'; # used for temporary refdate files, etc
$stampdir = '/var/lib/flexbackup'; # directory for backup timestamps
$indexes = 'true';
$index = '/var/lib/flexbackup/index'; # DB filename for tape indexes
$keyfile = '00-index-key'; # filename for keyfile if archiving to dir
$sprefix = ''; # stamp files will start with this prefix
$afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2';
$afio_echo_block = 'false';
$afio_compress_threshold = '3';
$afio_compress_cache_size = '2';
$tar_echo_record_num = 'false';
$cpio_format = 'newc';
$dump_length = '0';
$dump_use_dumpdates = 'false';
$star_fifo = 'true';
$star_acl = 'true';
$star_format = 'exustar';
$star_echo_block_num = 'false';
$pax_format = 'ustar';
$zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2';
$pkgdelta_archive_list = 'rootonly';
$pkgdelta_archive_unowned = 'true';
$pkgdelta_archive_changed = 'true';
