Linux Lite Forums
[SOLVED] Failed Home Backup - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: [SOLVED] Failed Home Backup (/showthread.php?tid=1353)



[SOLVED] Failed Home Backup - ChrisL - 01-03-2015

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/first-full-backup-on-usb-permission-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


Re: Failed Home Backup - gold_finger - 01-04-2015

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.


Re: Failed Home Backup - ChrisL - 01-04-2015

Thanks gold-finger, worked like a charm.


Once more you amaze me with your knowledge!  8)


Re: Failed Home Backup - gold_finger - 01-05-2015

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.