X-Git-Url: https://git.frykholm.com/butterbackup.git/blobdiff_plain/753258a2903b4e4425d549c91872e1c7e78c7ac1..HEAD:/README.md diff --git a/README.md b/README.md index 1eeab6d..4014f96 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,27 @@ butterbackup Butterbackup is a backup system which stores snapshots in btrfs on a central server. A web gui allows for simple restore of files. For now it is rather crude. To get started backing up some manual work is needed. - Create /etc/Butterbackup - # echo "--exclude /tmp --exclude /proc --exclude /sys --exclude /dev" > /etc/butterbackup/machine1.example.com - # cp /etc/butterbackup/machine1.example.com /etc/butterbackup/machine2.example.com - # ssh-copy-id root@machine1.example.com - # ssh-copy-id root@machine1.example.com - # mkdir /mnt/data2 - # mkfs.btrfs /dev/sdb1 - # mount /dev/sdb1 /mnt/data2 #hardcoded for now \ No newline at end of file +

+Create /etc/butterbackup
+# cat > /etc/butterbackup/default.cfg
+[DEFAULT]
+exclude = /proc/, /sys, /tmp, /dev, /run
+store_dir = /mnt/data
+keep=10
+(ctrl-d to exit)
+# touch /etc/butterbackup/machine1.example.com
+# touch /etc/butterbackup/machine2.example.com
+# ssh-copy-id root@machine1.example.com
+# ssh-copy-id root@machine2.example.com
+# mkdir /mnt/data
+# mkfs.btrfs /dev/sdb1
+# mount /dev/sdb1 /mnt/data
+
+ +To override the default setting for a specific host do: +

+cat > /etc/butterbackup/machine1.example.com
+[host]
+exclude = /proc/, /sys, /tmp, /dev, /run, /home/mikael/.gvfs, /.snapshots
+keep=20
+