Posts Tagged 'Bash Scripting'

Live Backup For Zimbra FOSS Edition

The one of weakness on zimbra FOSS edition is there’s no backup feature. Backup feature is only available for Zimbra Network Edition.

I’ve made a bash script to do a zimbra live backup for FOSS Edition. This script has been made based on this reference and this one

There are no rsync and ssh in this script, but I think we can modifying and merging this script with other scripts from the wiki page.

The goal is to do a remotely synchronization using rsync, ssh and “live” backup for zimbra open source edition.

Continue reading ‘Live Backup For Zimbra FOSS Edition’

Advertisements

Automatic Logon Script For Windows and Samba

A couple months ago i read article about Generate otomatis Logon script di Samba.

you should put this code in /etc/samba/smb.conf

[global]
logon script = %U.bat

[netlogon]
path = /data/netlogon
writeable = no
guest ok = no
root preexec = /data/netlogon/logonscript.sh %U
root postexec = rm -f /data/netlogon/%U.bat

This script is very helpful when we have a lot of user and share folder. so, we don’t have to add a logon script manually.

Download.