X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Makefile;h=819163cfa99d97dd59491d3e68ce30d7118e1ebf;hb=d4790705ef548faedafeb587d9235ed3d650dd36;hp=51ea0964f89dc212cc9425a2dff5a77b52008a08;hpb=6f6315f294e468c52a68db53d8162690f74dc6cd;p=BackupPC.git diff --git a/Makefile b/Makefile index 51ea096..819163c 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,9 @@ burn: test psql -c "delete from archive_burned" backuppc sudo /data/backuppc/bin/BackupPC_burnArchiveCLI -restore: test +cleanup-restore: + sudo -u backuppc rm -Rf /data/backuppc/data/pc/restore/ + +restore: cleanup-restore test sleep 1 sudo -u backuppc ./bin/BackupPC_recover_from_increments /data/backuppc/temp/llin_etc*