+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 22 of 22

Thread: Effective Moodle Backups

  Share/Bookmark
  1. #16

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    4,111
    Thank Post
    434
    Thanked 218 Times in 159 Posts
    Rep Power
    98

    Default

    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

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,445
    Thank Post
    342
    Thanked 687 Times in 576 Posts
    Rep Power
    144

    Default

    Gatt: generate an ssh key and tell your server about it:

    HOWTO: set up ssh keys

  3. #18

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    4,111
    Thank Post
    434
    Thanked 218 Times in 159 Posts
    Rep Power
    98

    Default

    Thanks - think its working now - just waiting on the cronjob to run ...

  5. #20

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    4,111
    Thank Post
    434
    Thanked 218 Times in 159 Posts
    Rep Power
    98

    Default

    yay it works
    now have a fully working mirror server

  6. #21

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    Gatt's Avatar
    Join Date
    Jan 2006
    Location
    Rochdale
    Posts
    4,111
    Thank Post
    434
    Thanked 218 Times in 159 Posts
    Rep Power
    98

    Default

    just as well it works! dropped the Moodle database from the LIVE server instead of the mirror


  7. #22

    Reputation
    jeverington's Avatar
    Join Date
    Sep 2007
    Posts
    5
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Simple but effective
    By Little-Miss in forum Jokes/Interweb Things
    Replies: 8
    Last Post: 07-01-2009, 11:59 AM
  2. Effective Immediately
    By mattx in forum Jokes/Interweb Things
    Replies: 1
    Last Post: 30-10-2008, 02:44 PM
  3. SIMS Effective Date
    By danIT in forum MIS Systems
    Replies: 2
    Last Post: 18-07-2008, 02:05 PM
  4. VLE Moodle backups
    By ozydave in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 03-07-2008, 03:39 PM
  5. Quick effective imaging...
    By Ben_Stanton in forum How do you do....it?
    Replies: 32
    Last Post: 01-05-2007, 01:07 PM

Posting Permissions

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