[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Backup home dirs on F9

On 2008-10-15 23:03:06 -0400, Tom Diehl wrote:
> I am having a problem backing up my homedir on my F9 box. When the backup
> software tries to read the .gvfs file system as root the software complains
> that it cannot read it. http://bugzilla.gnome.org/show_bug.cgi?id=534284
> says that this broken behavior is deliberate and will not be fixed.
> So the question is, how are we supposed to backup the homedirs? I never logout
> of this machine or reboot it unless I need to upgrade the kernel.
> I know I can umount the .gvfs filesystem and the backups will complete without
> a problem but I cannot find any documents stating how to remount the 
> .gvfs filesystem without logging out or even if it is necessary to 
> remount it.
> Can anyone shed some light on this? This behavior is annoying at best.

I ran into the same problem with dirvish, a perl backup package that
uses rsync.  xdev didn't help because I was backing up the same
partition that held .gvfs; exclude didn't work for me either.  dirvish
would bomb out with an rsync error.  You're right that the GNOME
developers have no intention of fixing the problem.  (Whether or not
their reasoning is sound is a matter for another discussion.)

I get around the problem with this little script which I run in the
background from .profile:



# Allow only 1 daemon process per user.
for pid in `ps -o'pid' --no-heading -C $(basename $0)`
 if [ $pid -ne $$ ]; then
  echo "$(basename $0) already running"

# Loop forever
while :
 if [ ! -w $dir ]; then
  /usr/lib/gvfs/gvfs-fuse-daemon $dir
  /bin/fusermount -zu $dir
 sleep 10


JL <lists jorge cc>
This message optimized for teletypes.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]