• when i want to make a back up in campsite i found this error

    #!/usr/bin/php

    Campsite Backup Utility
    -----------------------
    Backup script version: 3.5.0-rc1
    Backing up campsite
    * Backing up the database...
    ERROR!
    Unable to create temporary archive.
    Please run this script as 'www-data' or as 'root'.
  • 2 Comments sorted by
  • Vote Up0Vote Down Mugur RusMugur Rus
    Posts: 132Member
    Please run the backup command as root:

    sudo [path_to_newscoop]/bin/newscoop-backup ....

    Mugur Rus
    Senior Software Developer, Sourcefabric
    mugur.rus@sourcefabric.org

    Cluj-Napoca, Romania
    +40 (0)720 528408
    Skype: mugur_rus

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric



    On Fri, May 27, 2011 at 1:23 PM, ali torabi <
    newscoop-support@lists.sourcefabric.org> wrote:

    > when i want to make a back up in campsite i found this error
    >
    > #!/usr/bin/php
    >
    > Campsite Backup Utility
    > -----------------------
    > Backup script version: 3.5.0-rc1
    > Backing up campsite
    > * Backing up the database...
    > ERROR!
    > Unable to create temporary archive.
    > Please run this script as 'www-data' or as 'root'.
    >

  • could u explain more?