LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bedrock Linux (https://www.linuxquestions.org/questions/bedrock-linux-118/)
-   -   bedrock and timeshift problem (https://www.linuxquestions.org/questions/bedrock-linux-118/bedrock-and-timeshift-problem-4175673804/)

tuepepusha 04-23-2020 09:48 AM

bedrock and timeshift problem
 
Hi, I am new to this post and new to bedrock!!
I first installed my preferred basic distro: Elive 3.8.10.
Elive is a Debian "Buster" derivative.
I than successfully installed bedrock 0.7.15 (Poki).
To make snapshots for backup I use timeshift with a link to
3TB disk for all snapshots.
After installed bedrock timeshift dont recognize the link and
refuse to make new snapshot because it is not enough available space.
I started timeshift with:
Code:

sudo strat debian timeshift --create --comments "Bedrock 0.7.15 (Poki) on Elive 3.8.10"
I am wrong in something or timeshift is not compatible with badrock?
If not compatible, what is the suggested snapshot maker for badrock?
Thank you so much for all help!!!

ParadigmComplex 04-23-2020 11:20 AM

Quote:

Originally Posted by tuepepusha (Post 6114948)
I am wrong in something or timeshift is not compatible with badrock?

Your workflow was reasonable. The only thing you missed is checking this page for Bedrock feature compatibility concerns: https://bedrocklinux.org/0.7/feature-compatibility.html

At the very bottom of that table you'll find timeshift is listed as incompatible with Bedrock.

It might be possible to make work if it can be configured to only backup certain parts of the Bedrock filesystem layout. It looks like it might: https://raw.githubusercontent.com/te...gs_filters.png

However, I don't know of anyone with a good understanding of Bedrock and Timeshift to come up with exactly how it should be configured.

If you want to experiment with it, this might help:
  • Do not back up /bedrock/cross. It's virtual, similar to /proc and /sys.
  • Strata can see their own files in /bedrock/strata/ which can cause recursion you want to avoid.
    • You might be able to work around this by telling timeshift to exclude something like "/bedrock/strata/*/bedrock/strata/**".

If you do experiment, I recommend doing so with test systems until you're very sure it works.


Quote:

If not compatible, what is the suggested snapshot maker for badrock?
My guess is most things similar to timeshift will run into the same problem.

I think some people have had success with btrfs's snapshot system, but I actually know it myself.

You can make an image of a Bedrock system by dd'ing its device file when it is offline, but that uses a lot of disk.

I personally backup my system by using a git repo at /bedrock/.git with .gitignore set to "*" and manually `git add`'ing anything I want to back up. I mostly back up configuration files; system files I restore just by reinstalling them with a fresh install. However, I don't know that this is a suitable workflow for everyone.

Quote:

Thank you so much for all help!!!
Happy to help! I'm sorry there are issues here. I hope to make it work better later, but I have a lot to do and it may be a very long time before I get to it.

tuepepusha 04-24-2020 05:28 AM

Hi, Thank you very much for help!
I solved the program using rsync with:

Quote:

sudo rsync -pogr --progress --exclude="/badrock" ... ...
This eliminate all confusion from rsync.
Timeshift is rsync based but not permit it because add a layer
of complexity to rsync.

Again, thank you very much!
With greetings.


All times are GMT -5. The time now is 01:59 PM.