Tiny Core Extensions > TCE Q&A Forum
How to avoid an automatic backup during logout?
mbertrand:
I know this topic was posted but it's been a long time ago. I've noticed that when I restart or shutdown that the default option is to do a backup first. I would like to default to NONE.
I've added a long time ago export BACKUP=0 in my .profile to make these changes but it does not seem to work?
Rich:
Hi mbertrand
If your home directory is not persistent, did you remember to backup your .profile file?
mbertrand:
Yes my .profile is backed up for sure
polikuo:
Which arch/version are you using ?
I just test it on PiCore 9 and it's just fine.
The exittc checks for the environment variable "BACKUP", are you sure you've exported it in your .profile ?
exittc.cxx
--- Code: ---string backupDefault="1";
if ( getenv("BACKUP"))
backupDefault = getenv("BACKUP");
--- End code ---
Rich:
Hi mbertrand
I just realized you said:
--- Quote from: mbertrand on September 06, 2017, 07:54:12 AM ---I've added a long time ago export BACKUP=0 in my .profile to make these changes but it does not seem to work?
--- End quote ---
If this is really true, you should have replaced export BACKUP=1 with export BACKUP=0 in your .profile file since that
export already exists.
Navigation
[0] Message Index
[#] Next page
Go to full version