Changeset 93c453e


Ignore:
Timestamp:
07/24/17 14:39:42 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
2e1206e
Parents:
5160d62
Message:

backup kijkt nu naar exacte procesnaam

Location:
npl/syn3
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • npl/syn3/backup/backuplib

    r5160d62 r93c453e  
    111111CheckRunning()
    112112{
    113         if [ `pgrep -o 'restore|backup'` != $$ ]; then
     113        if [ `pgrep -xo 'restore|backup'` != $$ ]; then
    114114                echo "INFO: Backup/restore already running!";
    115115                exit 1
  • npl/syn3/backup/syn3backup.build

    r5160d62 r93c453e  
    1 6550
     16551
  • npl/syn3/backup/syn3backup.md5

    r5160d62 r93c453e  
    1117d2ccbdcf7937a1ef1134ba7c4b0378  ./backup
    22779c5c089a832327ff56b7db1d89ea25  ./backup.conf
    3 19499d91077241a779176b275081aa96  ./backuplib
     3c50d0f5338e24eb7e4943557589fd562  ./backuplib
    445fd22ce56460e9ab76641f1f322bd30f  ./cleanup
    55a65357fe969b583c6220300ae54316b4  ./delete
     
    2525b42907f76531300850bad1104e2f6bdf  ./restorefiles
    2626478387d5e8c95cee3c270858e930b2ba  ./sshpass
    27 16227d7d8c11b00394b292ebd0615612  ./syn3backup.pkg
     271dcce0b997d0c2b5568c564f86d38ff2  ./syn3backup.pkg
    28286e3b8805854d12fd1b73056e96357640  ./syn3backup.SlackBuild
    29 d8c0858eb5e6dbc3d4589b5ee548b579  ./syn3backup.SlackBuild.log.gz
     29815f0fb042703caf20ef9cc1d31a1319  ./syn3backup.SlackBuild.log.gz
    3030ac50b66df20fa5fee5fb8ec431ede26e  ./updatelang.sh
  • npl/syn3/webint/src/backup/syn3backup.php

    r5160d62 r93c453e  
    5454        #try to create a directory and use all the rsync options we need, to make sure everything works
    5555        mkdir("/tmp/syn3backuptest");
    56         $ret=Cmd("PASSWD='$new_rsyncpasswd' /usr/backup/sshpass rsync --rsh 'ssh -p $new_rsyncport -o NumberOfPasswordPrompts=1 -o StrictHostKeyChecking=no -o PubkeyAuthentication=no' -r --rsync-path='rsync --fake-super' /tmp/syn3backuptest/ '$new_rsyncserver:$new_rsyncdir/syn3backupmeta'", 
     56        $ret=Cmd("PASSWD='$new_rsyncpasswd' /usr/backup/sshpass rsync --rsh 'ssh -p $new_rsyncport -o NumberOfPasswordPrompts=1 -o StrictHostKeyChecking=no -o PubkeyAuthentication=no' -r --rsync-path='rsync --fake-super' /tmp/syn3backuptest/ '$new_rsyncserver:$new_rsyncdir/syn3backupmeta'",
    5757                         '', $out, $err);
    5858        rmdir("/tmp/syn3backuptest");
     
    7070        global $bcksettings;
    7171        $raw=FileRead($bcksettings[LOG]);
    72         if (!Cmd("pgrep -o 'restore|backup'", '', $out, $err))
     72        if (!Cmd("pgrep -xo 'restore|backup'", '', $out, $err))
    7373        {
    7474                $running=1;
  • npl/syn3/webint/webint.build

    r5160d62 r93c453e  
    1 6560
     16561
  • npl/syn3/webint/webint.md5

    r5160d62 r93c453e  
    11911944e1f535bed6e7f16e41d96abeba5f56  ./src/backup/startrestorefiles.php
    120120678555e8cf13f518a7377cd39824a64d  ./src/backup/startrestore.php
    121 8ec333388d9150af5abc29a05c97e72e  ./src/backup/syn3backup.php
     121f5f46a2712175be9659b2d227a6654f5  ./src/backup/syn3backup.php
    12212206540e48b49b2b69168ccda00e865e50  ./src/backup/wizardchoose.php
    123123818978bae75fd32160fbceb342002f2e  ./src/backup/wizardman.php
     
    116011603d8b121024940b3004ca67bacb88b74e  ./updatelang.sh
    11611161e15c0d77cf349ff3f2c55bf1b48ea567  ./upload.sh
    1162 728c7c592f3b6eb8b10ca03506d8a7af  ./webint.pkg
     11622b8adf31f5eacfc0076b815b4001cfaa  ./webint.pkg
    1163116305d46c478b4e8c14eafeb686a5b8c064  ./webint.SlackBuild
    1164 0a1cbcb19a1e961de4627b95f23fbfd3  ./webint.SlackBuild.log.gz
     116455ae1a264321e68a16fa9f206f28867a  ./webint.SlackBuild.log.gz
    11651165693ffd7c59a1fe2b34276bec14f3ebfb  ./zones.conf
Note: See TracChangeset for help on using the changeset viewer.