You can subscribe to this list here.
2003 |
Jan
(11) |
Feb
(50) |
Mar
(10) |
Apr
(10) |
May
(7) |
Jun
(44) |
Jul
(23) |
Aug
(13) |
Sep
(27) |
Oct
(41) |
Nov
(21) |
Dec
(21) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(23) |
Feb
(20) |
Mar
(9) |
Apr
(6) |
May
(5) |
Jun
(10) |
Jul
(8) |
Aug
(16) |
Sep
(8) |
Oct
(7) |
Nov
(8) |
Dec
(11) |
2005 |
Jan
(6) |
Feb
(3) |
Mar
(11) |
Apr
(14) |
May
(17) |
Jun
(19) |
Jul
(9) |
Aug
(5) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
(3) |
2006 |
Jan
(7) |
Feb
(5) |
Mar
(4) |
Apr
(8) |
May
(10) |
Jun
|
Jul
(5) |
Aug
(11) |
Sep
|
Oct
(6) |
Nov
(7) |
Dec
(1) |
2007 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(4) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(1) |
Dec
(1) |
2008 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
|
May
(1) |
Jun
(8) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(9) |
Nov
(3) |
Dec
|
2009 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
(3) |
Feb
|
Mar
(11) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(11) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Charlie B. <cha...@e-...> - 2006-04-05 13:57:39
|
On Wed, 5 Apr 2006, S=E9bastien MAS wrote: > I have a n server redhat on linux 7.1 and flexbackup 1.2.1/buffer 1.19-5 > =A0 > When I create and archive is ok and I can list this file, but when my > archive is more 2GB, I can't list and extract..... RedHat 7.1!! Have you considered upgrading? I suspect that quite a few components of RH 7.1 were not compiled with=20 large file support, so I'm not surprised you have problems. -- Charlie |
From: <sm...@im...> - 2006-04-05 09:24:22
|
Hello,=20 I have a n server redhat on linux 7.1 and flexbackup 1.2.1/buffer = 1.19-5 =A0 When I create and archive is ok and I can list this file, but when my archive is more 2GB, I can't list and extract..... =A0 And my error is : =A0 [oracle@oraserver 14-2006]$ flexbackup -list data-archive_oracle.0.200604050300.tar.gz =A0 flexbackup version 1.2.1 (http://flexbackup.sourceforge.net <http://flexbackup.sourceforge.net> ) /etc/flexbackup.conf syntax OK =A0 |------------------------------------------------------------ | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Logging output to "flexbackup.list.200604051123.log" Error: file "data-archive_oracle.0.200604050300.tar.gz" or "/rack/data-archive_oracle.0.200604050300.tar.gz" not found (like "-list file.tar.bz2") Died at /usr/bin/flexbackup line 3776. =A0 Please HELP ME =A0 =A0 MAS S=E9bastien DBA ORACLE. =A0 =A0 =A0 |
From: <fle...@wo...> - 2006-03-31 04:33:56
|
On Thu 30 March 2006 14.23, Maxim Kudelya wrote: > brian wrote: > > I'm trying to back up a remote machine over SSH. The set is "xxx:/". The > > prune for "xxx:/" is "tmp sys mnt proc dev". > > > > When I test the configuration with -type filelist, I get > > > > ERROR: non-zero exit from: > > ssh xxx cd "/" && find . -regex > > "\./\(lost\+found\|sys\|proc\|dev\|mnt\|tmp\)/.*" -prune -o -xdev ! -type > > s ! -regex ".*/[Cc]ache/.*" ! -regex > > ".*~"$ -print > /tmp/27977/filelist.27977; cat /tmp/27977/filelist.27977 > > 1>&2; cat /tmp/27977/filelist.27977 | gzip -4; x=(${PIPESTATUS[@]}); i=0; > > while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} -eq 0 ] || exit ${x[$i]}; > > i=$(($i+1)); done > > > > The error was > > > > bash: line 1: /tmp/27977/filelist.27977: No such file or directory > > cat: /tmp/27977/filelist.27977: No such file or directory > > cat: /tmp/27977/filelist.27977: No such file or directory > > 0+1 records in > > 0+1 records out > > > > It looks like flexbackup created a directory in the local /tmp and then > > tried to redirect some output on the remote machine to a nonexistent > > directory in the remote /tmp. Am I making some mistake? > > Hi. I'm also got this error and I don't know what that mean. > Is this really bad? > > Thanks. > > --- > Maxim Kudelya. > Lingnu Open Source Consulting. I've changed/commented out in my flexbackup the following places, to correct the invalid tmp directory on remote hosts as well as not reqocnizing bash 3.0 shells. # flexbackup.pl --version flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) $Id: flexbackup,v 1.185 2003/10/10 14:12:09 edwinh Exp $ # diff -bwi $(which flexbackup) bin/flexbackup.pl 272c272,273 < system ('rm', '-rf', $cfg::tmpdir) if (defined($cfg::deltmpdir)); --- > ### wor/15.01.06 Removed > ###system ('rm', '-rf', $cfg::tmpdir) if (defined($cfg::deltmpdir)); 2730,2734c2731,2736 < if ($cfg::tmpdir eq '/tmp') { < $cfg::tmpdir = $cfg::tmpdir .'/'.$$; < mkdir ($cfg::tmpdir) || die "Can't create temporary directory, $!"; < $cfg::deltmpdir = 1; < } --- > ### wor/20060115 - Commented due to bug > ### if ($cfg::tmpdir eq '/tmp') { > ### $cfg::tmpdir = $cfg::tmpdir .'/'.$$; > ### mkdir ($cfg::tmpdir) || die "Can't create temporary directory, $!"; > ### $cfg::deltmpdir = 1; > ### } 5407c5409 < if ($ver =~ m/^2/) { --- > if ($ver =~ m/^2|^3/) { Hope that helps you, are since then running flexbackup daily/hourly/monthly without any problem, great little helper. -- --Robert |
From: Maxim K. <ma...@li...> - 2006-03-30 12:23:16
|
brian wrote: > I'm trying to back up a remote machine over SSH. The set is "xxx:/". The > prune for "xxx:/" is "tmp sys mnt proc dev". > > When I test the configuration with -type filelist, I get > > ERROR: non-zero exit from: > ssh xxx cd "/" && find . -regex > "\./\(lost\+found\|sys\|proc\|dev\|mnt\|tmp\)/.*" -prune -o -xdev ! -type > s ! -regex ".*/[Cc]ache/.*" ! -regex > ".*~"$ -print > /tmp/27977/filelist.27977; cat /tmp/27977/filelist.27977 > 1>&2; cat /tmp/27977/filelist.27977 | gzip -4; x=(${PIPESTATUS[@]}); i=0; > while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} -eq 0 ] || exit ${x[$i]}; > i=$(($i+1)); done > > The error was > > bash: line 1: /tmp/27977/filelist.27977: No such file or directory > cat: /tmp/27977/filelist.27977: No such file or directory > cat: /tmp/27977/filelist.27977: No such file or directory > 0+1 records in > 0+1 records out > > It looks like flexbackup created a directory in the local /tmp and then > tried to redirect some output on the remote machine to a nonexistent > directory in the remote /tmp. Am I making some mistake? > Hi. I'm also got this error and I don't know what that mean. Is this really bad? Thanks. --- Maxim Kudelya. Lingnu Open Source Consulting. --- cut here --- Total bytes written: 179484600320 (168GiB, 4.7MiB/s) Kilobytes Out 121862790 ERROR: non-zero exit from: cd "/" && sudo find . -regex "\./\(sys\|proc\|tmp\)/.*" -prune -o ! -fstype proc ! -fstype devpts ! -fstype devfs ! -fstype tmpfs ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-permissions --no-recursion --totals --label "level 0 / Thu Mar 30 00:10:10 2006 tar+gzip from fileserver" --verbose --sparse -b 20 --file - | gzip -6 | buffer -m 10m -p 75 -s 10k -t -u 100 -B -o "/dev/nst0" ERROR: exiting --- cut here --- |
From: brian <bs...@ua...> - 2006-03-21 22:35:53
|
I'm trying to back up a remote machine over SSH. The set is "xxx:/". The prune for "xxx:/" is "tmp sys mnt proc dev". When I test the configuration with -type filelist, I get ERROR: non-zero exit from: ssh xxx cd "/" && find . -regex "\./\(lost\+found\|sys\|proc\|dev\|mnt\|tmp\)/.*" -prune -o -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex ".*~"$ -print > /tmp/27977/filelist.27977; cat /tmp/27977/filelist.27977 1>&2; cat /tmp/27977/filelist.27977 | gzip -4; x=(${PIPESTATUS[@]}); i=0; while [ $i -lt ${#x[@]} ]; do [ ${x[$i]} -eq 0 ] || exit ${x[$i]}; i=$(($i+1)); done The error was bash: line 1: /tmp/27977/filelist.27977: No such file or directory cat: /tmp/27977/filelist.27977: No such file or directory cat: /tmp/27977/filelist.27977: No such file or directory 0+1 records in 0+1 records out It looks like flexbackup created a directory in the local /tmp and then tried to redirect some output on the remote machine to a nonexistent directory in the remote /tmp. Am I making some mistake? |
From: Mathieu P. <mat...@co...> - 2006-03-07 14:29:23
|
Hi, I try to backup NFS partition with flexbackup and I get the following error: find: ./tmp: Stale NFS file handle afio: 820m+220k+0 bytes written in 193 seconds. The operation was successful. ERROR: non-zero exit from: cd "/mnt/<host>/var" && (printf "//--/tmp/label.31501 flexbackup.volume_header_info\n" && find . -depth ! \ -fstype proc ! -fstype devpts ! -fstype devfs ! -fstype tmpfs ! -type s ! -regex ".*~"$ -print ) | afio -o\ -E /tmp/nocompress.31501 -z -1 m -P gzip -Q -4 -Z -M 2m -T 3k - | cat > "/dev/nst0" The "Stale NFS file handle" error seems to occur when a file or directory that was opened by an NFS client is removed, renamed, or replaced. But I don't understand how I could get rid of this error (tmp dir is already excluded from backup, see below). Could someone help? thanks, Here is my flexbackup configuration: .. $type = 'afio'; .. $prune{'/'} = "tmp proc"; .. $traverse_fs = 'all'; .. # File extensions that should not be compressed (seperate with spaces) $afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # 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'; -- Mathieu Peltier |
From: Tim B. <ti...@ne...> - 2006-02-27 02:37:43
|
I'm getting the following when using afio. Im using Debian Stable, so these are probably older versions (flexbackup 1.2.1 and afio 2.5), but can anyone give me tips? From the end of the log: ---------------------------------------------------- afio: "-": Warning: Created archive is not fully compatible with cpio or afio versions 2.4.7 and lower. afio: "-": See the ARCHIVE PORTABILITY section of the manpage. afio: 44804m+884k+0 bytes written in 14920 seconds. The operation HAD 1 WARNING ABOUT ERRORS. Kilobytes Out 45880180 ERROR: non-zero exit from: ------------------------------------------------------------ The backup does seem to work fine. It completed the last files it was supposed to and it seems I can list and extract files OK. Tim ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** |
From: wen b. li <ine...@ya...> - 2006-02-20 05:36:31
|
hi, I am currently using flexbackup for my red hat linux system. However when i check the backup log recently, i saw the message stated below: Trying "mt defblksize" instead of "mt setblk" Error setting block size Neither of these commands worked: mt -f /dev/tape setblk 0 mt -f /dev/tape defblksize 0 My flexbackup was working all the while, hence the flexbackup configuration file should not be a problem. Can anyone tell me what might be the problem base on the message stated above? Thks in advance. Regards Li Wen Bin --------------------------------- Meet your soulmate! Yahoo! Asia presents Meetic - where millions of singles gather |
From: corey <co...@no...> - 2006-02-15 04:42:57
|
I am getting the following error, can you please help me. Also further below is a copy of my conf file. Thanks Corey [root@amd750 /]# flexbackup -dir /home -full flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking /bin/sh on this machine... bash2 |------------------------------------------------------------ | Doing level 0 backup of /home using tar | Found directory index key 200602142201 |------------------------------------------------------------ | Backup of: /home | Date of this level 0 backup: Tue Feb 14 22:39:12 2006 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | cd "/home" && 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 /home Tue Feb 14 22:39:12 2006 tar+gzip from amd750" --verbose \ | --sparse -b 20 --file - | gzip -4 | dd ibs=10k obs=10k conv=noerror \ | of="/backup/home.0.200602142239.tar.gz" |------------------------------------------------------------ level 0 /home Tue Feb 14 22:39:12 2006 tar+gzip from amd750 Total bytes written: 10240 (10KiB, 1.2MiB/s) 0+1 records in 0+1 records out ERROR: non-zero exit from: cd "/home" && find . -depth -xdev ! -type s ! -regex ".*/[Cc]ache/.*" ! -regex " .*~"$ -print0 | tar --create --null --files-from=- --ignore-failed-read --same-p ermissions --no-recursion --totals --label "level 0 /home Tue Feb 14 22:39:12 20 06 tar+gzip from amd750" --verbose --sparse -b 20 --file - | gzip -4 | dd ibs=10 k obs=10k conv=noerror of="/backup/home.0.200602142239.tar.gz" ERROR: exiting |------------------------------------------------------------ | Backup start: Tue Feb 14 22:39:12 2006 | Backup end: Tue Feb 14 22:39:12 2006 |------------------------------------------------------------ | Compressing log (home.0.200602142239.gz) | Linking home.latest.gz -> home.0.200602142239.gz |------------------------------------------------------------ Conf file++++++++++++++++++++++++++++++ # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section # Archive type? afio, dump, tar, cpio, star, pax, zip, lha, ar, shar # 'copy' or 'rsync' are extra options if running in archive-to-disk mode. # 'filelist' dumps a list of files in your cwd - for debugging setup/exclusion $type = 'tar'; # Configure backup "sets". # Not needed if you use "-dir <dir>" to backup one tree at a time. # Each set is a simple space-separated list of filesystems # Remote filesystems should denoted as 'host:dir' # You can use anything (other than 'all') as set names # # Example: $set{'home'} = "/home"; $set{'www'} = "/var/www"; $set{'public'} = "/var/public"; $set{'dev'} = "/var/dev"; $set{'cvsroot'} = "/var/CVSROOT"; $set{'log'} = "/var/log"; $set{'lib'} = "/var/lib"; $set{'etc'} = "/etc"; # $set{'set2'} = "/dir3 machine2:/dir4 machine3:/dir5"; # # "-set all" will back up all defined sets. If you are doing a full backup # using tapes, each "set" will go onto a different tape and you will be # prompted for tape change in between. # #$set{'backup'} = "/home"; # Subtree pruning # A space-separated list of directories to prune from each backup. # Key is a filesystem or host:dir spec as outlined above # regular expressions allowed (not shell-type wildcards!) $prune{'/'} = "tmp proc"; # Compression $compress = 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level = '4'; # compression level (1-9) (for gzip/bzip2/lzop/zip) # Buffering program - to help streaming $buffer = 'false'; # one of false/buffer/mbuffer buffer $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 to backup to. -->> non-rewinding version, please! <<-- # # Examples: # Linux SCSI: /dev/nst0 Linux IDE: /dev/nht0 # Linux ftape: /dev/nqft0 FreeBSD SCSI: /dev/nrsa0 (4.x compat device node) # FreeBSD SCSI: /dev/nsa0 (5.x) # # If a directory, will archive to files in that directory rather than a device # If "host:/dev/tapedevice", will use remote tape drive via rsh/ssh # $device = '/backup'; # Block size (in kilobytes!) to use for archive programs and dd. Default is # 10 for most things. Some tape drives need 32 or 64. Set to '0' to # disable all blocking $blksize = '10'; # Block size (in bytes!) to use for the tape device, with "mt setblk" or # equivalent. If set to 0, will use "variable" block size for the tape # device (which is recommended). Comment out or set to "$blksize * 1024" to # have it be the same as the archiver block size above. $mt_blksize = "0"; # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks = 'true'; # Other global flags $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 # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles = 'false'; # True to try and preserve file access times during backup, if the selected # archive program can do so. Note that if this is true, -cnewer checks (file # permission/status changes only, not content) are turned off when deciding # which files to archive on the local system. $atime_preserve = 'false'; # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), 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 "-dir" flag). # Matches paths, not filenames, so put .* on the front/back as needed. # Comment these out to exclude nothing. $exclude_expr[0] = '.*/[Cc]ache/.*'; $exclude_expr[1] = '.*~$'; # If true (default), and using a tape device, level zero "set" backups # assume you want to erase and use a new tape for each set. If false, level # zero "set" backups append to tapes. To force an erase for any backup, # use "-erase" on the commandline. $erase_tape_set_level_zero = 'true'; # Set this to "true" to make erase operations just call "mt rewind" - not # "mt rewind' followed by "mt erase". (For some tape drives, erase takes # hours rather than seconds or is otherwise undesirable) $erase_rewind_only = 'false'; # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files $logdir = '/var/log/flexbackup'; # directory for log files $comp_log = 'gzip'; # compress log? false/gzip/bzip2/lzop/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 $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 # ---------------------------------------------------------------------- # Parameters for 'afio' only # File extensions that should not be compressed (seperate with spaces) $afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # 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'; # ---------------------------------------------------------------------- # 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 'star' only # Use fifo (buffering)? (you probably want to set $buffer=false above if so) $star_fifo = 'true'; # Handle ACLs? $star_acl = 'true'; # Format of star archive $star_format = 'exustar'; # True to show block numbers $star_echo_block_num = 'false'; # ---------------------------------------------------------------------- # Parameters for 'pax' only # Format of pax archive $pax_format = 'ustar'; # ---------------------------------------------------------------------- # Parameters for 'zip' only # File extensions that should not be compressed (seperate with spaces) $zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # ---------------------------------------------------------------------- # Parameters for 'package delta' backups # Archive a list of all installed packages in the top level of each backup? # Can be 'false', 'true' (save it for any backup), or # 'rootonly' (saves list only if the filesystem is '/') $pkgdelta_archive_list = 'rootonly'; # Archive files not "owned" by packages? $pkgdelta_archive_unowned = 'true'; # Archive any package-owned files which have been modified? $pkgdelta_archive_changed = 'true'; # ---------------------------------------------------------------------- # Paths to commands. Default will look for them in $PATH. Use this if # you want to set commands explicitly. You can use full paths or just # change command names. # # Example: If GNU tar is called "gtar" on your system: # $path{'tar'} = 'gtar'; # # Or can be used to "sudo" certain commands. Examples: # $path{'find'} = 'sudo find'; # $path{'dump'} = 'sudo dump'; # $path{'afio'} = 'sudo -u nonrootuser afio'; # $path{'tar'} = 'sudo tar'; # $path{'buffer'} = '/backup'; # # ---------------------------------------------------------------------- # mt operation overrides. Set if flexbackup doesn't know the right mt # command(s) for your OS/device, or you want to override things. # # Example: use "mt status" instead of "mt tell" # $mt{'tell'} = 'status'; ###################################################################### # # $Id: flexbackup.conf,v 1.74 2003/09/21 22:59:58 edwinh Exp $ # $Name: v1_2_1 $ # # Leave '1;' on the the next line - for perl 'require' 1; |
From: Liam M. <lm...@gm...> - 2006-02-06 03:03:14
|
Hi all, I've been trying to sus this problem out, but can't find the cause.=20 Hoping to have some light shed on it for me... Please see below... root@sleeper:~/src/mbuffer-20060126# flexbackup -test-tape-drive flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking /bin/sh on this machine... bash1 |------------------------------------------------------------ | Testing will *erase* the tape currently in the drive! | Hit CTRL-C to abort within 10 seconds... |------------------------------------------------------------ | If for some reason this program does not exit within a few minutes, | Hit CTRL-C, and try adjusting $blksize, $pad_blocks, or $mt_blksize. |------------------------------------------------------------ | Rewinding & erasing tape... | Creating index key 200602061215 |------------------------------------------------------------ At block 0. Writing test file #1 37+1 records in 38+0 records out At block 0. Writing test file #2 2+1 records in 3+0 records out At block 0. Writing test file #3 37+1 records in 38+0 records out At block 0. Rewinding... Skipping index label... At block 0. Reading test file #1 38+1 records in 38+1 records out At block 0. Reading test file #2 38+1 records in 38+1 records out At block 0. Reading test file #3 38+1 records in 38+1 records out At block 0. Comparing... Files /etc/flexbackup.conf and /tmp/test2.1269 differ FAILURE! Problem with tape driver or parameters. Please see the FAQ or try changing the $blksize, $pad_blocks, or $mt_blksize settings. _________________________________________________________________________ root@sleeper:~/src/mbuffer-20060126# cat /etc/flexbackup.conf | grep -v '#' $type =3D 'afio'; $set{'lampp'} =3D "/opt/lampp"; $set{'linux-src'} =3D "/usr/src/linux"; $prune{'/'} =3D "tmp proc"; $device =3D '/dev/ht0'; $blksize =3D '4'; $mt_blksize =3D $blksize * 1024; $pad_blocks =3D 'true'; $staticfiles =3D 'false'; $atime_preserve =3D 'false'; $traverse_fs =3D 'false'; $exclude_expr[0] =3D '.*/[Cc]ache/.*'; $exclude_expr[1] =3D '.*~$'; $erase_tape_set_level_zero =3D 'true'; $erase_rewind_only =3D 'false'; $afio_nocompress_types =3D 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; $afio_echo_block =3D 'true'; $afio_compress_threshold =3D '3'; $afio_compress_cache_size =3D '2'; $tar_echo_record_num =3D 'false'; $cpio_format =3D 'newc'; $dump_length =3D '0'; $dump_use_dumpdates =3D 'false'; $star_fifo =3D 'true'; $star_acl =3D 'true'; $star_format =3D 'exustar'; $star_echo_block_num =3D 'false'; $pax_format =3D 'ustar'; $zip_nocompress_types =3D 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; $pkgdelta_archive_list =3D 'rootonly'; $pkgdelta_archive_unowned =3D 'true'; $pkgdelta_archive_changed =3D 'true'; 1; _________________________________________________________________________ root@sleeper:~/src/mbuffer-20060126# mt -f /dev/ht0 status SCSI 2 tape drive: File number=3D0, block number=3D0, partition=3D0. Tape block size 4096 bytes. Density code 0x0 (default). Soft error count since last status=3D0 General status bits on (0): (no more output from this command) _________________________________________________________________________ Any suggestions would be greatly appreciated! If you need any more information, let me know. Thanks in advance! Liam |
From: Robert U. <rob...@gm...> - 2006-02-02 11:48:08
|
SGVsbG8gTGlzdCwKCkknbSBub3QgZmFtaWxpYXIgd2l0aCBwZXJsIHJlZ2V4LiBJJ3ZlIGFza2Vk IG15IGZyaWVuZCwKd2hvIGtub3dzIHBlcmwsIGJ1dCBoZSBkaWQgbm90IG1hbmFnZSB0byBoZWxw LgoKSSdtIHRyeWluZyB0byBiYWNrdXAgYWxsIG15IC91c3IvaG9tZS8qL3d3dyBkaXJlY3Rvcmll cy4KCkZvciBleGFtcGxlOgovdXNyL2hvbWUvcm9iZXJ0L3d3dwovdXNyL2hvbWUvdG9tL3d3dwov dXNyL2hvbWUvam9obi93d3cKZXRjLgoKJHNldHsnaG9tZXMnfSA9ICIvdXNyL2hvbWUiOwoKc2hv dWxkIEkgdXNlICRwcnVuZSBvciAkZXhjbHVkZVt4XSBmb3IgdGhhdCA/CklzIGl0IHBvc3NpYmxl ID8gQW55IGV4YW1wbGVzID8KClRoYW5rcywKClJvYmVydAo= |
From: Pablo G. <pa...@go...> - 2006-01-24 01:16:11
|
Thanks for your reply. I've been researching the problem since I was using tar and I thought this would be solved in recent backup utilities. It is not that difficult to implement, I can't believe that it has not been addressed. Thanks Pablo Charlie Brady wrote: >On Mon, 23 Jan 2006, Pablo Godel wrote: > > > >>I am testing flexbackup. I've set type "star" and run the following command: >> >>flexbackup -set server >> >>Then, added a file, and run >>flexbackup -set server -incremental >> >>the new file appears in the incremental backup >> >>Then, I removed the file. >> >>When I extract the files from each backup file, I end up with the file >>that was deleted. >> >> > >AIUI, that's just how incremental backup/restore works. > > > >>How can I get to delete those files that have been deleted in between >>incremental backups? >> >> > >I take it you mean "automatically". > >The incremental backup would also need to contain information about files >which had been deleted since the previous incremental. That would mean >that the file system would need to hold information about previously >deleted files, which in general it doesn't. Or the backup system would >need to take a snapshot of all the directories at each backup. > >-- >Charlie > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >flexbackup-help mailing list >fle...@li... >https://lists.sourceforge.net/lists/listinfo/flexbackup-help > > |
From: Charlie B. <cha...@e-...> - 2006-01-24 00:19:29
|
On Mon, 23 Jan 2006, Pablo Godel wrote: > I am testing flexbackup. I've set type "star" and run the following command: > > flexbackup -set server > > Then, added a file, and run > flexbackup -set server -incremental > > the new file appears in the incremental backup > > Then, I removed the file. > > When I extract the files from each backup file, I end up with the file > that was deleted. AIUI, that's just how incremental backup/restore works. > How can I get to delete those files that have been deleted in between > incremental backups? I take it you mean "automatically". The incremental backup would also need to contain information about files which had been deleted since the previous incremental. That would mean that the file system would need to hold information about previously deleted files, which in general it doesn't. Or the backup system would need to take a snapshot of all the directories at each backup. -- Charlie |
From: Pablo G. <pa...@go...> - 2006-01-23 22:56:10
|
Hello, I am testing flexbackup. I've set type "star" and run the following command: flexbackup -set server Then, added a file, and run flexbackup -set server -incremental the new file appears in the incremental backup Then, I removed the file. When I extract the files from each backup file, I end up with the file that was deleted. How can I get to delete those files that have been deleted in between incremental backups? Thank you Pablo Godel |
From: Charlie B. <cha...@e-...> - 2006-01-19 19:48:10
|
On Thu, 19 Jan 2006, Blake Visin wrote: > I am receiving an error from rsync which return a non zero exit, causing No, you are receiving a warning from rsync. > the backup to fail Here is the end of the backup script. I do not know > how to fix this problem. I also am trying to just copy the files I want > to back up and not send them to an archive as I want to maintain the > existing structure. It seems to go through the whole backup process and > seem to fail at the end. Any help will be much appreciated. I really > like this script, but I can not seem to make it work right > > sent 113608102421 bytes received 3241964 bytes 13867725.89 bytes/sec > total size is 115126973346 speedup is 1.01 > rsync warning: some files vanished before they could be transferred Did you read this line? It tells you exactly what rsync is warning you about. > (code 24) at main.c(789) > > ERROR: non-zero exit from: > rsync --include-from=- --exclude=* --archive --verbose --delete > --delete-excluded /f/ /backup/f/f.0 ... |
From: Blake V. <bl...@on...> - 2006-01-19 19:44:30
|
I am receiving an error from rsync which return a non zero exit, causing the backup to fail Here is the end of the backup script. I do not know how to fix this problem. I also am trying to just copy the files I want to back up and not send them to an archive as I want to maintain the existing structure. It seems to go through the whole backup process and seem to fail at the end. Any help will be much appreciated. I really like this script, but I can not seem to make it work right sent 113608102421 bytes received 3241964 bytes 13867725.89 bytes/sec total size is 115126973346 speedup is 1.01 rsync warning: some files vanished before they could be transferred (code 24) at main.c(789) ERROR: non-zero exit from: rsync --include-from=- --exclude=* --archive --verbose --delete --delete-excluded /f/ /backup/f/f.0 ERROR: exiting |------------------------------------------------------------ | Backup start: Wed Jan 18 16:43:28 2006 | Backup end: Wed Jan 18 19:08:54 2006 |------------------------------------------------------------ | Linking backup.latest -> backup.0.200601181643 |-------------------------------------------------- |
From: Marc G. <mar...@ya...> - 2006-01-09 11:21:01
|
Godd afternoon -- In order to help the next one searching for this: --- Marc Gerges <mar...@ya...> wrote: > Relevant part of the config: > ----- > $set{'root'} = "/"; > $set{'homeroot'} ="/root"; Renaming the 'root' into 'slash' or whatever else doesn't work. I've resorted to changing the flexbackup executable: flexbackup 1.2.1 (default with Debian Sarge): change line 2236: $label = 'root' if ($label eq ''); into something like this: $label = 'slash' if ($label eq ''); Just make sure you pick a label that doesn't yet exist on your system. __________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com |
From: Marc G. <mar...@ya...> - 2006-01-07 20:10:23
|
Good evening -- I've moved pretty much everything possible out of the root filesystem and am using different backup sets to back up those filesystems. Relevant part of the config: ----- $set{'root'} = "/"; $set{'homeroot'} ="/root"; $set{'usr'} = "/usr"; $set{'var'} = "/var"; $set{'home'}="/home"; ----- I've noticed that my backups for / and /root are actually both named 'root' on the backup drive. If I call the two sets, it backs up the correct folders, but names both of them root.0.2006.... I tried to circumvent the problem by calling the root set via ssh, but flexbackup noticed that and didn't like it. How can I fix that? cu .\\arc __________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com |
From: Philippe A. <phi...@ci...> - 2005-12-07 15:43:48
|
Thanks David, I will try ... CU Philippe David Scott Coburn a =E9crit : >On Tuesday 06 December 2005 05:46, Philippe AMIOT wrote: > =20 > >>Hello >> >>I have a crash disk, I LOST ALL MY DATA >> >>and I try to recover it, bur I have some probl=E8mes, maybe you could h= elp=20 >>me please ! >> >>I want only recover /var/spool/mail ! >> =20 >> > >Philippe, > >I am not sure this will help, but when I want to do a restore this is >what I do: > >(My backups are stored on disk, not tapes, so you will have to modify th= is >somewhat...) > >root> cd /backups/x22c/images >root> flexbackup -c ../flexbackup.conf -list home.2.20021126.afio-gz | /= backups/restore/listdir.pl scott > fred > >The flexbackup.conf file is stored in the directory above the directory = where >my images are. The 'listdir.pl' perl script is just a simple script to = find >all of the files in the -list output which are in a particular subdirect= ory. I >use it so that I don't have to do so much hand editing of the -list outp= ut. >This is the perl script: > >#!/usr/bin/perl > ># extract list of files in a given subdirectory in the 'flexbackup -list= ' ># stream on sdtin. ># ># flexbackup -list afio-archive-name | listdir.pl subdirname > files ># > >use strict; > >my $dir; > >$dir =3D shift @ARGV; # get subdirectory name from command line > >while (<>) { > chomp; > if (/.*[\s]($dir\/.*)/) { > print "$1\n"; > } >} > >Once you have the file 'fred' with the list of files in the subdirectory >you can further edit it to leave only the particular files you want (or >not, so you can extract all of the files in the subdirectory). > >Then I do this: > >root> flexbackup -c ../flexbackup.conf -extract home.2.20021126.afio-gz = -flist fred > >This has always worked for me. > >Cheers, > >Scott > > =20 > |
From: David S. C. <sc...@bn...> - 2005-12-06 18:47:16
|
On Tuesday 06 December 2005 05:46, Philippe AMIOT wrote: > Hello >=20 > I have a crash disk, I LOST ALL MY DATA >=20 > and I try to recover it, bur I have some probl=E8mes, maybe you could hel= p=20 > me please ! >=20 > I want only recover /var/spool/mail ! Philippe, I am not sure this will help, but when I want to do a restore this is what I do: (My backups are stored on disk, not tapes, so you will have to modify this somewhat...) root> cd /backups/x22c/images root> flexbackup -c ../flexbackup.conf -list home.2.20021126.afio-gz | /bac= kups/restore/listdir.pl scott > fred The flexbackup.conf file is stored in the directory above the directory whe= re my images are. The 'listdir.pl' perl script is just a simple script to find all of the files in the -list output which are in a particular subdirectory= =2E I use it so that I don't have to do so much hand editing of the -list output. This is the perl script: #!/usr/bin/perl # extract list of files in a given subdirectory in the 'flexbackup -list' # stream on sdtin. # # flexbackup -list afio-archive-name | listdir.pl subdirname > files # use strict; my $dir; $dir =3D shift @ARGV; # get subdirectory name from command line while (<>) { chomp; if (/.*[\s]($dir\/.*)/) { print "$1\n"; } } Once you have the file 'fred' with the list of files in the subdirectory you can further edit it to leave only the particular files you want (or not, so you can extract all of the files in the subdirectory). Then I do this: root> flexbackup -c ../flexbackup.conf -extract home.2.20021126.afio-gz -fl= ist fred This has always worked for me. Cheers, Scott =2D-=20 * David Scott Coburn * Brookhaven National Laboratory * sc...@bn... 631.344.7110 |
From: Philippe A. <phi...@ci...> - 2005-12-06 10:53:44
|
Hello I have a crash disk, I LOST ALL MY DATA and I try to recover it, bur I have some probl=E8mes, maybe you could hel= p=20 me please ! I want only recover /var/spool/mail ! I'm in /tmp to recover ... When I try tar xzf /dev/st0 /var/spool/mail/ it said to me doesn't find in archive (french translation) When I try mt -f /dev/st0 rewind mt -f /dev/st0 fsf 0 flexbackup --extract It's extract only the backuped /etc ! Why ? If I want only recover the file 14 (/var/spool/mail see list under), can=20 I do : mt -f /dev/st0 rewind mt -f /dev/st0 fsf 14 flexbackup --extract Is it correct ? How do I only recover my var/spool/mail ... Thanks a lot in advance for your Help Philippe Flexbackup Version : # $Id: flexbackup.conf,v 1.74 2003/09/21 22:59:58 edwinh Exp $ # $Name: v1_2_1 $ I have flexbackup configured like this : $type =3D 'tar'; $set{'backup'} =3D "/home/valerie /home/valerie /home/fabien /home/didier= =20 /home/christophe/ /home/marilene /home/clarisse/ /home/david=20 /home/william /home/guillemette /home/samba /home/egroupware=20 /mnt/backup/diamant /mnt/backup/mysql /var/spool/mail /etc /var/www "; $prune{'/'} =3D "tmp proc"; $compress =3D 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardwar= e $compr_level =3D '9'; # compression level (1-9) (for gzip/bzip2/lzop/zip) $buffer =3D 'buffer'; # one of false/buffer/mbuffer $buffer_megs =3D '10'; # buffer memory size (in megabytes) $buffer_fill_pct =3D '75'; # start writing when buffer this percent fu= ll $buffer_pause_usec =3D '100'; # pause after write (tape devices only) $device =3D '/dev/st0'; $blksize =3D '10'; $mt_blksize =3D "0"; $pad_blocks =3D 'true'; $remoteshell =3D 'ssh'; # command for remote shell (rsh/ssh/ssh2) $remoteuser =3D ''; # if non-null, secondary username for remote shel= ls $label =3D 'true'; # somehow store identifying label in archive? $verbose =3D 'true'; # echo each file? $sparse =3D 'true'; # handle sparse files? $indexes =3D 'true'; # false to turn off all table-of-contents support $staticfiles =3D 'false'; $atime_preserve =3D 'false'; $traverse_fs =3D 'false'; $exclude_expr[0] =3D '.*/[Cc]ache/.*'; $exclude_expr[1] =3D '.*~$'; $erase_tape_set_level_zero =3D 'true'; ### by default $erase_rewind_only =3D 'FALSE'; $erase_rewind_only =3D 'true'; $logdir =3D '/var/log/flexbackup'; # directory for log files $comp_log =3D 'FALSE'; # By default GZIP - compress log?=20 false/gzip/bzip2/lzop/compress/zip $staticlogs =3D 'true'; # By default FALSE static log=20 filenames w/ no date stamp $prefix =3D ''; # log files will start with this pre= fix $tmpdir =3D '/tmp'; # used for temporary refdate files, = etc $stampdir =3D '/var/lib/flexbackup'; # directory for backup timestamps $index =3D '/var/lib/flexbackup/index'; # DB filename for tape indexes $keyfile =3D '00-index-key'; # filename for keyfile if archiving=20 to dir $sprefix =3D ''; # stamp files will start with this p= refix ... $tar_echo_record_num =3D 'false'; ... ------------------------------------------ And my backup seem to be ok : |----------------------------- | Doing level 0 backup of set all using tar | All sets =3D backup (1 tapes) | Retensioning tape... | Rewinding & erasing tape... | Creating index key 200512022116 | Backup set "backup" (/home/valerie /home/fabien /home/didier=20 /home/christophe/ /home/marilene /home/clarisse/ /home/david=20 /home/william /home/guillemette /home/samba /home/egroupware=20 /mnt/backup/diamant /mnt/backup/mysql /var/spool/mail /etc /var/www) | Tape #0 |------------------------------------------------------------ At block 0. |------------------------------------------------------------ | File number 1, tape index 200512022116 |----------------------------- | File number 1, tape index 200512022116 | Backup of: /home/valerie | Date of this level 0 backup: Fri Dec 02 21:17:11 2005 | Date of last level 0 backup: the epoch |------------------------------------------------------------ | cd "/home/valerie" && find . -depth -xdev ! -type s ! -regex \ | ".*/[Cc]ache/.*" ! -regex ".*~"$ -print0 | tar --create --null \ | --files-from=3D- --ignore-failed-read --same-permissions --no-recursi= on \ | --totals --label "level 0 /home/valerie Fri Dec 02 21:17:11 2005 \ | tar+gzip from opale" --sparse -b 20 --file - | gzip -9 | buffer -m 10= m \ | -p 75 -s 10k -t -u 100 -B -o "/dev/st0" |------------------------------------------------------------ Total bytes written: 5427200 (5,2MiB, 4,1MiB/s) Kilobytes Out 2680 |------------------------------------------------------------ | Backup start: Fri Dec 02 21:17:11 2005 | Backup end: Fri Dec 02 21:17:32 2005 |------------------------------------------------------------ At block 0. [...] | Rewinding... File Contents (tape index 200512022116) ------------------------------ 0 <tape index key> 1 level 0 /home/valerie Fri Dec 02 21:17:11 2005 tar+gzip from server 2 level 0 /home/fabien Fri Dec 02 21:17:42 2005 tar+gzip from server 3 level 0 /home/didier Fri Dec 02 21:18:07 2005 tar+gzip from server 4 level 0 /home/christophe Fri Dec 02 21:22:27 2005 tar+gzip from serv= er 5 level 0 /home/marilene Fri Dec 02 21:35:19 2005 tar+gzip from server 6 level 0 /home/clarisse Fri Dec 02 21:35:41 2005 tar+gzip from server 7 level 0 /home/david Fri Dec 02 21:36:07 2005 tar+gzip from server 8 level 0 /home/william Fri Dec 02 21:36:34 2005 tar+gzip from server 9 level 0 /home/guillemette Fri Dec 02 21:38:29 2005 tar+gzip from ser= ver 10 level 0 /home/samba Fri Dec 02 22:11:02 2005 tar+gzip from server 11 level 0 /home/egroupware Sat Dec 03 05:20:08 2005 tar+gzip from serv= er 12 level 0 /mnt/backup/diamant Sat Dec 03 05:20:46 2005 tar+gzip from=20 server 13 level 0 /mnt/backup/mysql Sat Dec 03 06:47:53 2005 tar+gzip from ser= ver 14 level 0 /var/spool/mail Sat Dec 03 06:48:36 2005 tar+gzip from serve= r 15 level 0 /etc Sat Dec 03 06:56:47 2005 tar+gzip from server 16 level 0 /var/www Sat Dec 03 06:58:01 2005 tar+gzip from server ------------------------------------------ My SCSI Card is a : 0000:02:0b.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02) My /dev/st0 is a : Sony DDS SDT 11000 (DAT) ------------------------------------------ mt -f /dev/st0 status : drive type =3D Generic SCSI-2 tape drive status =3D 637534720 sense key error =3D 0 residue count =3D 0 file number =3D 0 block number =3D 0 Tape block size 512 bytes. Density code 0x26 (unknown). Soft error count since last status=3D0 General status bits on (41010000): BOT ONLINE IM_REP_EN ---------------------------------------------------- Thanks a lot in advance for your Help Philippe |
From: Jason <ja...@mo...> - 2005-10-06 01:02:37
|
ok, so flexbackup seems to work fine AND dandy all day long doing backups.. Im backing up to a directory mounted elsewhere gentoo samba # ls 00-index-key home-jason.0.200510052033.tar.gz home.0.200510052026.tar.gz home-jason.0.200510052030.tar.gz home-jason.1.200510052032.tar.gz and I can view stuff in the archives.. thats great. how the heck do I restore file(s)?!? for instance.. gentoo flexbackup # pwd /var/log/flexbackup gentoo flexbackup # zgrep -i beatles *.gz jasonhome.0.200510052033.gz:./The Beatles - Get Back.mp3 jasonhome.latest.gz:./The Beatles - Get Back.mp3 gentoo flexbackup # so how do I restore that? or how do I restore a folder in my dir? src for instance? gentoo flexbackup # zgrep -i src *.gz jasonhome.0.200510052033.gz:./src/BlockHosts-1.0.0.tar.gz flexbackup -extract -onefile src doesnt work. flexbackup -extract -onefile ./The Beatles - Get Back.mp3 doesnt work. gentoo flexbackup # flexbackup -extract -onefile The Beatles - Get Back.mp3 flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK |------------------------------------------------------------ | Checking /bin/sh on this machine... bash1 |------------------------------------------------------------ | Logging output to "flexbackup.extract.200510052105.log" Error: when extracting from a file, you must specify file name. (like "-list file.tar.bz2") Died at /usr/bin/flexbackup line 3741. gentoo flexbackup # whats the correct syntax? regards, Jason |
From: Peter K. <pkr...@sb...> - 2005-09-26 14:05:07
|
Has anyone experienced a looping problem in flexbackup? I have no idea where it's looping other than it seems to finish the backups in the .conf file but then doesn't quit. It starts to eat up memory and then system starts killing processes. Eventually it gets to a point where you can't even logon to the machine and you have to power down and reboot. I am running Redhat 8.0 on a Pentium III machine. I have included my .conf file and the commands I am using in cron. Any help would be appreciated. # cat flexbackup.conf # -*-Mode: perl-*- # ---------------------------------------------------------------------- # Flexbackup configuration file # check "flexbackup -help" for usage information # ---------------------------------------------------------------------- # General configuration section # Archive type? afio, dump, tar, cpio, star, pax, zip, lha, ar, shar # 'copy' or 'rsync' are extra options if running in archive-to-disk mode. # 'filelist' dumps a list of files in your cwd - for debugging setup/exclusion $type = 'cpio'; # Configure backup "sets". # Not needed if you use "-dir <dir>" to backup one tree at a time. # Each set is a simple space-separated list of filesystems # Remote filesystems should denoted as 'host:dir' # You can use anything (other than 'all') as set names # # Example: # $set{'set1'} = "/home /usr"; # $set{'set2'} = "/dir3 machine2:/dir4 machine3:/dir5"; # # "-set all" will back up all defined sets. If you are doing a full backup # using tapes, each "set" will go onto a different tape and you will be # prompted for tape change in between. # $set{'backup'} = "/home/groups/members/XXXX /home/groups/finance /home/groups/members/xxxxdocs"; # Subtree pruning # A space-separated list of directories to prune from each backup. # Key is a filesystem or host:dir spec as outlined above # regular expressions allowed (not shell-type wildcards!) $prune{'/'} = "tmp proc"; # Compression $compress = 'gzip'; # one of false/gzip/bzip2/lzop/zip/compress/hardware $compr_level = '4'; # compression level (1-9) (for gzip/bzip2/lzop/zip) # Buffering program - to help streaming # ORIGINAL VALUE BELOW #$buffer = 'buffer'; # one of false/buffer/mbuffer # ORIGINAL VALUE ABOVE $buffer = 'false'; # 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 to backup to. -->> non-rewinding version, please! <<-- # # Examples: # Linux SCSI: /dev/nst0 Linux IDE: /dev/nht0 # Linux ftape: /dev/nqft0 FreeBSD SCSI: /dev/nrsa0 (4.x compat device node) # FreeBSD SCSI: /dev/nsa0 (5.x) # # If a directory, will archive to files in that directory rather than a device # If "host:/dev/tapedevice", will use remote tape drive via rsh/ssh # ORIGINAL VALUE BELOW #$device = '/dev/tape'; # ORIGINAL VALUE ABOVE $device = '/home/backup/flexbackup'; # Block size (in kilobytes!) to use for archive programs and dd. Default is # 10 for most things. Some tape drives need 32 or 64. Set to '0' to # disable all blocking $blksize = '10'; # Block size (in bytes!) to use for the tape device, with "mt setblk" or # equivalent. If set to 0, will use "variable" block size for the tape # device (which is recommended). Comment out or set to "$blksize * 1024" to # have it be the same as the archiver block size above. $mt_blksize = "0"; # Padding. True to pad blocks to blocksize # (devices only, not used when archiving to files) $pad_blocks = 'true'; # Other global flags $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 # If backing up to files, use static filenames - no date stamp # (same level backup of same directory will overwrite old backups) $staticfiles = 'false'; # True to try and preserve file access times during backup, if the selected # archive program can do so. Note that if this is true, -cnewer checks (file # permission/status changes only, not content) are turned off when deciding # which files to archive on the local system. $atime_preserve = 'false'; # Span across filesytems? ("dump" will ignore this option) # Set to "false" (don't) , "local" (all but nfs/smbfs), 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 "-dir" flag). # Matches paths, not filenames, so put .* on the front/back as needed. # Comment these out to exclude nothing. $exclude_expr[0] = '.*/[Cc]ache/.*'; $exclude_expr[1] = '.*~$'; # If true (default), and using a tape device, level zero "set" backups # assume you want to erase and use a new tape for each set. If false, level # zero "set" backups append to tapes. To force an erase for any backup, # use "-erase" on the commandline. $erase_tape_set_level_zero = 'true'; # Set this to "true" to make erase operations just call "mt rewind" - not # "mt rewind' followed by "mt erase". (For some tape drives, erase takes # hours rather than seconds or is otherwise undesirable) $erase_rewind_only = 'false'; # ---------------------------------------------------------------------- # Log/stamp files, path for temporary files $logdir = '/var/log/flexbackup'; # directory for log files $comp_log = 'gzip'; # compress log? false/gzip/bzip2/lzop/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 $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 # ---------------------------------------------------------------------- # Parameters for 'afio' only # File extensions that should not be compressed (seperate with spaces) $afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # 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'; # ---------------------------------------------------------------------- # 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 'star' only # Use fifo (buffering)? (you probably want to set $buffer=false above if so) $star_fifo = 'true'; # Handle ACLs? $star_acl = 'true'; # Format of star archive $star_format = 'exustar'; # True to show block numbers $star_echo_block_num = 'false'; # ---------------------------------------------------------------------- # Parameters for 'pax' only # Format of pax archive $pax_format = 'ustar'; # ---------------------------------------------------------------------- # Parameters for 'zip' only # File extensions that should not be compressed (seperate with spaces) $zip_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG taz tgz deb rpm bz2 lzo'; # ---------------------------------------------------------------------- # Parameters for 'package delta' backups # Archive a list of all installed packages in the top level of each backup? # Can be 'false', 'true' (save it for any backup), or # 'rootonly' (saves list only if the filesystem is '/') $pkgdelta_archive_list = 'rootonly'; # Archive files not "owned" by packages? $pkgdelta_archive_unowned = 'true'; # Archive any package-owned files which have been modified? $pkgdelta_archive_changed = 'true'; # ---------------------------------------------------------------------- # Paths to commands. Default will look for them in $PATH. Use this if # you want to set commands explicitly. You can use full paths or just # change command names. # # Example: If GNU tar is called "gtar" on your system: # $path{'tar'} = 'gtar'; # # Or can be used to "sudo" certain commands. Examples: # $path{'find'} = 'sudo find'; # $path{'dump'} = 'sudo dump'; # $path{'afio'} = 'sudo -u nonrootuser afio'; # # ---------------------------------------------------------------------- # mt operation overrides. Set if flexbackup doesn't know the right mt # command(s) for your OS/device, or you want to override things. # # Example: use "mt status" instead of "mt tell" # $mt{'tell'} = 'status'; ###################################################################### # # $Id: flexbackup.conf,v 1.74 2003/09/21 22:59:58 edwinh Exp $ # $Name: v1_2_1 $ # # Leave '1;' on the the next line - for perl 'require' 1; CRONTAB: 0,25 * * * 0-5 $HOME/delete_backups.ksh >> /var/log/delete_backups.log 0,25 * * * 6 $HOME/delete_backups.ksh >> /var/log/delete_backups.log 0 * * * 0-5 flexbackup -set backup -incremental >> /var/log/flexbackup_log/flexbackup_incremental_$(date +\%Y\%m\%d).log Peter J. Krawetzky |
From: Maxim K. <ma...@li...> - 2005-09-26 09:02:38
|
Hi. I'm use flexbackup to backup two servers and all work fine. But I have a problem, I'm not able to change data cartridges in tape, I want that will be someone else. I need send email notification to him with request to change data cartridge. And I need do this every day. May be someone wrote script with email notification and tool for rotate cartridges. Thank you. -- WBR, Maxim Kudelya. |
From: Marco P. <pa...@el...> - 2005-09-14 18:11:39
|
Hi, using flexbackup 1.2.1 with "star", I wasn't able to restore correct UIDs, GIDs and ACLs for the directories contained in the created archives. I guess this could be due to the "-dirmode" flag passed to star and to the "-depth" flag passed to find. I attach a small patch that should help. Ciao, Marco -- Marco Pantaleoni elastiC language developer http://www.elasticworld.org |