[ubuntu-uk] A question for sysadmins
steve at uptime.org.uk
Tue Jan 8 18:20:50 GMT 2008
Chris Rowson wrote:
> I've got a question about server backups.
> Scenario: You want to perform a daily backup of a web server content
> at /var/www/ to a mounted device at /media/netbackup.
> To do this you run a daily job as follows:
> tar cpf /media/netbackup/fullbackup-`date '+%d-%B-%Y'`.tar /var/www
> Your /var/www/ is 10GB in size.
> The question is, do you require at least 10GB of free space on the web
> server's hard disk drive in order to build the tar archive before
> sending it off to the mounted device, or is the archive built on the
> mounted device instead?
Running the job as you specified it above, the tar will be created
directly on the mounted device.
More information about the ubuntu-uk