Posts by joximu

    Also wenn ich im i-mscp panel als domainuser (bwz. vom admin zum domain-user gewechselt) einem Mailuser das Passwort ändere, dann ist das in der Tabelle mail_users geändert.


    ich habe die Version pre-beta6 von vor ein paar Tagen, nutze dovecot (dh. die Passwörter sollten direkt aus der DB gelesen werden). In der sasldb2 wurde das PW auch geändert.


    /J

    Wird es im webmail (squirrel) nicht richtig dargestellt?


    Ansonsten ich das Problem nicht bei i-mscp orten kann (und auch wenns webmail ist - ist dann schlussendlich eine Konfig-Sache - oder eine falsche Einstellung im Mailprogramm, welches gesendet hat).


    /J

    Dann machst du halt eine Subdomain - zb. alle.meinedomain.de - und das so, dass da dieses andere Verzeichnis zum Einsatz kommt.


    Und dann den Wildcard Eintrag in die dazugehörende Datei alle.meinedomain.de.conf schreiben.


    Wo ist die Kreativität geblieben Menki?


    Gruss J

    ich denke, es reicht,. wenn du im /etc/apache2/imscp/meinedomain.de.conf einen Eintrag machst


    ServerAlias *.meinedomain.de


    Das erfasst alle nicht sonstwo definierten Hosts.... eben, das was du willst.


    Dann apache reloaden....


    /J

    Also mit der aktuellen pre-beta6 hat's gut geklappt, ein Restore der Daten und der DB zu machen.


    Wobei ich nur ein Szenarion getestet habe:
    htdocs leeren und DB komplett leeren.


    Dann restore.


    /J

    Hi


    well - of course it can be built up to a general backup/restore system for the whole server and all the other things - but I just wanted to discuss the basics - no removal of older backups if the new backup is not finished.
    This used to work like this until summer... with beta5 many engine scripts were rewritten and this detail has changed.


    imscp-backup-all:
    line 108: $rs |= execute("$main::imscpConfig{'CMD_RM'} -rf $bkpDir/*", \$stdout, \$stderr);
    line 130: my $rs |= execute(join(' ', @cmd), \$stdout, \$stderr);
    where $cmd is the tar command....


    I know that if during the backup the (typo3) website is being visited, then it often happens that tar ends with a message
    (/bin/tar: ./htdocs/typo3temp: file changed as we read it) which is recognized as error - new backup is removed and a mail is sent.
    At least it seems that now this type of "error-"backup is not deleted - and should be usable.


    To the other backup wishes:


    - How many backups to keep.
    -> imscp backups are kept for 14 days.
    - Complete and differencial backups.
    -> hm... So this looks rather like you want to integrate a full backup software into imscp
    - What to backup (only mail, only web, all)
    -> maybe an option... - but then with: "mail" every hour, "web" once a day etc...
    - Domain backup/Full Server backup (for the full server backup when backing up the domains go backup domains or backup only the backups from the domains)
    - Restore option for the domain and for the whole server.


    For now a rsync backup makes sense for the parts of the server you wish to have backed up (without the backups made by imscp). For an archive you may need a more sophisticated software.


    I included a small feature to let the user define some files/folders which should not be backed up - e.g. for people who have a copy of a dvd on the server...


    /J

    Also, so geht's irgendwie:


    du musst auf jeden fall ein eigenes virtualhost haben - wegen dem eigenen User.


    ich habe:


    den in /etc/apache2/conf.d liegenden Symlink backuppc.conf nach /etc/apache2/sites-enabled verschoben und so angepasst:


    Code
    1. <VirtualHost <deine ip>:80> <IfModule suexec_module> SuexecUserGroup backuppc backuppc </IfModule> ServerName <backuppc.passender.Server.Name>#Alias /backuppc /usr/share/backuppc/cgi-bin/ DocumentRoot /var/www/imscp/b/#<Directory /usr/share/backuppc/cgi-bin/><Directory /var/www/imscp/b/> AllowOverride None Allow from all # Uncomment the line below to ensure that nobody can sniff importanti # info from network traffic during editing of the BackupPC config or # when browsing/restoring backups. # Requires that you have your webserver set up for SSL (https) access. #SSLRequireSSL Options ExecCGI FollowSymlinks AddHandler cgi-script .cgi DirectoryIndex index.cgi AuthGroupFile /etc/backuppc/htgroup AuthUserFile /etc/backuppc/htpasswd AuthType basic AuthName "BackupPC admin" require valid-user</Directory></VirtualHost>


    und dann im /var/www/imscp ein Verzeichnis b abgelegt (darf auch anders heissen). Da drin ein Verzeichnis backuppc und da die index.cgi und ein link image.
    Wichtig sind hier die Besitzer:Gruppe und Rechte.


    am besten Vergleichen:


    # ls -lR /var/www/imscp/b

    Code
    1. /var/www/imscp/b:
    2. insgesamt 4
    3. dr-xr-x--x 2 backuppc backuppc 4096 6. Jan 13:00 backuppc
    4. /var/www/imscp/b/backuppc:
    5. insgesamt 4
    6. lrwxrwxrwx 1 root root 25 6. Jan 12:50 image -> /usr/share/backuppc/image
    7. -rwxr-x--- 1 backuppc backuppc 3993 25. Nov 2009 index.cgi


    Damit komme ich dann rein.


    Wichtig: die tatsächliche URL ist dann http://<backuppc.passender.Server.Name>/backuppc/


    Ob dann auch alles damit funktioniert, weiss ich nicht. Aber es kommt eine Oberfläche...


    Sehr wahrscheinlich kann man es auch ausserhalb von /var/www/imscp machen... aber das kannste ja ausprobieren.


    Gruss J

    Von wo ist das Programm?


    upd: ich lad mir mal die Version von Debian runter und installier es.
    /usr/share tönt nach Debian-version und nicht nach dem "Original".


    mal sehen.


    /J