From fe1a5abc59e622199027d35fd754d4893ad71133 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Tue, 23 May 2023 21:42:26 +0200 Subject: Updated includes/refresh/backup.inc (automated) --- includes/refresh/backup.inc | 2 -- 1 file changed, 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"); -- cgit