Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Coming back to Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Captain Kirk
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 144
Location: USA

PostPosted: Wed Sep 27, 2017 5:52 am    Post subject: Coming back to Gentoo Reply with quote

I just finished updating two fairly fresh Gentoo installs after having spent the past ~five years using Debian. It feels good to come back. Even better to have OpenRC. I must admit, I was almost swayed to Devuan. I'm not sure their security posture is up to par with either the Gentoo or Debian security teams, though. Here's hoping my trusted shorthand, "sudo emerge --sync && sudo emerge -avuDN world" is still worthwhile. (So far it seems to have been!)

I don't suppose there's a way to see what major changes have happened over the years? Perusing GLEPs?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2423

PostPosted: Wed Sep 27, 2017 6:06 am    Post subject: Re: Coming back to Gentoo Reply with quote

Captain Kirk wrote:
I don't suppose there's a way to see what major changes have happened over the years? Perusing GLEPs?

Some of them are listed in https://gentoo.org/support/news-items/
Back to top
View user's profile Send private message
Myu
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2014
Posts: 124
Location: Belgium

PostPosted: Wed Sep 27, 2017 7:47 am    Post subject: Reply with quote

Welcome back !

I'm only using Gentoo since 3 years but during those, I did not see a lot of huge user-facing changes, one comes to mind though : the portage tree is available via Git nowadays.

Otherwise, it is still rock solid.
_________________
Gentoo stable (with bits of ~amd64) / Games ! (Linux & vfio-pci ) // Xfce

Feel free to PM me if you would like a simple ebuild and I'll see what I can do :]
Back to top
View user's profile Send private message
HungGarTiger
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2014
Posts: 130
Location: /nz/auckland

PostPosted: Wed Sep 27, 2017 7:47 am    Post subject: Reply with quote

Welcome back. What made you switch over to Debian in the first place? Critical or sensitive systems? Debian was the 2nd distro I tried but once I found my way here I couldn't imagine going back, even my home servers now run Gentoo.
Back to top
View user's profile Send private message
Captain Kirk
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 144
Location: USA

PostPosted: Wed Sep 27, 2017 4:34 pm    Post subject: Reply with quote

Myu wrote:
the portage tree is available via Git nowadays.

Neat! Any experience on whether this is faster than the traditional rsync?

HungGarTiger wrote:
What made you switch over to Debian in the first place? Critical or sensitive systems?

I had a critical system on Gentoo that suffered a massive RAID failure. While I had backups of /home, /etc ... and other important areas, I didn't have a complete image that I could just "dd" over or something similar. I started a fresh install and hit a blocker bug whose fix would take a day or two to hit the tree. With users screaming, and the promise of a bit more stability - at least back in 2011/2012 - Debian made a bit more sense, especially when I had user data already preserved.

My backup strategy hasn't evolved much. If a system dies: I reinstall it, sync over world, install packages, sync etc/home and so on. I'm not sure if there's a better, "complete" system backup that'll also yield the ability to extract individual files right now. I've thought about doing AMANDA off and on, but it's complexity tends to shy me away.

I also like to think in this time that there aren't too many major blockers making it past QA :)
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2314

PostPosted: Wed Sep 27, 2017 11:02 pm    Post subject: Reply with quote

Welcome! We always knew you would be back! :)

Look into rsnapshot. You can back up the entire system with emphasis on the most critical areas and less frequent updates to less important areas. It also keeps several iterations of the system available should you need to roll back.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Captain Kirk
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 144
Location: USA

PostPosted: Wed Sep 27, 2017 11:27 pm    Post subject: Reply with quote

The Doctor wrote:
Look into rsnapshot. You can back up the entire system with emphasis on the most critical areas and less frequent updates to less important areas. It also keeps several iterations of the system available should you need to roll back.

Ah. I actually use rsnapshot :) Here are the areas I currently cover w/ my Debian systems:
Code:
backup  /etc/   ./
backup  /opt/   ./
backup  /root/  ./
backup  /home/  ./
backup  /var/log/       ./
backup  /var/spool/cron/        ./
backup  /usr/local/     ./
backup  /usr/src/       ./

My problem is how do you quickly return to a functioning system with that from a total crash.
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1214

PostPosted: Thu Sep 28, 2017 1:05 am    Post subject: Reply with quote

Captain Kirk wrote:

Here are the areas I currently cover ...


Do not forget your worldfile:
Code:
backup   /var/lib/portage/   


But this "./" at the end of the line looks interesting. What does it do?

Thanks
Ma
_________________
Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2314

PostPosted: Thu Sep 28, 2017 5:32 am    Post subject: Reply with quote

Grab more.

You want to get the entire system so all you have to do is rsync. I recommend reading the gentoo wiki I linked before. ;)
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2423

PostPosted: Thu Sep 28, 2017 6:11 am    Post subject: Reply with quote

Captain Kirk wrote:
My problem is how do you quickly return to a functioning system with that from a total crash.

I am using fsarchiver instead. It provides an option restfs for restoring the complete filesystem:

man initramfs:
   restore the first filesystem from an archive (first = number 0):
       fsarchiver restfs /data/myarchive2.fsa id=0,dest=/dev/sda1

Having restored your backup on an external device, you could grab for anything there.
Back to top
View user's profile Send private message
Captain Kirk
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2003
Posts: 144
Location: USA

PostPosted: Thu Sep 28, 2017 6:16 am    Post subject: Reply with quote

Marlo wrote:

But this "./" at the end of the line looks interesting. What does it do?

My snapshot_root is an NFS submount that mounts on the host as /mnt/backups. On the backup server it maps to /mnt/tank/backups/$HOST. So in effect, you get /mnt/tank/backups/$HOST/hourly,daily,weekly, etc. It works out really well.

The Doctor wrote:

You want to get the entire system so all you have to do is rsync. I recommend reading the gentoo wiki I linked before. ;)

Indeed. Glad to see the wiki is in good shape. I still remember the old, old external Gentoo wiki that was lost and semi-resurrected.

Regarding rsnapshot, I'll likely expand it to doing all of "/" with some excludes like /proc, /dev, etc. I think that'll give me an operational system faster.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11292

PostPosted: Fri Sep 29, 2017 12:44 am    Post subject: Reply with quote

I typically use tricks with bind mounts to archive each logical filesystem separately. If you choose not to (and most people so choose), I suggest you inspect the list of mounted filesystems first to find all the special filesystems to exclude. You have a good start with /proc and /dev, but remember to catch also /run, /sys, and any areas which contain mounts of network filesystems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum