X-Git-Url: https://git.sthu.org/?p=sitarba.git;a=blobdiff_plain;f=shbackup.conf;fp=shbackup.conf;h=fb293cfa33806106a49fe0e8efc9fd50fcbed707;hp=0000000000000000000000000000000000000000;hb=07fa9c2763775fe326e5aec08f8f4ee570072f5b;hpb=62a41f19c5f25566b02fc5973510e1a1e4baa8d6 diff --git a/shbackup.conf b/shbackup.conf new file mode 100644 index 0000000..fb293cf --- /dev/null +++ b/shbackup.conf @@ -0,0 +1,43 @@ +[destination] +# Where shbackup stores the backups and other stuff +directory = ./backup +# Which format should be used by tar? +# One of tar, tar.gz, tar.bz2, tar.xz +format = tar.gz + + +[history] +# keepEPOCH contains the number of backups that are kept for that particular +# epoch, where EPOCH can be year, month, week, day, or hour. modeEPOCH defines +# the backup mode for that particular epoch. Mode can be full, diff or incr. +keephour = 1 +keepday = 14 +keepweek = 2 +keepmonth = 12 +keepyear = 2 +modehour = incr +modeday = diff +modeweek = full +modemonth = full +modeyear = full + + +[input] +# exclude* contains --exclude patterns for tar. Files matching the pattern are +# not included into the backup. +exclude1 = */tmp/* +exclude2 = */[Cc]cache/* +exclude3 = */log* +exclude5 = /home/*/.wine/* +exclude7 = /lib/layman/* + +# A file set called 'home'. Each file set is packed into one archive using tar. +[set home] +# dir* is one directory which belongs to this file set. +dir1 = /home/username/ +dir2 = /media/books/ + +[set conf] +dir1 = /etc/ + +