added humanly readable unit (b k M G)
[BackupPC.git] / Makefile
index d796a5a..95f54c3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,11 @@ update:
        dropdb backuppc
        createdb backuppc
        createlang plpgsql backuppc
-       sudo -u backuppc ./bin/BackupPC_ASA_PostDump_SearchUpdate -c
+       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
+       sudo -u backuppc ./bin/BackupPC_ASA_ArchiveStart _search_archive backuppc dellboy
 
 reset: clean update
 
+