digint / digint/btrbk

selective folder backup from a btrfs volume

Open
#238 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
2.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

So I was using the `rsync` model to backup my data. To do so, I was `rsyncing` selective folders from my `$HOME` to a btrfs based sub-volume. And then I was using `btrbk` to backup that volume to an external disk which has a `btrfs` file system on it.

This is working perfect so far with the major caveat being that I have to duplicate data from `$HOME` to the sub-volume.

So, eventually, I felt that `btrfs` has matured enough that I could trust it with my data. I converted my `$HOME`'s partition into `btrfs`.

My disk layout now is:

```
rrs@priyasi:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 791M 2.1M 789M 1% /run
/dev/mapper/sdbCrypt-ROOT 101G 74G 26G 75% /
tmpfs 3.9G 85M 3.8G 3% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/loop0 16G 11G 4.9G 68% /var/lib/machines
tmpfs 3.9G 433M 3.5G 11% /ram-tmp
/dev/sda5 80G 58G 18G 77% /media/BTRFS
/dev/sda6 922M 136M 762M 16% /boot
/dev/sda2 256M 28M 229M 11% /boot/efi
/dev/mapper/SSHDCrypt-ROOT 375G 296G 78G 80% /media/SSHD
ram-tmp:media/SSHD/tmp-disk:disk-tmp 480G 370G 107G 78% /tmp
tmpfs 791M 1.2M 790M 1% /run/user/118
tmpfs 791M 108K 791M 1% /run/user/1000
13:39 ♒♒♒ ☺ 😄
```

`/media/SSHD` holds my `$HOME` in `/media/SSHD/rrs-home/`

What would be the best backup configuration in this case?
My intent is to have snapshots of my `$HOME`, just in case. But my backups to the external btrfs drive should only have selective folders backed up.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.