c/sampler renamed to Ghetto-SoundSystem ;-)
[mirrors/Programs.git] / make / Makefile.duplicity
... / ...
CommitLineData
1BACKUP_TARGET="ssh://user@server/.BackupCrypto/backup-name"
2export PASSPHRASE=looong-password-fjdshfkasdfhdsfhsdhfsdhfsdhsjdkfjkdsjfdshjfhdsjf
3### DO NOT WRAP THE PASSPHRASE WITH QUOTES, THEY WILL BE TAKEN AS PART OF IT ###
4
5BACKUP_SOURCE="./"
6DFLAGS=--exclude './Makefile' --exclude '**/_*'
7DUPLICITY=duplicity
8#BACKUP_TARGET="file:///tmp/bkp"
9
10.PHONY: backup full verify list status cleanup restore help man
11
12backup:
13 $(DUPLICITY) $(DFLAGS) $(BACKUP_SOURCE) $(BACKUP_TARGET)
14
15full:
16 $(DUPLICITY) full $(DFLAGS) $(BACKUP_SOURCE) $(BACKUP_TARGET)
17
18verify:
19 $(DUPLICITY) verify $(DFLAGS) $(BACKUP_TARGET) $(BACKUP_SOURCE)
20
21list:
22 $(DUPLICITY) list-current-files $(BACKUP_TARGET)
23
24status:
25 $(DUPLICITY) collection-status $(BACKUP_TARGET)
26
27cleanup:
28 $(DUPLICITY) cleanup --force $(BACKUP_TARGET)
29
30restore:
31 # you can restore your files using this command:
32 # PASSPHRASE='$(PASSPHRASE)' $(DUPLICITY) restore $(BACKUP_TARGET) /tmp/restored
33
34man:
35 man duplicity
36
37help:
38 ###################################################################
39 #
40 # Makefile for backing-up using duplicity
41 # --> http://duplicity.nongnu.org/
42 #
43 # make - same as "make backup"
44 # make backup - backup (full or incremental)
45 # make full - full backup
46 # make verify - compare local files with backup
47 # make list - list files on backup
48 # make status - print backup status
49 # make cleanup - remove extraneous files from backup
50 # make restore - print command to restore files
51 # make help - print this help
52 # make man - show duplicity manpage
53 #
This page took 0.268003 seconds and 4 git commands to generate.