push host to archive so import and index update will be triggerd
[BackupPC.git] / Makefile
1 all:
2         @echo "make reset"
3
4 clean:
5         sudo chown backuppc cgi-bin/index.cgi
6         sudo chmod u+s cgi-bin/index.cgi
7
8 update:
9         dropdb backuppc
10         createdb backuppc
11         createlang plpgsql backuppc
12         sudo -u backuppc rm -Rvf /data/BackupPC/kinosearch /data/BackupPC/dvd_tar/* /data/BackupPC/pc/dvd_tar/*
13         sudo -u backuppc /etc/init.d/BackupPC restart
14         sudo -u backuppc ./bin/BackupPC_ASA_SearchUpdate -c -m 0
15         sudo -u backuppc ./bin/BackupPC_ASA_ArchiveStart dvd_tar backuppc dellboy
16
17 reset: clean update
18
19