[Samba] help
Thomas M. Skeren III
tms3 at fsklaw.net
Thu Jun 16 15:01:08 GMT 2005
Fernando Ruza wrote:
>A bit Off Topic. You can use bacula: http://www.bacula.org/
>
>Regards,
>
>Fernando.
>
>
>On Tue, 2005-04-19 at 11:16 +0300, Amani Makala wrote:
>
>
>>hi!
>>i need to configure a linux backup server, let me give u some hints on the
>>real environment, i have one linux machine and two windows machines, now i
>>need to make backup of files found on windows machine,but the backup should
>>be done on the linux machine. please anybody who can help me!
>>thanks.
>>
>>
>>
Here's what I do:
Mount the w2000 file share to back up:
fresno# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 3.3G 57M 3.0G 2% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad4s4d 64G 6.6G 53G 11% /usr
/dev/ad4s3d 2.4G 20M 2.1G 1% /var
//MUSSOADMIN at SERVER/COMPANY 11G 6.4G 4.7G 58% /w2000
Then write a cron job:
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time. See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a
0 22 * * * root cp -R /w2000/
/usr/backup/w2000/
45 3 * * * root tar -cyvf
/usr/backup/w2000.tar.bz2 /usr/backup/w2000
30 5 * * 1 root mv
/usr/backup/w2000.tar.bz2 /usr/daily/Mon/
30 5 * * 2 root mv
/usr/backup/w2000.tar.bz2 /usr/daily/Tues/
30 5 * * 3 root mv
/usr/backup/w2000.tar.bz2 /usr/daily/Wed/
30 5 * * 4 root mv
/usr/backup/w2000.tar.bz2 /usr/daily/Thurs/
More information about the samba
mailing list