So. I ran LuckyBackup as 'super-user' and my backups worked fine again. So it looks like I was right with my initial idea - the backups weren't working properly because I no longer own the drives.
So basically, if I can just get ownership of the drives again I can go back to what I was previously doing. Getting ownership of the drives is proving extremely difficult though as we've seen.. But if anyone has any other ideas on how to do that, I'm listening!
merlyn wrote:Death wrote:They do show up on my desktop as mounted drives right after plugging them in though so I assume they automatically mount once plugged in?
Yes, that sounds like they're automatically mounted. That means you have a package installed to do that. You can see the options they were mounted with using:
I'm not sure about exfat but fat has an option to specify the UID (user id) that the filesystem is mounted with. The default is the process that mounted it. You'll have to scroll down quite far,
but it's here :
Code: Select all
z@z-System-Product-Name:~$ cat /proc/mounts|grep /dev/
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/mapper/mint--vg-root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/sdb1 /mnt/ff04ca1e-58e7-4ac2-92b5-78fd02007bc9 ext4 rw,nosuid,nodev,relatime,data=ordered 0 0
/dev/fuse /run/user/1000/doc fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
I'm not sure what most of that stuff means :/
So much stuff comes up with that second command
I don't even know what I'm looking for in there. But, I'm pretty sure I already set my system up to mount via UUID because the mount points for my drives are all this big hash of numbers and letters. Or am I misunderstanding how this works?
milo wrote:Death, I can empathize with your frustrations. I have a little headless Linux box set up as a NAS on my home network, and it seems like every time I try to set up a new machine I forget how to do it and end up beating my head against the wall for hours trying to get the new machine to mount the network drive with read/write permissions. I try various iterations of chown, using the terminal and a file explorer with su privileges, forgetting and then remembering to use the -r recursive flag. And then finally I remember to mount with the uid option in fstab . . . and that magically solves the problem!
I really need to write these things down so that I don't have to struggle to find the same solutions every time I set up a machine.
FWIW, and this may not help you at all with the problems you describe, but I have had great success with rsnapshot (
https://rsnapshot.org/). It is basically an rsync script on steroids, and it has some really handy features. It aggressively uses hard links to save storage space on your backup device. It is not a gui app, but setup and config isn't too hard and the HOWTO document is pretty good:
https://rsnapshot.org/rsnapshot/docs/docbook/rest.html
Yeh dude haha.. I've had various goes at Linux as my main OS over the past 10 years or something and always went back to Windows because I just wanted to use my computer instead of spending so much time troubleshooting and pissing around with the terminal ;( I've just come back to Linux as my main and only operating system this year. So I've only been back a matter of months now and have had to re-learn basically from scratch. It's gone much better this time than my previous attempts though. But HDD stuff always seems to cause me the most trouble. It's crazy how hard it is just to setup some bloody hard drives sometimes...
I think the fstab has already been modified by the GUI in Mint when I set stuff up. But I should probably take a look at it and learn what to do with it. I remember messing around in there in my previous install. I wish I could just be lazy and do everything by the GUI, but Linux keeps showing me that it's not good enough to think like that. YOU MUST BECOME A TERMINAL MASTER!
I take notes often but I can only really write them down once I understand what they mean, otherwise it's just a load of crap which makes no sense to me. I had that when I looked at all my old notes from last time I used Linux
This is why I'll probably have to go through this situation another couple times before I can write some decent notes on it.
Everyone keeps mentioning my backup program, but I knew there was nothing wrong with it and that it didn't need changing. It was just a permissions/ownership thing as I initially thought which my test today confirmed. Still, I'll take a look at the one you mentioned just out of interest
Cheers all!