SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    monitormensch oerdec's Avatar
    Join Date
    Sep 2004
    Location
    Hamburg
    Posts
    706
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Automatic Backup without passthru() or exec()

    Hi,

    Iīm searching for a solution to backup hole databases automatically. I have webspace with PHP but with some limitations:
    PHP Code:
    Warningpassthru,shell_exec,popen,escapeshellcmd,proc_open,proc_nice() has been disabled for security reasons in /www/htdocs/... on line 18 
    I donīt have ssh too.

    Any ideas?

    oerdec

  2. #2
    SitePoint Wizard Dean C's Avatar
    Join Date
    Mar 2003
    Location
    England, UK
    Posts
    2,906
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, the only thing I can think of is phpmyadmin?

  3. #3
    monitormensch oerdec's Avatar
    Join Date
    Sep 2004
    Location
    Hamburg
    Posts
    706
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, I want to use a Cron job to backup every day. My script should send me a dump per email and put a second in a dir on my webspace.

    But I will look at the code they have written. Maybe they didnīt use the functions Iīm not allowed to use.

  4. #4
    monitormensch oerdec's Avatar
    Join Date
    Sep 2004
    Location
    Hamburg
    Posts
    706
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The second option I have is not to backup the hole database at once. I could read out every table and put the data in a file. But I donīt like this because itīs not very reusable. For every new project I have to write the table names in my script.


Bookmarks

Posting Permissions

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