added common BackupPC::Search::host_backup_nums
[BackupPC.git] / Makefile
index 43ce8a0..83dc668 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,13 @@ update:
        dropdb backuppc
        createdb backuppc
        createlang plpgsql backuppc
-       sudo -u backuppc rm -Rvf /data/BackupPC/kinosearch /data/BackupPC/dvd_tar/* /data/BackupPC/pc/dvd_tar/*
+       sudo -u backuppc rm -Rvf /data/BackupPC/kinosearch /data/BackupPC/_search_archive/* /data/BackupPC/pc/_search_archive/*
        sudo -u backuppc /etc/init.d/BackupPC restart
        sudo -u backuppc ./bin/BackupPC_ASA_SearchUpdate -c -m 0
 
+test: reset
+       ./test/archive.sh
+
 reset: clean update