On Thu, 2009-03-19 at 10:51 +0000, Niall Brosnan wrote:
> I can confirm that I'm using a stock flexbackup 1.2.1-6 on ubuntu 8.10
> without this issue.
> ...

> I do get the same "find: `./.gvfs': Permission denied" entry in my
> log,
> but it is not a showstopper. What backup format and medium are you
> choosing?
> Would you mind posting your settings using something like:
> 
> egrep -v -e '(^#|^$)'  /etc/flexbackup.conf
> ... 

Many thanks Niall. I'm using flexbackup version 1.2.1-6, with .tar.gz
output format, writing to a 4.3GB drive in an external housing,
connected by USB. The external drive has ext3 file system and 2.7 GB
free space.

In fact that extract from the log was +before+ I added any $prune
expressions. Here is the flexbackup.conf that was used:

rob...@venus:~$ egrep -v -e '(^#|^$)' /etc/flexbackup.conf
$type = 'tar';
$set{'home'} = "/home";
$set{'etc'} = "/etc";
$set{'usrlocal'} = "/usr/local";
$set{'var'} = "/var";
$prune{'/'} = "tmp proc";
$compress = 'gzip'; 
$compr_level = '4'; 
$buffer = 'buffer'; 
$buffer_megs = '10';
$buffer_fill_pct = '75';
$buffer_pause_usec = '100';
$device = '/media/backup4mb/venus';
$blksize = '10';
$mt_blksize = "0";
$pad_blocks = 'true';
$remoteshell = 'ssh';
$remoteuser = '';    
$label = 'true';     
$verbose = 'true';   
$sparse = 'true';    
$indexes = 'true';   
$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';
$comp_log = 'gzip';             
$staticlogs = 'false';          
$prefix = '';                   
$tmpdir = '/tmp';               
$stampdir = '/var/lib/flexbackup';
$index = '/var/lib/flexbackup/index';
$keyfile = '00-index-key';       
$sprefix = '';                   
$afio_nocompress_types = 'mp3 MP3 Z z gz gif zip ZIP lha jpeg jpg JPG
taz tgz deb rpm bz2 lzo';
$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 lzo';
$pkgdelta_archive_list = 'rootonly';
$pkgdelta_archive_unowned = 'true';
$pkgdelta_archive_changed = 'true';
1;

I used the command "sudo flexbackup -set home". After the message
"find: ./robert/.gvfs: Permission denied", the log continued:

=== START EXTRACT ===
level 0 /home Wed Mar 18 17:44:38 2009 tar+gzip from venus
./lost+found/
./robert/.bash_logout
... 

Total bytes written: 217221120 (208MiB, 6.9MiB/s)
Kilobytes Out 98135

ERROR: non-zero exit from:
find . -depth -xdev ! -type s ! -regex .*/[Cc]ache/.* ! -regex .*~$
-print0

ERROR: exiting
|------------------------------------------------------------
| Backup start: Wed Mar 18 17:44:38 2009
=== END OF EXTRACT ===


Based on your suggestions, I have added 3 lines to flexbackup.conf:

$set{'homerobert'} = "/home/robert";
$prune{'/home/robert'} = ".gvfs";
$exclude_expr[2] = '.*/.gvfs/.*';

and run "sudo flexbackup -set homerobert". Again in Nautilus, I saw it
gradually write a .tar.gz file of about 90 MB, then finally delete the
output file:

=== LOG 2 EXTRACT ===
| Backup of: /home/robert
| Date of this level 0 backup: Thu Mar 19 23:54:10 2009
| Date of last level 0 backup: the epoch
|------------------------------------------------------------
| cd "/home/robert" && /tmp/flexbackup.6857.venus/collectexit.6857.sh
find \
|   . -regex "\./\(.gvfs\)/.*" -prune -o -xdev ! -type s ! -regex \
|   ".*/[Cc]ache/.*" ! -regex ".*~"$ ! -regex ".*/.gvfs/.*" -print0 | \
|   /tmp/flexbackup.6857.venus/collectexit.6857.sh tar --create --null \
|   --files-from=- --ignore-failed-read --same-permissions
--no-recursion \
|   --totals --label "level 0 /home/robert Thu Mar 19 23:54:10 2009 \
|   tar+gzip from venus" --verbose --sparse -b 20 --file - | \
|   /tmp/flexbackup.6857.venus/collectexit.6857.sh gzip -4 | \
|   /tmp/flexbackup.6857.venus/collectexit.6857.sh buffer -m 10m -p 75
-s \
|   10k -t -o "/media/backup4mb/venus/home-robert.0.200903192354.tar.gz"
| [ ! -e /tmp/flexbackup.6857.venus/exitstatus.6857 ]
|------------------------------------------------------------
find: warning: you have specified the -xdev option after a non-option
argument -regex, but options are not positional (-xdev affects tests
specified before it as well as those specified after it).  Please
specify options before other arguments.

find: ./.gvfs: Permission denied
level 0 /home/robert Thu Mar 19 23:54:10 2009 tar+gzip from venus
./
./.bash_logout
...

Kilobytes Out 98257

ERROR: non-zero exit from:
find . -regex \./\(.gvfs\)/.* -prune -o -xdev ! -type s !
-regex .*/[Cc]ache/.* ! -regex .*~$ ! -regex .*/.gvfs/.* -print0

ERROR: exiting./.dmrc

|------------------------------------------------------------
| Backup start: Thu Mar 19 23:54:10 2009
=== LOG 2 EXTRACT ENDS ===

The 'find' warning doesn't seem critical. Anyway, I'm now thinking I
should try to unmount my .gvfs before allowing flexbackup to start ...

Robert



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to