X-Git-Url: https://git.frykholm.com/butterbackup.git/blobdiff_plain/7eb70934d136bcee6907366d9dea78c692d9b4de..f6bb75e20251242a46d39cb633fc3bd6e5c1c8a7:/README.md?ds=sidebyside diff --git a/README.md b/README.md index 115eb19..3931430 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,14 @@ 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. -```bash -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 +As root do the following: +

+mkdir /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@machine2.example.com
+mkdir /mnt/data2
+mkfs.btrfs /dev/sdb1
+mount /dev/sdb1 /mnt/data2  #hardcoded for now
+