"Erland Sommarskog" <
esq...@sommarskog.se> wrote in message
> If you can afford to lose everything since the last full backup, you can
> run in simple recovery, VSphere or not. I don't know what your
> organisation
> you are in, but I doubt that all system owners would accept that solution.
I think therein lies the crux of the matter. In my humble view many Admins
seem to default to FULL backups with log file backups without considering
what the actual requirement are.
In many cases I would argue that where systems are only utilised
occasionally, say for example a bulliten board on a website which normally
has one posting a week, but has the potential of having say 10 postings or
more in one day.
Depending on the content of the Bulliten board, I would argue that even if I
lost the database on the day that 10 postings were made due to technical
errors, then I could easily do with losing the 10 postings, restoring to the
previous night and issuing a sincere apology on the website for the loss of
posts and asking anybody who posted to re-post their posts.
If on the other hand, I was taking online payments, I could see there is a
distinct argument for taking regular log file backups. However at the same
time, I would be worried that if there is a complete failure of the system,
I would not have the log files stored since the last full backup to tape,
and therefore would implement some way of the system recording all
transactions elsewhere by means of perhaps emailing each financial
transaction or I guess ensuring that such a transaction is recorded on a
remote system to allow me to at least contact all users if there is a system
failure and re-assure them that their transaction is being dealt with
regardless of the system being temporarily unavailable, or the loss of
transaction data once system is restored from tape.
In a banking environment, or on a website like ebay, it is much more
important to have the ability to restore to a specific point in time.
Any thoughts or further debate on this will be appreciated.
> I don't know exactly how VSphere does it, but backing up a database is
> more
> complex than just copying the MDF a file at a certain point. The risk is
> that when you restore the Vsphere image, that you get back transactionally
> inconsistent and corrupt database. There is certainly reason to test that
> the restore works as expected.
Of course its always worth testing to ensure a restore is possible and I
have certainly done this. In my case, since system availability is only
required during office hours, I can afford to shutdown the database and
entire server at midnight. Then have Vsphere backup the server in a shutdown
state and restart the server again.
Since the server is shut down normally, the log file is closed and MDF file
safe to backup. I do actually do a normal backup although I do wonder why,
as simply restoring the Virtuual server should be sufficient.
Out of interest, I originally did this for a Sharepoint server farm
environment for a company intranet. One SQL Server with two Web servers and
one application server all built in VM environment. In this instance we used
powershell to shut down all 4 virtual servers at midnight, then do backups
of the servers in shutdown state and restart the servers after backup.
Sharepoint does offer further backup solutions within the sharepoint, so it
seems silly to have the shrepoint guy run his backups, the sql guy run his
backups and the VM Admin backup, effectively creating three backups every
night.
regards
C