Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stage4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 717

PostPosted: Tue Dec 24, 2019 8:14 am    Post subject: stage4 Reply with quote

Hi everybody ! I would like to create a backup of my installation of gento , so I need to create e stage4 ....

reading around I see that there is a lot of part excluded .... How is the right way to create a complate stage4 in a way in which I can use this as complete backup ... ?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3282

PostPosted: Tue Dec 24, 2019 8:19 am    Post subject: Re: stage4 Reply with quote

drudox wrote:
reading around I see that there is a lot of part excluded ....

Where did you ...? Would be nice to know what you are referring to.
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 717

PostPosted: Tue Dec 24, 2019 8:23 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-194124-start-50.html

here for example
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 717

PostPosted: Tue Dec 24, 2019 8:29 am    Post subject: Reply with quote

o qui https://forums.gentoo.org/viewtopic-t-1095652.html :oops:
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 717

PostPosted: Tue Dec 24, 2019 9:14 am    Post subject: Reply with quote

somebody can tell me if
Code:
tar -czpf stage4.tar.gz /bin /boot /etc /home /lib /lib32 /lib64 /mnt /opt /root /sbin /usr /var

create a complete stage4 ?
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2337
Location: Germania

PostPosted: Tue Dec 24, 2019 10:01 am    Post subject: Reply with quote

Based on blinkeye's stage4 I use this for my "full backup":
https://geki.selfhost.eu/files/mkstage4

Though, you better understand it completely and adjust to your needs before executing; not to waste time and resources!
_________________
boost|select libs to build|slotable|python-buildid

hear hear
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3282

PostPosted: Tue Dec 24, 2019 10:41 am    Post subject: Reply with quote

drudox wrote:
somebody can tell me if
Code:
tar -czpf stage4.tar.gz /bin /boot /etc /home /lib /lib32 /lib64 /mnt /opt /root /sbin /usr /var

create a complete stage4 ?

Depends on your understanding of stage 4
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 717

PostPosted: Tue Dec 24, 2019 11:18 am    Post subject: Reply with quote

geki wrote:
Based on blinkeye's stage4 I use this for my "full backup":
https://geki.selfhost.eu/files/mkstage4

Though, you better understand it completely and adjust to your needs before executing; not to waste time and resources!


Wonderfull ! the problem is that I have several partinion .. /opt /home .. and something like these it is a problem for your script ?
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 717

PostPosted: Tue Dec 24, 2019 11:20 am    Post subject: Reply with quote

charles17 wrote:
drudox wrote:
somebody can tell me if
Code:
tar -czpf stage4.tar.gz /bin /boot /etc /home /lib /lib32 /lib64 /mnt /opt /root /sbin /usr /var

create a complete stage4 ?

Depends on your understanding of stage 4


well I consider stage4 as stage3 with my package .. in this case it works ?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7416

PostPosted: Tue Dec 24, 2019 2:08 pm    Post subject: Reply with quote

Code:
emerge -a app-backup/mkstage4

doc: https://www.tutorials.chymera.eu/blog/2014/05/18/mkstage4-stage4-tarballs-made-easy/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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