Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: ferran on April 15, 2020, 04:01:57 PM

Title: Restore a backup file
Post by: ferran on April 15, 2020, 04:01:57 PM
I failed with moving files and directories and I need to restore my backup file to fix my disaster.


Title: Re: Restore a backup file
Post by: Greg Erskine on April 15, 2020, 07:02:47 PM
What command did you use to do your backups?

Where are the backups?
Title: Re: Restore a backup file
Post by: ferran on April 15, 2020, 08:12:39 PM
To do a backup you only needs type the command backup into a terminal, or filetools.sh -b too.

Finally I looked the restoring of backup after restart the computer, but the result it wasn´t polite. I will need to set up again some configurations I lost.

Anyway, it would be good to know how we can restoring a backup`s file without to do one restart.



Title: Re: Restore a backup file
Post by: Greg Erskine on April 15, 2020, 09:30:03 PM
IMHO, this type of backup's main purpose is the restore config files (and home directory) to give persistence between reboots. I wouldn't rely on it for your only "backup" because it gets regularly overwritten.

There is a bootcode "safebackup" to keep a copy of previous mydata.tgz

mydata.tgz is automatically restored every time you reboot (as designed).
Title: Re: Restore a backup file
Post by: ferran on April 16, 2020, 09:43:44 AM
Yes. I saw it.

If I manage to fix my configuration I will have to create some kind of shell script that saves all the essentials.