Hi,
I'm running a SuSE 10.1 installation that acts as fileserver, FTP server en webserver.
It has 2 hard drives.
One is the 'system disk' (40 gigs - ext3)
The other is the 'data disk' (40 gigs - reiser) (mounted as /fileserver)
/fileserver is shared by Samba so it is available to my Windows PC. The dir has about 18 gigs of files.
What I would like to do is to make a backup of the fileserver dir and store it on the 'system disk' (it has about 28 gigs free).
I also want to run incremental backups so I won't have to keep making full backups all the time.
And, if it's possible I would like to split up the backup to files of about 4 gigs so it's easy to burn to DVD.
I think TAR is the best way to go here, but what would be the best way to use it?
I've found this little script searching through the forums:
Code:
#!/bin/bash
DATE=`date +%Y%m%d`
DIR="/backups/test/vol1R/current/"
BACKUPDIR="/backups/test/vol1/"
tar czvf - ${DIR} > ${BACKUPDIR}backup${DATE}.tar.gz
That would create a full backup.
But how will I do a Incremental backup?
And how do I split it up into seperate files for DVD burning?