Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: kabera on July 17, 2015, 09:07:53 AM
-
Somehow smb.conf in /usr/local/etc/samba does not get backuped up
although it is included in .filetool.lst
$ cat /opt/.filetool.lst |grep samba
usr/local/etc/samba
ls /usr/local/etc/samba -ld
drwxr-xr-x 2 root root 60 Jul 17 13:00 /usr/local/etc/samba/
-
Hi kabera
Is usr/local/etc/samba the last line in filetool.lst? If so, did you remember to hit carriage return after you typed it?
-
Hi kabera
You also didn't mention if you are running a GUI or strictly command line. Using a GUI the backup is run for you automatically
when you shut down. If you are running in text mode, you need to run the backup yourself.
-
Hi,
No GUI, strictly ssh command line.
and no, usr/local/etc/samba is not the last one (I also tried usr/local/etc/samba/smb.conf but same result)
all the usr/local/etc/ssh/* entries get backed up without problem, but not samba ones
cat /opt/.filetool.lst
opt
home
usr/local/etc/samba
etc/passwd
etc/shadow
etc/group
etc/gshadow
usr/local/etc/ssh/ssh_host_dsa_key
usr/local/etc/ssh/ssh_host_dsa_key.pub
usr/local/etc/ssh/ssh_host_ecdsa_key
usr/local/etc/ssh/ssh_host_ecdsa_key.pub
usr/local/etc/ssh/ssh_host_ed25519_key
usr/local/etc/ssh/ssh_host_ed25519_key.pub
usr/local/etc/ssh/ssh_host_rsa_key
usr/local/etc/ssh/ssh_host_rsa_key.pub
permissions are also the same:
ls /usr/local/etc/ssh /usr/local/etc/samba -ld
drwxr-xr-x 2 root root 60 Jul 17 15:00 /usr/local/etc/samba/
drwxr-xr-x 2 root root 260 Jan 1 1970 /usr/local/etc/ssh/
-
Hi kabera
I'm not sure if it makes a difference, but you have a trailing space after samba.
-
Blimey !!
Thanks a lot Rich, that did the trick!
-
Hi kabera
You are welcome. Glad to here it's working.