well... I restarted but it didn't seem to have any effect. I saved the script to the desktop and made it executable and when I activate it the computer accesses the USB twice (after three seconds.... after three seconds it accesses it then 3 seconds later it accesses it again, but it will only do that once. subsequent activations of the script do nothing).<div>
<br></div><div>Well I figured out I need to run it from a terminal.</div><div><br></div><div><div>bmike1@PresarioLapTop1:~/Desktop$ ./Backup\ bmike1 </div><div>building file list ... done</div><div>rsync: mkdir "/mnt/backup/bmike1" failed: Permission denied (13)</div>
<div>rsync error: error in file IO (code 11) at main.c(605) [Receiver=3.0.9]</div><div>rsync: connection unexpectedly closed (9 bytes received so far) [sender]</div><div>rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]</div>
<div>bmike1@PresarioLapTop1:~/Desktop$ </div><div><br></div><div>so I made /mnt/backup/bmike1 but got this error:</div><div><br></div><div>rsync: failed to set times on "/mnt/backup/bmike1/.": Operation not permitted (1)</div>
<div>then it went through and copied the stuff in ~ and went on to mkdir for the next directory to copy and got the ol permision denied thing. hmmmm maybe if I run it with sudo! but matt said no sudo should be necessary. So what is wrong?</div>
<div><br></div><div>Furthermore, how do I access the backup drive? I checked in the directory I created but there is nothing in there so I assume it copied the files to the USB drive:</div><div><div>bmike1@PresarioLapTop1:/mnt/backup/bmike1$ ls /mnt/backup/bmike1</div>
<div>bmike1@PresarioLapTop1:/mnt/backup/bmike1$ </div></div><div><br></div><div><br></div><div>:-)~MIKE~(-:</div>
<br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 6:32 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
now I need to restart for the new line in fstab to be recognized?<br clear="all"><div>:-)~MIKE~(-:</div><div class="HOEnZb"><div class="h5">
<br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 5:57 PM, Matt Graham <span dir="ltr"><<a href="mailto:danceswithcrows@usa.net" target="_blank">danceswithcrows@usa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Michael Havens<br>
<div>>> 3. Make an entry for the partition you made in your /etc/fstab :<br>
>> LABEL=MY_BACKUPS /mnt/backup ext3 noauto,users,noatime 0 0<br>
</div><div>> In step 3 the "LABEL=..." entry in fstab makes it so that whatever has<br>
> the label MY_BACKUPS will be seen as the proper device regardless of<br>
> whether it is sdc, sdc1, sdd, etc....?<br>
<br>
</div>If you have a LABEL= entry in your fstab, then when you mount the mountpoint<br>
for that entry, ("mount /mnt/backup" here), mount will query each block device<br>
in the system and ask it "Is your label MY_BACKUPS?" If it gets a "yes"<br>
answer, it will mount that block device on that mountpoint. mount knows where<br>
the filesystem labels live on all commonly used filesystems (ext234, reiserfs,<br>
xfs, jfs, FAT32, FAT16, NTFS, HFS+, and there are probably others I'm<br>
forgetting), and it can do this check pretty quickly under normal<br>
circumstances.<br>
<br>
If you have 2 block devices on the same system with the same filesystem label,<br>
and then you try to mount by label, stupid things will probably happen. So<br>
don't do that.<br>
<div><div><br>
--<br>
Matt G / Dances With Crows<br>
The Crow202 Blog: <a href="http://crow202.org/wordpress/" target="_blank">http://crow202.org/wordpress/</a><br>
There is no Darkness in Eternity/But only Light too dim for us to see<br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>