Web lists-archives.com

Re: [Samba] samba-backup.sh problems - is the /var/lib/samba/etc folder essential in a Samba installation?




Further to my previous post, I have listed the contents of the tar file created during the backup.

It appears to have a sensible bunch of files in it which makes me think the backup script is actually working properly, and I just have a path issue with my instalation here:

pi@ad1:~ $ sudo tar -tf /usr/local/backups/samba4_private.2019-04-16.tar.bz2
./private/
./private/secrets.ldb
./private/secrets.ldb
./private/secrets.keytab
./private/privilege.ldb
./private/share.ldb
./private/hklm.ldb
./private/ldap_priv/
./private/sam.ldb.d/
./private/sam.ldb.d/metadata.tdb
./private/sam.ldb.d/DC=FORESTDNSZONES,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/CN=CONFIGURATION,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/CN=SCHEMA,CN=CONFIGURATION,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/CN=SCHEMA,CN=CONFIGURATION,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/DC=DOMAINDNSZONES,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/CN=CONFIGURATION,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/DC=DOMAINDNSZONES,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/DC=FORESTDNSZONES,DC=OSSL,DC=COM.ldb
./private/sam.ldb.d/DC=OSSL,DC=COM.ldb
./private/tls/
./private/tls/key.pem
./private/tls/cert.pem
./private/dns_update_cache
./private/share.ldb
./private/smbd.tmp/
./private/privilege.ldb
./private/idmap.ldb
./private/spn_update_list
./private/idmap.ldb
./private/dns_update_list
./private/hklm.ldb
./private/krb5.conf
./private/secrets.tdb
./private/netlogon_creds_cli.tdb
./private/passdb.tdb
./private/rsyncd.secret
./private/sam.ldb
./private/named.conf.update
./private/sam.ldb

./private/msg.sock/

./private/schannel_store.tdb


Thanks

Stephen Ellwood


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba