diff options
-rw-r--r-- | includes/refresh/backup.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/refresh/backup.inc b/includes/refresh/backup.inc index 879704d..bed4637 100644 --- a/includes/refresh/backup.inc +++ b/includes/refresh/backup.inc @@ -83,8 +83,6 @@ echo(" Uploading to servers...\n"); echo(" zephyrheights... upload\n"); exec("scp -P 2222 " . $_SERVER['DOCUMENT_ROOT'] . "/includes/data/encrypted/" . $id . ".poniesbackup root@zephyrheights.equestria.dev:/opt/ponies"); -echo(" zephyrheights... cleaning up\n"); -exec('ssh -p 2222 root@zephyrheights.equestria.dev bash -c "cd /opt/ponies; ls -tp | grep -v \'/$\' | tail -n +20 | xargs -I {} rm -- {}"'); if (file_exists("/opt/ponies")) { echo(" bridlewood... copy\n"); |