+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
Virtual Learning Platforms Thread, Effective Moodle Backups in Technical; Ok got the mysqldump to work over SSH Code: mysqldump -uUSERNAME -pPASSWORD --all-databases | ssh user@mirror-server "mysql -uUSERNAME -pPASSWORD" The ...
  1. #16

    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    5,290
    Thank Post
    646
    Thanked 368 Times in 259 Posts
    Rep Power
    223
    Ok got the mysqldump to work over SSH

    Code:
    mysqldump -uUSERNAME -pPASSWORD --all-databases | ssh user@mirror-server "mysql -uUSERNAME -pPASSWORD"
    The problem is it keeps prompting for my ssh password

  2. #17

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,852
    Thank Post
    412
    Thanked 771 Times in 645 Posts
    Rep Power
    167
    Gatt: generate an ssh key and tell your server about it:

    HOWTO: set up ssh keys

  3. #18


    Join Date
    Jan 2006
    Posts
    5,969
    Thank Post
    287
    Thanked 635 Times in 477 Posts
    Rep Power
    160
    Quote Originally Posted by Gatt View Post
    The problem is it keeps prompting for my ssh password
    passwordless ssh
    How-To: "Password-less" SSH
    .:: linux howtos ~ passwordless ssh ::.
    Shortest passwordless ssh tutorial, ever

  4. #19

    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    5,290
    Thank Post
    646
    Thanked 368 Times in 259 Posts
    Rep Power
    223
    Thanks - think its working now - just waiting on the cronjob to run ...

  5. #20

    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    5,290
    Thank Post
    646
    Thanked 368 Times in 259 Posts
    Rep Power
    223
    yay it works
    now have a fully working mirror server

  6. #21

    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    5,290
    Thank Post
    646
    Thanked 368 Times in 259 Posts
    Rep Power
    223
    just as well it works! dropped the Moodle database from the LIVE server instead of the mirror


  7. #22
    jeverington's Avatar
    Join Date
    Sep 2007
    Posts
    7
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    If i remember at the college, i setup a NAS as a auto mount disk and used the onboard moodle backup script.

    Ubuntu tut for setting up a auto mount
    Automatically Mounting Windows SMB Shares in Ubuntu v3 | Matt Van Stone

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. VLE Moodle backups
    By ozydave in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 14th November 2011, 09:22 PM
  2. [Pics] Simple but effective
    By Little-Miss in forum Jokes/Interweb Things
    Replies: 8
    Last Post: 7th January 2009, 12:59 PM
  3. [News] Effective Immediately
    By mattx in forum Jokes/Interweb Things
    Replies: 1
    Last Post: 30th October 2008, 03:44 PM
  4. SIMS Effective Date
    By danIT in forum MIS Systems
    Replies: 2
    Last Post: 18th July 2008, 03:05 PM
  5. Quick effective imaging...
    By Ben_Stanton in forum How do you do....it?
    Replies: 32
    Last Post: 1st May 2007, 02:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •