Tiny Core Linux
Tiny Core Base => Corepure64 => Topic started by: labeas on May 25, 2017, 07:19:35 PM
-
NonVerbatum/fromMemory items are indicated <thus>.
TC writers need to distingiush between files & directories.
In trying to clean-up my bakup/restore data, I noticed in the GUI:
a list of files in </home/tc> which I don't want to be backedUp.
The files were listed in the GUI & existed in </home/tc>.
Apparently individual <path/fileID> can be added via the GUI for backingUP?
But can they be <subtracted>? And where is the files which list these
individual FilesToBeBackedUp?
!!!! Now I can't get the GUI to show that <list of files in /home/tc> ?
Please advise.
-
There's a GUI for these? Who knew? :o The file / directory list to save is in /opt/.filetool.lst. The file /directory list to exclude is in /opt/.xfiletool.lst.
Be sure that you have permissions on the files in both lists. Thanks to a bug in busybox tar the backup will fail if root does not have read rights in a file in the exclude list. I filed a bug on it a year and a half ago and it is still unassigned so don't expect it to be fixed any time soon. And yes it's possible to have directories root can't read like shared folders in VMware.
-
There's so many methods to add or remove files and directories and their contents to and from the backup.
The GUI makes it so easy..
@labeas I'm not sure I understand the question, but there are two files which control files to or not too backup
filetool.lst too backup, and
xfiletool.lst Xclude from backup
just experiment with these two files and you'll figure it out easy enough
-
> just experiment with these two files and you'll figure it out easy enough
===
No! a baby and your dog "figures it out by experimenting".
This is computer SCIENCE. We should strive to have <exact syntax>.
And "many ways of doing it" is bad: like GoTos / spagetti-code.
Also each test for Backup/Restore needs a reboot.
-
No, it does not.
You can do a backup, and examine the backup file with mc.
-
..and "filetool.sh -d" will do a dry run backup
-
And look at this files, also saying that you have to remove the first backslash(root) character.
Include file:
nano /opt/.filetool.lst
Exclude file:
nano /opt/.xfiletool.lst
-
This is computer SCIENCE. We should strive to have <exact syntax>.
We've attempted to point you in the right direction to understand the Backup system before..
Just one of those occasions: http://forum.tinycorelinux.net/index.php/topic,20773.msg129656.html#msg129656 (http://forum.tinycorelinux.net/index.php/topic,20773.msg129656.html#msg129656)
Besides, the Corebook has most your answers, Chapter7.1 indicates in particular where to find both hidden filetool.list files you read the book right?
You could also use the terminal to search for files, try:
sudo find / -iname "*filetool.lst"
The Wiki als has an explanation of the Backup system
http://wiki.tinycorelinux.net/wiki:start#persistence (http://wiki.tinycorelinux.net/wiki:start#persistence)
Try looking under "Getting tinycore to save your documents and settings"
Note also that "Exclusions will override inclusions" (Also from the book) That is something important to remember..
-
The GUI for managing the files is opened by going to ControlPanel and clicking, under "Maintenance", "Backup/Restore". To stop some files or directories from being backed up, click the tab that says, "Excluded from Backup (.xfiletool.lst)", then at the bottom, right hand corner of the window, there is a drop down menu that has the items "File" and "Directory". You can choose whichever one you want to exclude, then click the button "Add" that is to the left of the drop down menu. it will open up a popup window titled "Select <file or directory> to be added to /opt/.xfiletool.lst". Use the file manager in that window to choose the file or directory you want to exclude from the backup.