Menu

Initial installation guide

Help
Rene Rask
2002-05-31
2003-12-29
  • Rene Rask

    Rene Rask - 2002-05-31

    I'll just give a brief desciption on installing the files.

    Put all files in your web root dir so they can be access from a browser.

    Edit the inc/config file settings to fit your setup.

    create a copy of inc/servers/testserver.share.ini
    it should be named as follows:
    <servername>.<sharename>.ini
    Where servername is the name of the server you wish to make backup from. the name must be a network name. (like "servername.domain.com" or if your network supports it just "servername")
    <sharename> is the name of the share you wish to backup.
    Now edit inc/servers/serverlist and add the name of the file you just created.

    Now you need to setup rsync on the remote server.
    a config like this should do it.
    (usually the file "/etc/rsyncd.conf")
    [sharename]
      path = /path/to/share
      comment = This is an rsync export
    You can verify that rsync is working by typing "rsync servername::"
    That output a list of shares available

    Now you need to create a process dir.
    You need the following dirs (check your config.php)
    go to the path you specified in $sys_conf["backupdir"]
    create these dirs
    process/
    process/cmd
    process/session
    process/mounts
    make sure that the httpd user can write in those dirs.

    copy bash/cmdloop to the process dir
    This file handles a shell queue.
    You need to to edit the file and specify the correct path to the "proccess/cmd" dir.
    start the cmdloop (for now you have to start it as root).

    Now you need to edit the servers ini file
    Open a browser and point it at : http://yourbackupserver.domain.com/admin.php
    Enter the password you wrote in config.php
    Select the server you wish to edit. Edit it and save the settings. (remove the testserver line)

    You should now have a system that will let you backup files.

    Run the cron/backup.php script to make a backup

    You must set up nfs to be able to restore files.

    I'll try to make a better guide later.

    Remember that this is a first release, it might not even work for you.  (even though I use this in a production enviroment.)
    Report bugs and I'll try to fix them.

    If you have any questions please post them.

    Check the screenshots on http://bobs.sourceforge.net to see a working version of the system.

    Good luck
    Rene

     
    • Rene Rask

      Rene Rask - 2003-12-29

      Please note that this description is only valid for the 0.5.0 release. The 0.6.x release has a configure script and an rpm package.

      Cheers
      Rene

       

Log in to post a comment.