Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Sylvain on July 12, 2003, 10:35:22 PM

Title: Which Backup Solution do you use?
Post by: Sylvain on July 12, 2003, 10:35:22 PM
Hello,

I need to backup files from many NT machines and linux box to our SME server.

What solution are you using?

Thank you
Title: Re: Which Backup Solution do you use?
Post by: Luismor on July 12, 2003, 11:05:00 PM
Hi!
How many Mb? the NT are Servers? can you use a Windows Workstation to make the backups?

Use this Workstation to share a folder called "backupfldr" and using backup2ws (contrib form dmay at contribs.org/contribs), make a backup from your SME to the shared folder "backupfldr". Map all the drives of the NT´s  on the workstation and make a backup job of the mapped folders and the "backupfldr" Use a DVD recorder or tape or whatever to record the files.

The best solution would be to install the DVD recorder on the SME, map the NT folders and backup. Has anyone tried this?

Hope helps
sorry for bad English.
Luismor
Title: Re: Which Backup Solution do you use?
Post by: Sylvain on July 12, 2003, 11:54:07 PM
Yes, NT are all servers and we only need to backup their shares folders. It's less than 10 Go a day incremental. I am looking at BackupPC (star-support has something there http://www.star-support.com/downloads/linux/backuppc/BackupPC%20Documentation.htm) it do backup to disk than we could use a contribs for backup to tape on our main SME 5.6.

But I'm still looking for income idea?

Thank you
Title: Re: Which Backup Solution do you use?
Post by: Kelvin on July 13, 2003, 04:35:09 AM
Hi Sylvain,

If I understand your post correctly, you are looking to backup multiple servers TO the SME and not the other way around, right ?

You could look at Shad Lord's Arkeia backup contrib. The contrib as it stands only focuses on backing up the SME server it is installed on. However, if you learn to configure the Arkeia engine (either from the command line or the Java GUI or a combination of both), you could then setup Arkeia to backup from multiple servers. However, note that Windows Servers do not fall under the free use license and will need to be licensed commercially.

Kelvin
Title: Re: Which Backup Solution do you use?
Post by: Lothar Maier on July 13, 2003, 11:43:48 AM
I use an easy script to backup our W2k Server on an own e-amith directory.
The script is started by cron with the following templates-custom for crontab

# 15backup  
# Backupscripts

15 02 * * 1 root /root/backup.sh tue
15 02 * * 2 root /root/backup.sh wed
15 02 * * 3 root /root/backup.sh thu
15 02 * * 4 root /root/backup.sh fri
15 02 * * 5 root /root/backup.sh sat

This creates backups for every of the week: thu.tgz ... sat.tgz.

#!/bin/sh
# backup.sh
# 2002006 Backup w2kserver
echo Backup start  
date
mkdir -p /Backup/w2kserver
mkdir /mnt/w2kserver
#
# Backup w2kserver Platte 1
#
mount -t smbfs //w2kserver/c$ /mnt/w2kserver -o username=Administrator,password=XXXXX
cp -ar /mnt/w2kserver/Users\ Shared\ Folders /Backup/w2kserver
cp -ar /mnt/w2kserver/Company\ Shared\ Folders /Backup/w2kserver
cp -ar /mnt/w2kserver/SDTV1 /Backup/w2kserver
umount /mnt/w2kserver
#
# Backup w2kserver Platte 2
#
mount -t smbfs //w2kserver/e$ /mnt/w2kserver -o username=Administrator,password=XXXXX
cp -ar /mnt/w2kserver/Backup\ Datenbank /Backup/w2kserver
umount /mnt/w2kserver
#
# Gepacktes Archiv erzeugen
#
tar -czf /Backup/$1.tgz /Backup/w2kserver
#
# Aufräumen
#
rm -r /Backup/w2kserver
rmdir /mnt/w2kserver
date
echo Backup end.


Have fun
--
    Lo
Title: Re: Which Backup Solution do you use?
Post by: Sylvain on July 14, 2003, 07:52:52 PM
Thank you very much everyone,

Kevin your scrips is really what I need, I prefer a script like this over any other solution, we already have shared drive and that will backup them all.


rm -r /Backup/w2kserver
rmdir /mnt/w2kserver
date
echo Backup end.


I guess these lines is only to unmount the remote location is'nt it?
Or is it to clean up the remote location after the backup job?

I need to remove the data on the remote location after the backup jobs...

Thank you for helping me
Title: Re: Which Backup Solution do you use?
Post by: Lothar Maier on July 15, 2003, 12:44:42 AM
Sylvain wrote:
>
> Thank you very much everyone,
>
> Kevin your scrips is really what I need, I prefer a script
> like this over any other solution, we already have shared
> drive and that will backup them all.
>
>
> rm -r /Backup/w2kserver

This removes my "working directory"

> rmdir /mnt/w2kserver

This removes only the directory where the smbshares are mounted

> date
> echo Backup end.

The backup files are in  /Backup

>
> I guess these lines is only to unmount the remote location
> is'nt it?
> Or is it to clean up the remote location after the backup job?
>
> I need to remove the data on the remote location after the
> backup jobs...
>
> Thank you for helping me
:-)
--
    Lo