WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: smb.conf piCore 6.1  (Read 2519 times)

Offline kabera

  • Newbie
  • *
  • Posts: 12
smb.conf piCore 6.1
« 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

Code: [Select]
$ cat /opt/.filetool.lst |grep samba

usr/local/etc/samba

Code: [Select]
ls /usr/local/etc/samba -ld
drwxr-xr-x    2 root     root            60 Jul 17 13:00 /usr/local/etc/samba/




Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11591
Re: smb.conf piCore 6.1
« Reply #1 on: July 17, 2015, 11:21:44 AM »
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?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11591
Re: smb.conf piCore 6.1
« Reply #2 on: July 17, 2015, 11:58:45 AM »
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.

Offline kabera

  • Newbie
  • *
  • Posts: 12
Re: smb.conf piCore 6.1
« Reply #3 on: July 17, 2015, 12:22:52 PM »
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

Code: [Select]
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:

Code: [Select]
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/

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11591
Re: smb.conf piCore 6.1
« Reply #4 on: July 17, 2015, 01:17:32 PM »
Hi kabera
I'm not sure if it makes a difference, but you have a trailing space after samba.

Offline kabera

  • Newbie
  • *
  • Posts: 12
backup problem [SOLVED]
« Reply #5 on: July 18, 2015, 02:16:20 AM »
Blimey !!
Thanks a lot Rich, that did the trick!

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11591
Re: smb.conf piCore 6.1
« Reply #6 on: July 18, 2015, 02:42:44 AM »
Hi kabera
You are welcome. Glad to here it's working.