LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2021, 03:51 AM   #1
assasukasse
Member
 
Registered: Mar 2006
Location: UK
Distribution: Debian, Ubuntu
Posts: 141

Rep: Reputation: 15
btrbk on a GPT multi partition BTRFS drive


Hello
I am running Debian Bullseye on a nvme drive on my laptop that is partitioned as follow (i shortened the names for convenience):
/dev/nvme0 EFI
/dev/nvme1 /boot
/dev/nvme5 /
/dev/nvme7 /home
/dev/nvme3 swap

Nvme3-5-7 are all encrypted with Luks.
Inside the partition I have created subvolumes and installed my system inside them.

/dev/nvme5 has subvol @ for the root and subvol @root-snapshot for the snapshots
/dev/nvme7 has subvol @home for home and sub @home-snapshot

Both the snapshot subvol are mounted via fstab as /root-snapshot and /home-snaptshot

My config file for btrbk is:

Code:
timestamp_format	long
snapshot_preserve_min	5d
snapshot_preserve	30d

volume /dev/mapper/nvme0n1p5_crypt
    snapshot_dir	root-snapshot
    subvolume		@

volume /dev/mapper/nvme0n1p7_crypt
    snapshot_dir	home-snapshot
    subvolume		@home
but this doesn't work..

Could someone help in setting this correctly?
I tried to add a target option

Code:
target /dev/mapper/nvme0n1p5_crypt/
to indicate that the snapshot should be created inside that volume but I get an ambiguous target configuration..

Anybody could help me in finding what is wrong?
Thanks
 
  


Reply

Tags
backup, btrfs, debian, nvme, snapshot



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MBR or GPT for a external enclosure hard drive with a newer Widows 10 system with GPT james2b Linux - Newbie 10 10-27-2020 06:45 AM
[SOLVED] GPT table corrupted (again @%36372 GPT) BW-userx Linux - Hardware 5 08-29-2018 04:14 PM
ext4 vs btrfs, and with btrfs do I still need to use LVM? blue_k Linux - Software 4 08-17-2012 11:31 PM
[SOLVED] How to Install Slackware current with SSD/GPT/Btrfs/separate partitions JohnV2 Slackware 5 05-16-2012 01:20 PM
[SOLVED] Slackware 13.37 - gdisk choices, MBR, GPT or Blank GPT CFet Slackware - Installation 3 04-01-2011 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration