Results 1 to 6 of 6

Thread: BTRFS snapshot recovery

  1. #1

    Default BTRFS snapshot recovery

    Hi all,

    I'm running OpenSUSE 13.1 with btrfs and I've been silly enough to remove /usr/bin.

    Am I right in thinking I can recover this with the btrfs snapshots that are taken? If so, how without YaST, which is in /usr/bin.

    Thanks.

  2. #2
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: BTRFS snapshot recovery

    Boot from rescue DVD, mount filesystem and snapshot and copy data from snapshot into filesystem. I do not think YaST has any support for it anyway.

  3. #3

    Default Re: BTRFS snapshot recovery

    Thanks, I'll try that. Where are the snapshots located?

  4. #4

    Default Re: BTRFS snapshot recovery

    In the '.snapshots' directory on the root of whichever filesystem. In
    your case, probably /.snapshots

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  5. #5
    Join Date
    Sep 2013
    Location
    New York
    Posts
    198

    Default Re: BTRFS snapshot recovery

    Quote Originally Posted by arvidjaar View Post
    Boot from rescue DVD, mount filesystem and snapshot and copy data from snapshot into filesystem. I do not think YaST has any support for it anyway.
    Actually Yast have full support for it :-)
    I had roll back the system twice using Yast/Snapper
    granted the system was not totally housed , just bad driver and bad network config.
    but still nice option.

  6. #6

    Default Re: BTRFS snapshot recovery

    Would have used snapper, but it was in /usr/bin. Used the recovery Dvd, which worked a treat.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •