WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Check onboot unneeded  (Read 6514 times)

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: Check onboot unneeded
« Reply #15 on: November 22, 2015, 02:01:49 AM »
Hi emninger
Quote
Would it be safe to copy a "mydata.tgz" to let's say "mydatadefault.tgz" to have at least a secure fallback - at least as long as i'm playing around with the bootcode settings?
Yes. If something gets messed up, copy it back to mydata.tgz, then reboot without running a backup.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Check onboot unneeded
« Reply #16 on: November 22, 2015, 02:20:50 AM »
Hi emninger
Code: [Select]
opt/.filetool.lst   
opt/eth0.sh
home/tc/
Not needed, your  /opt  and  /home  directories are persistent. I wouldn't be surprised if this accounts for the bulk
of your backup.

See my answer to misalf. The last time i changed here, i lost all my settings. It was frustrating ... :-( If it is a safe way to restore a mydata.tgz to mydatadefault.tgz (or something similar) and if reconverting it to mydata.tgz - in case of breaking something - would restore my setup, i'll give it a try :)

Code: [Select]
etc/Gerald_clark already told you that you should not backup up this directory. If you need  passwd, shadow, or other
files backed up, list them.
I excepted all subdirectories in my .xfiletool.lst; i did this to safe passwd pwasswd- and others which i believe are needed to disable the autologin (?)

Code: [Select]
usr/local/etc/
usr/local/share/X11
usr/local/etc/laptop-mode/laptop-mode.conf
usr/local/etc/laptop-mode/conf.d/usb-autosuspend.conf
Don't backup  usr/local/etc, only any files you modified in there. Why are you backing up  usr/local/share/X11?

I feel like I'm repeating myself.

Because of the keyboardsettings ...

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Check onboot unneeded
« Reply #17 on: November 22, 2015, 05:17:30 AM »
Quote
See my answer to misalf. The last time i changed here, i lost all my settings.
That doesn't make sense. You just said you lost your settings after removing the  local=  boot code - not after adjusting  /opt/.filetool.lst .
Also note:  /opt/.xfiletool.lst  is for excluding files from the backup!

Quote
Because of the keyboardsettings ...
You might want to change that to
Code: [Select]
usr/local/share/X11/xorg.conf.d
Download a copy and keep it handy: Core book ;)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Check onboot unneeded
« Reply #18 on: November 22, 2015, 07:57:09 AM »
Quote
See my answer to misalf. The last time i changed here, i lost all my settings.
That doesn't make sense. You just said you lost your settings after removing the  local=  boot code - not after adjusting  /opt/.filetool.lst .
Also note:  /opt/.xfiletool.lst  is for excluding files from the backup!

Hmm ... :sgrat: Exactly, i used .xfiletool.lst to exclude all /subdirectories from /etc - so, i think i only get the single files in /etc, where sit some important config settings.

My .xfiletool.lst:
Code: [Select]
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.opera/opcache
.opera/cache4
.Xauthority
.wmx
etc/fonts
etc/init.d
etc/modprobe.d
etc/pcmcia/
etc/profile.d
etc/skel/
etc/ssl/
etc/sysconfig/
etc/udev

Quote
Because of the keyboardsettings ...
You might want to change that to
Code: [Select]
usr/local/share/X11/xorg.conf.d

Yeah, i see. I was unsure, if there were other settings involved. But, indeed, most, i moved to home ... (in .Xresources, .gtkrc-2.0 and .gtkrc-2.0.mine ) but i'm bit anxious because fontconfig did not form ~.fontconfig file, which i'd expect to be there.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Check onboot unneeded
« Reply #19 on: November 22, 2015, 08:36:09 AM »
Hi emninger
Quote
Would it be safe to copy a "mydata.tgz" to let's say "mydatadefault.tgz" to have at least a secure fallback - at least as long as i'm playing around with the bootcode settings?
Yes. If something gets messed up, copy it back to mydata.tgz, then reboot without running a backup.

Hi there. I did (= excluded all opt and home from backup) and indeed, loading time now is less than the half! And all the settings are there - as far as i see in this moment.