Jump to content

Nominations for Tractor of the Month
Garden Tractors and Parts on eBay



Photo
- - - - -

Backups.


  • Please log in to reply
25 replies to this topic

#16 olcowhand ONLINE  

olcowhand

    Red Tractor Nut & Diesel Addict

  • Staff Admin
  • Staff
  • -GTt Supporter-
  • Sponsor
  • Contributor
  • Member No: 20
  • 35,639 Thanks
  • 29,838 posts
  • Location: South Central Kentucky

Posted July 14, 2013 - 03:55 PM

The only Raid I understand is a can of bug spray!  :rolling:



#17 HDWildBill ONLINE  

HDWildBill

    Freedom is not Free. Thank those in uniform for your freedom.

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 6354
  • 8,705 Thanks
  • 8,562 posts
  • Location: Ga

Posted July 14, 2013 - 04:18 PM

The only Raid I understand is a can of bug spray!  :rolling:

That's why I put the link to explain a RAID. :smilewink:



#18 HDWildBill ONLINE  

HDWildBill

    Freedom is not Free. Thank those in uniform for your freedom.

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 6354
  • 8,705 Thanks
  • 8,562 posts
  • Location: Ga

Posted July 14, 2013 - 04:20 PM

Any of you Mac guys know if the OS X has the RSync funtion?  This is also a good way to do backups.  You can write a script and then set it to run in the cron and it will sync up the two Folders.



#19 Amigatec OFFLINE  

Amigatec

    Collector of Rusty Junk

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 5899
  • 2,023 Thanks
  • 3,172 posts
  • Location: Haskell Oklahoma

Posted July 14, 2013 - 04:26 PM

Yep

 

 

rsync  version 2.6.9  protocol version 29
Copyright © 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

 

It has cron but permission denied, I would need root access.

cron: can't open or create /var/run/cron.pid: Permission denied


Edited by Amigatec, July 14, 2013 - 04:31 PM.

  • HDWildBill said thank you

#20 HDWildBill ONLINE  

HDWildBill

    Freedom is not Free. Thank those in uniform for your freedom.

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 6354
  • 8,705 Thanks
  • 8,562 posts
  • Location: Ga

Posted July 14, 2013 - 04:42 PM

Yep

 

 

rsync  version 2.6.9  protocol version 29
Copyright © 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

 

It has cron but permission denied, I would need root access.

cron: can't open or create /var/run/cron.pid: Permission denied

 

Yes you do have to run it as root.  There is a program in Linux called "Luckybackup"  Which gives you a graphical interface to use and then writes the script for you.  You can even schedule the cron with in the program.



#21 Amigatec OFFLINE  

Amigatec

    Collector of Rusty Junk

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 5899
  • 2,023 Thanks
  • 3,172 posts
  • Location: Haskell Oklahoma

Posted July 14, 2013 - 04:45 PM

It been a few years since I have edited cron. I would have to write the script, store it probably in /var/etc/script, and then edit cron to tell it when to run it.

It would probably be easier to do a crontab.

Edited by Amigatec, July 14, 2013 - 04:47 PM.

  • HDWildBill said thank you

#22 Amigatec OFFLINE  

Amigatec

    Collector of Rusty Junk

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 5899
  • 2,023 Thanks
  • 3,172 posts
  • Location: Haskell Oklahoma

Posted July 14, 2013 - 04:51 PM

Man this is making my head hurt, I would have brush up on vi, cron, and bash all at the same time. LOL
  • HDWildBill said thank you

#23 Amigatec OFFLINE  

Amigatec

    Collector of Rusty Junk

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 5899
  • 2,023 Thanks
  • 3,172 posts
  • Location: Haskell Oklahoma

Posted July 14, 2013 - 05:00 PM

There was an Linux editor I used all the time called Midnight Commander, mc for short. It was the same thing as Norton Commander for MSDOS.
  • HDWildBill said thank you

#24 Amigatec OFFLINE  

Amigatec

    Collector of Rusty Junk

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 5899
  • 2,023 Thanks
  • 3,172 posts
  • Location: Haskell Oklahoma

Posted July 14, 2013 - 06:04 PM

Remember this?

#!/bin/bash

The bash shebang!
  • HDWildBill said thank you

#25 HDWildBill ONLINE  

HDWildBill

    Freedom is not Free. Thank those in uniform for your freedom.

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 6354
  • 8,705 Thanks
  • 8,562 posts
  • Location: Ga

Posted July 15, 2013 - 09:19 AM

MC is still available in most Disto's.  There was a windows version of MC at one time but I think when M$ switched over from the DOS kernel to the NT Kernel they quit supporting Windows.

 

Still use the bash on this side of the house. Although these days I tend to go with more the graphic side instead of the command line.  It is getting harder to remember the commands and their options.



#26 Amigatec OFFLINE  

Amigatec

    Collector of Rusty Junk

  • Senior Member
  • -GTt Supporter-
  • Contributor
  • Member No: 5899
  • 2,023 Thanks
  • 3,172 posts
  • Location: Haskell Oklahoma

Posted July 15, 2013 - 11:00 AM

MC will help you write bash scripts as well.
  • HDWildBill said thank you




Top