post-page

WP Backup to Email Script

10
responses
by
 
on
March 8th, 2005
in
Cool Scripts, WordPress Hack
heading
heading
heading
10
Responses

 

Comments

  1. Geof F. Morris (19 comments.) says:

    Mark, this is elegant. I love it!

  2. Dave M. (1 comments.) says:

    My site isn’t huge, but I don’t have permission to use ‘mail’. Any chance you could send me the ftp version of your script? I’ve got Filezilla server up and running here, so I just need a way to ftp to it.

    I’m not sure what I need to do if anything to make sure that ftp log’s in correctly. I see in the ftp man pages that a .netrc file needs to be available, but I’m not sure what needs to be in that file for it to work.

  3. Nick (11 comments.) says:

    Hey Mark,
    This sounds awesome, but I can’t get the script to run. At first I was getting an error about options, so I removed the “-f” from the first line of the script. Now I’m getting
    “: bad interpreter: No such file or directory”

  4. Mark (118 comments.) says:

    Do a search for bash on your server (which bash) and replace the path on the first line. :) Sorry, I didnt see these comments.

  5. Nick (11 comments.) says:

    It’s the same as the path in the script.
    /bin/bash

  6. Mark (118 comments.) says:

    Hmmm…make sure you can type in “/bin/bash” at the command prompt and bash gets loaded.

  7. Nick (11 comments.) says:

    Yup, that loads bash.

  8. Mark (118 comments.) says:

    Hmmm…this might need a little human interference. :)
    Can you email me with some more details?

  9. Manish Gupta says:

    Still not able to make the script work. Getting:

    : bad interpreter: No such file or directory

    Where you able to solve Mark’s problem. I was wondering you can help me. Many thanks in advance.



Trackbacks/Pingbacks

  1. […] Gelukkig heb ik SSH toegang, zodat je een scriptje kan gebruiken. Gisterenavond vond ik een prachtig script op een backup te neme […]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php