Koozali.org: home of the SME Server

Backup server data

Offline mgb

  • *****
  • 558
  • +0/-0
Backup server data
« on: July 02, 2010, 07:21:14 AM »
Backup server
The idea to copy server to server once a day is
Is   more ideas to improve the backup shovel
Or fix the program better reliability
mkdir /mnt/F_filesystem

#!/bin/bash
MILTO=admin
TODAY="`date +%d`"
umount -a
 mount -a
/bin/mount -t cifs //192.168.183.5/data  /mnt/F_filesystem/  -o username=admin,password=?????
/usr/bin/rsync -r /mnt/F_filesystem/  /home/e-smith/files/ibays/data/files/.
 
Thanks all for helping
Skype yosii2009