Plug

Eric Oyen eric.oyen at icloud.com
Tue Feb 5 18:59:28 MST 2019


Btw,
If you want to run the process automatically at a specified time, you can always do the following:

Su root
Crontab -e

30 4 1,15 * 5 rsync >command switches here>
This would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday. (This example found here: https://www.computerhope.com/unix/ucrontab.htm <https://www.computerhope.com/unix/ucrontab.htm>)

This was how I used to do periodic backups. I would then schedule a copy operation the same way but a day later in order to copy the resulting image file into a backup container (usually on a separate external drive also using crontab). This way, there would always be a backup available.

Hope this helps.

-Eric
From the Central Offices of the Technomage Guild, Data Retrieval unit


> On Feb 4, 2019, at 11:34 AM, Carruth, Rusty <Rusty.Carruth at smartm.com> wrote:
> 
> Yeah, it’s a security feature - you (usually) have to be root to mount stuff, unless automount happens to work for the situation you’re in.
>  
> And I agree, if it works, don’t fix it.
>  
> Rusty
>  
>  
> From: PLUG-discuss [mailto:plug-discuss-bounces at lists.phxlinux.org <mailto:plug-discuss-bounces at lists.phxlinux.org>] On Behalf Of Michael
> Sent: Monday, February 04, 2019 11:11 AM
> To: Main PLUG discussion list
> Subject: Re: Plug
>  
> thanks buddy:)
>  
> On Mon, Feb 4, 2019 at 1:09 PM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote:
> Not that I can think of off hand. This looks like a security feature to me. Since it works, I wouldn’t worry about it much.
>  
> -Eric
> From the Central Offices of the Technomage Guild. Security Infrastructure Dept.
>  
> 
> 
> On Feb 4, 2019, at 9:26 AM, Michael <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote:
>  
> no. I'll just run it with sudo. or is there a specific reason for that?
>  
> On Mon, Feb 4, 2019 at 11:22 AM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote:
> Hmmmm. Have you got a sodo’ers file in /etc? You might have to add your user account there. Also, it probably wouldn’t hurt to add your account to the rsync group.
>  
> -Eric
> From the Central Offices of the Technomage Guild, Unix and other things Dept.
>  
> 
> 
> On Feb 4, 2019, at 9:14 AM, Michael <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote:
>  
> I also have to sudo it 
>  
> On Mon, Feb 4, 2019 at 10:53 AM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote:
> Well, if it works, leave it alone. :)
>  
> -Eric
> From the Central Offices of the Technomage Guild, Hands Off Dept.
>  
> 
> 
> On Feb 3, 2019, at 6:32 AM, Michael <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote:
>  
> I ran the commands. I ran rsync last night and now I open the..... After investigatin furthrt I have discovered it appended a '1' to Seagate. I added a '1'  and it is backing up as I type. I don't like having the 1 on the end but I don't like messing with it any longer!
>  
> On Thu, Jan 31, 2019 at 6:54 PM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote:
> Ok,
> Well, make sure nothing has exclusive use on that drive.
> In terminal issue the following commands:
> umount /dev/sdx (whatever the number is for that drive/fs)
> If there is more than one partition on that drive, unmount them as well.
> Then, to erase the drive, I use dd if=/dev/zero of=/dev/sdx (this will blow away all partition map info, boot sector and the like)
> Lastly:
> mkfs.ext3
>   /dev/sdx (you can replace the .ext3 with other FS types if you prefer)
> When done, mount the FS as normal and you should be good to go.
>  
> -Eric
> From the Central Offices of the Technomage Guild, Drive recyclers Dept.
> 
> 
> On Jan 31, 2019, at 4:46 PM, Michael <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote:
>  
> I am trying to format it to a native
>  
>  
> On Thu, Jan 31, 2019 at 6:44 PM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote:
> Ugh!
> NTFS. No wonder you are having such issues. Any way to move stuff off there and reformat to a more appropriate FS (like ext4, MurderFS or the like)?
>  
> One thing I have found when dealing with NTFS, I would rather do so inside a file image that gets synced from a physical drive. This way, even the partition info is retained. I also do that with my Mac here when operating time machine backups. I created a file that was then formatted with OSX extended FS, setup a few perms and let fly. This way, one of my external drives can handle backups from multiple Macs without running into machine confusion as to which backup belongs to what.
>  
> -Eric
> From the Central Offices of the Technomage Guild, Backups-R-us Dept.
>  
> 
> 
> On Jan 31, 2019, at 12:31 PM, Michael <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote:
>  
> Its been running for about four minutes now and the drive is just flashing.
> This is what I ran:
> bmike1 at MikesBeast:~$ sudo mount /dev/sdc1 /mnt/test
> [sudo] password for bmike1:              
> Mount is denied because the NTFS volume is already exclusively opened.
> The volume may be already mounted, or another software may use it which
> could be identified for example by the help of the 'fuser' command.
> <then I realized it was automounted>
> bmike1 at MikesBeast:~$ sudo umount /dev/sdc1
> bmike1 at MikesBeast:~$ sudo mount /dev/sdc1 /mnt/test
> bmike1 at MikesBeast:~$ find /mnt/test -type f -exec cp "{}" /dev/null \;
>  
> Is this correct?
>  
> On Thu, Jan 31, 2019 at 12:41 PM <kitepilot at kitepilot.com <mailto:kitepilot at kitepilot.com>> wrote:
> > Nope. I'm thinking the external drive is dieing.
> Do:
> mount /dev/<my-dieing-hardrive> /some/where
> find /some/where/ -type f -exec cp "{}" /dev/null \;
> dmesg|grep '/dev/<my-dieing-hardrive>' 
> 
> You'll find a bunch of errors to validate your hunch or you'll fine none to 
> rule it out.
> ET 
> 
> PS: I didn't 'sticking up for you'.
> I want to have you around so I can harass you at will!   ;-)
> You are a good man Mike, and you have my appreciation and utmost respect. 
> 
> 
> 
> Michael writes: 
> 
> > Nope. I'm thinking the external drive is dieing. 
> > 
> > On Thu, Jan 31, 2019 at 9:19 AM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote:
> > 
> >> No problem. Btw, did you ever figure out that latest little issue (I think
> >> it was with rsync)? 
> >>
> >> -Eric 
> >>
> >>
> >> On Jan 31, 2019, at 6:35 AM, Michael <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote: 
> >>
> >> ET and Eric.... thanks for sticking up for me. 
> >>
> >> On Thu, Jan 31, 2019 at 7:10 AM Eric Oyen <eric.oyen at icloud.com <mailto:eric.oyen at icloud.com>> wrote: 
> >>
> >>> No. He is definitely not a troll and like me, he has some challenges that
> >>> can get in the way of properly dealing with the world. So, yeah, his brain
> >>> is wired differently. SO what! So is min, incidentally. On top of having to
> >>> deal with the lifelong effects of a traumatic brain injury (courtesy of a
> >>> hit and run driver in 1989), I am also totally blind. Does this make me any
> >>> less a person? Hell no! Does it mean I might require extra help from time
> >>> to time? You betcha! 
> >>>
> >>> So, before you go applying that label, please consider the mind behind
> >>> the post before making that judgement. 
> >>>
> >>>
> >>> -Eric
> >>> From the central Offices of the Technomage Guild, Special Services and
> >>> activities Dept. 
> >>>
> >>> > On Jan 30, 2019, at 7:55 AM, kitepilot at kitepilot.com <mailto:kitepilot at kitepilot.com> wrote:
> >>> >
> >>> > No Alexander, Michael is not trolling.
> >>> > I know Michael personally and he is a great guy.
> >>> > He faces some challenges that most of us don't even know exist, and he
> >>> overcomes most of them remarkably.
> >>> > I will not extend about the challenges he faces, but I will indicate
> >>> that he deserves the patience, the help and the respect.
> >>> > Not all hackers are created equally...   :)
> >>> > Best!
> >>> > Enrique A. Troconis
> >>> >
> >>> > Snyder, Alexander J writes:
> >>> >> I often wonder if the vague emails from "Michael" are just trolling the
> >>> >> Plug Distro... testing our patience and willingness to help! "I can't
> >>> log in" ....
> >>> >> "How do I print" ... Thanks,
> >>> >> Alexander. Sent from my Samsung Galaxy S8+
> >>> > ---------------------------------------------------
> >>> > PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> >>> > To subscribe, unsubscribe, or to change your mail settings:
> >>> > https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss> 
> >>>
> >>> ---------------------------------------------------
> >>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> >>> To subscribe, unsubscribe, or to change your mail settings:
> >>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> >> 
> >>
> >>
> >> --
> >> :-)~MIKE~(-:
> >> ---------------------------------------------------
> >> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss> 
> >>
> >>
> >> ---------------------------------------------------
> >> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> >  
> > 
> > 
> > -- 
> > :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 
>  
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>  
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 
>  
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>  
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 
>  
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>  
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 
>  
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>  
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 
>  
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>  
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 
>  
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org <mailto:PLUG-discuss at lists.phxlinux.org>
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20190205/124852bd/attachment.html>


More information about the PLUG-discuss mailing list