[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interrupted backups...continued
--As of March 22, 2014 1:24:17 PM +0000, jg5 is alleged to have said:
From one problem to another....
I'm trying to backup my home directory, but get the following error:
sudo tarsnap -cf john.home_22032014 john
[sudo] password for john:
tarsnap: john/.gvfs: Cannot stat: Permission denied
Does anyone know what this means and how to fix/get round it?
--As for the rest, it is mine.
From a bit of Googling: .gvfs is some 'special file' created by Gnome, and
for some dumb reason they did some fancy trickery to that file so that it's
*really* hard to delete. (It can be, if you find the inode entry and
delete it by inode, but that's annoying.)
Easiest fix is to change that command to `tarsnap -cf john.home_220314
--exclude .gvfs john`. It's part of the filesystem, and backing it
up/restoring it won't help. (I recommend changing the date as well, and
I'd put it in ISO 8601 format. It'll make your life easier. ;) )
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------