Fedora Linux Support Community & Resources Center
  #1  
Old 20th December 2011, 08:38 PM
Ivan Gorrion Offline
Registered User
 
Join Date: Nov 2011
Posts: 22
linuxchrome
tar .gvfs question

Trying to make a backup of ~ :
Code:
sudo tar cvf /media/guey/home.tar /home
And then I get tar: Exiting with failure status due to previous errors
So I remove the v and I see:
tar: Removing leading `/' from member names
tar: /home/ivan/.gvfs: Cannot stat: Permission denied
tar: Exiting with failure status due to previous errors

Go online and find that I should use --exclude="/home/ivan/.gvfs/*" not sure where everyone just seems to get it and furthermore problem solved.
I tried
sudo tar cf /media/guey/home.tar --exclude=~/.gvfs
sudo tar c --exclude=/home/ivan/.gvfs/* f /media/guey/home.tar /home
sudo tar cf /media/guey/home.tar --exclude="/home/ivan/.gvfs/*" /home

Checked online again and found that to get rid of that error use --one-file-system to disregard the mount point and then again seems like it magically goes away for everyone.
sudo tar cf /media/guey/home.tar --exclude="/home/ivan/.gvfs/*" --one-file-system /home
sudo tar --one-file-system -c -f /media/guey/home.tar /home
sudo tar cf /media/guey/home.tar --one-file-system /home

I'm running out of combinations here..what foolish thing am I doing wrong this time ?
Also, it creates the archive regardless. It is good regardless of not including .gvfs ?

Thanks for reading and any help you can give.
Reply With Quote
  #2  
Old 20th December 2011, 11:15 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,707
linuxfirefox
Re: tar .gvfs question

Personally I wouldn't try to back up my home while it was in use like that.

I'd log out, switch to a virtual terminal (Ctrl+Alt+Fx) and log in there as root, or use a dedicated backup program.

Other than that, have you tried just "--exclude=.gvfs"? (To exclude all .gvfs directories, not just the contents of one in one home directory?)

Gareth
Reply With Quote
Reply

Tags
tar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/....../.gvfs phpete48 Security and Privacy 3 2nd February 2011 01:11 PM
GVFS mountpoint /home/$USER/.gvfs problem yuhuntero Using Fedora 3 11th September 2009 02:08 PM
Problem with GVFS brunoadm Using Fedora 0 18th August 2009 11:07 PM
OpenOffice anf gvfs karel.hudan Using Fedora 1 9th January 2009 10:32 AM
.gvfs bug in Fedora 9 testlinux4ever Using Fedora 18 30th August 2008 07:19 PM


Current GMT-time: 03:24 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat