Linux Lite Forums

Full Version: [SOLVED] Failed Home Backup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an 80GB external drive (usb connected). I figured I would use the backup in LL 2.2 to back-up my Home Folder.  It all seems fine, starts, then I get this message:

Permission denied when trying to create ‘/media/chris/259e8ba4-8c54-43ad-9dc0-2a1ed024910e/duplicity-full.20150103T150825Z.vol1.difftar.gz’.


I did some on-line research and found this:

http://askubuntu.com/questions/324705/fi...ion-denied


Which seems like an identical issue; so I used the commands given in this thread (with chris instead of "stacyjane") and still no dice, same message.  Any ideas?

Chris
What filesystem type is the external drive formatted with?

If it's "Ext4" (Ext3 or Ext2), do this after you plug in the drive and it's mounted to "/media/chris":
Code:
sudo chown -R chris: /media/chris/259e8ba4-8c54-43ad-9dc0-2a1ed024910e

Try backup again -- it should work now.

If it's some other formatting let us know which it is.

Additional Note:
You may want to label that external drive's partition so it ends up easier to read.
  • Open GParted (Menu->System->Partition Drives)
  • Rt-clk the external drive's partition and choose "Unmount"
  • Rt-clk it again and choose "Label"
  • Type in a short, descriptive label -- eg. Backups
  • Click "Apply" button (or Edit->Apply All Operations)
  • Rt-clk and choose "Mount", then close GParted
Now if you look in file manager (and when you plug it in in the future) it should read as "/media/chris/Backups" instead of that long string of numbers and letters.


P.s.  If for some reason the above did not work, (with the external drive plugged-in and mounted) open a terminal and enter these two commands:
Code:
sudo blkid -c /dev/null
ls -l /media/chris

Copy/Paste the full results back here.
Thanks gold-finger, worked like a charm.


Once more you amaze me with your knowledge!  8)
You're welcome ChrisL -- glad to help.


P.s.  Please mark post as solved so others can find solution easier.  /  Nevermind - I just noticed you used the green check mark thingy already.