Suggestions for backup

Discussion in 'Feature Requests' started by Nicram, Oct 13, 2010.

  1. Nicram

    Nicram Member HowtoForge Supporter

    There is new veeery needed option "backup" for sites in 3.0.3.

    Firstly there is problem in CentOS 5.5 to enable it.
    It create the directory /var/backup/webXXX correctly, but cannot create the file in there because (/var/log/secure):
    Code:
    Oct 12 00:31:30 hosting sudo:     root : sorry, you must have a tty to run sudo ; TTY=unknown ; PWD=/var/www/clients/clientX/webXXX ; USER=webXXX ; COMMAND=$
    .

    It is because default sudoers config is different than in debian/ubuntu.

    The solutions is to edit file /etc/sudoers and hash line:
    Code:
    Defaults    requiretty
    into:
    # Defaults    requiretty
    .

    My suggestion is to add this info into the manual :)

    And my second suggestions to this new feature:
    - add database backup also (choosen from list of databases of current user/client)
    - add possibility to show "backup" option to all clients (enable/disable by admin)
    - admin can change the time periods that user can choose (for example i would like to setup that user choose making backup only 1 time per week or 1 time per month not every day)
    - choose compression algorithm (zip, gzip, bzip2).

    Best Regards
     
  2. yoplait

    yoplait Member

    That should be great!
     

Share This Page