View previous topic :: View next topic |
Author |
Message |
Blackdon n00b
Joined: 30 Jul 2020 Posts: 2
|
Posted: Thu Jul 30, 2020 10:46 pm Post subject: How to create stage clean? |
|
|
Hello good night, I would like to know how I can create a custom stage with some graphic interface, e.g.: gnome or plasma. Install the programs I want and create a stage without modifying it, a clean system. |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1404 Location: Germany
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2965 Location: Edge of marsh USA
|
Posted: Sat Aug 01, 2020 3:18 am Post subject: |
|
|
Do you mean by "clean stage" that you want a backup or snapshot of your system at that point? If yes, you could use a backup program or use tar. I use tar to make a weekly snapshot of all my system directories, which is separate from the nightly backups of my personal files.
The system backup looks like this and used 3.7 GB and does not include personal files or any "temporary" files that don't need to be backed up.
Code: | $ ls -l /mnt/backup0/sysbak3
total 3817712
-rw-r--r-- 1 root root 4669442 Jul 30 06:01 bin.tgz
-rw-r--r-- 1 root root 33190980 Jul 30 06:01 boot.tgz
-rw-r--r-- 1 root root 29333 Jul 30 06:01 dev.tgz
-rw-r--r-- 1 root root 4413743 Jul 30 06:01 etc.tgz
-rw-r--r-- 1 root root 10240 Jul 30 06:01 home.tar
-rw-r--r-- 1 root root 7213128 Jul 30 06:01 lib64.tgz
-rw-r--r-- 1 root root 263897118 Jul 30 06:01 lib.tgz
-rw-r--r-- 1 root root 10240 Jul 30 06:01 media.tar
-rw-r--r-- 1 root root 51200 Jul 30 06:01 mnt.tar
-rw-r--r-- 1 root root 314130708 Jul 30 06:02 opt.tgz
-rw-r--r-- 1 root root 10240 Jul 30 06:02 proc.tar
-rw-r--r-- 1 root root 1561973 Jul 30 06:02 root.tgz
-rw-r--r-- 1 root root 10240 Jul 30 06:02 run.tar
-rw-r--r-- 1 root root 4933979 Jul 30 06:02 sbin.tgz
-rw-r--r-- 1 root root 10240 Jul 30 06:19 scratch.tar
-rw-r--r-- 1 root root 10240 Jul 30 06:02 sys.tar
-rw-r--r-- 1 root root 10240 Jul 30 06:02 tmp.tar
-rw-r--r-- 1 root root 2915950020 Jul 30 06:14 usr.tgz
-rw-r--r-- 1 root root 359172827 Jul 30 06:19 var.tgz |
If this is what you have in mind, I can share my script(s) with you here. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|